Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002335/0.002335, allocations: 288.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9466/0.9466, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 99.83 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5309, allocations: 86.98 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.003325/0.5343, allocations: 1.233 MB / 0.7683 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.5357, allocations: 0.7077 MB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.5357, allocations: 0 / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.5358, allocations: 0 / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.536, allocations: 7.938 kB / 0.769 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.5363, allocations: 91.69 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.5364, allocations: 7.938 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.5365, allocations: 11.98 kB / 0.7691 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.5366, allocations: 7.938 kB / 0.7691 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.5367, allocations: 11.98 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.5367, allocations: 0 / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.5371, allocations: 127.8 kB / 0.7692 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.5371, allocations: 4 kB / 0.7692 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.5371, allocations: 7.922 kB / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.5373, allocations: 83.53 kB / 0.7693 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5374, allocations: 0 / 0.7693 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5374, allocations: 4 kB / 0.7693 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.5374, allocations: 0 / 0.7693 GB, free: 1.668 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004295/0.5378, allocations: 327.6 kB / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5379, allocations: 8.031 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.5379, allocations: 12.78 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.5381, allocations: 164.4 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.5381, allocations: 384 / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.5381, allocations: 3.938 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.724e-05/0.5382, allocations: 33.7 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5382, allocations: 0 / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5382, allocations: 0 / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.5382, allocations: 0 / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.5383, allocations: 8 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.5385, allocations: 153.7 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.5385, allocations: 30.48 kB / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.5386, allocations: 8.922 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/0.539, allocations: 421.4 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5391, allocations: 30.56 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5391, allocations: 0 / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.5392, allocations: 41.69 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.5393, allocations: 55.34 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.5394, allocations: 102 kB / 0.7706 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.5394, allocations: 25.7 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.5395, allocations: 80.14 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.5395, allocations: 10.44 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.5395, allocations: 9.719 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5396, allocations: 318.8 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.5397, allocations: 4 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.5397, allocations: 0 / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.5397, allocations: 17.05 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5397, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.046e-05/0.5398, allocations: 45.58 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5398, allocations: 11.92 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5398, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5398, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.5399, allocations: 4 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5399, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.5399, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.54, allocations: 4 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.606e-05/0.54, allocations: 113.8 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.5401, allocations: 4 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.5402, allocations: 40.81 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5402, allocations: 0 / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5402, allocations: 4 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5402, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.5403, allocations: 153.6 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5403, allocations: 0 / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.5403, allocations: 7.938 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5404, allocations: 4.031 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.5404, allocations: 4 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5404, allocations: 0 / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5404, allocations: 0 / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.09e-05/0.5405, allocations: 76.89 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.5405, allocations: 77.11 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.5405, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.5406, allocations: 8.031 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.5406, allocations: 0 / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.5406, allocations: 4 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.5406, allocations: 87.27 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5406, allocations: 0 / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002364/0.5409, allocations: 23.94 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.5411, allocations: 123.2 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.235e-05/0.5412, allocations: 20.02 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5412, allocations: 0 / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-06/0.5412, allocations: 4 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.5414, allocations: 8.5 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.5417, allocations: 115.3 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.5419, allocations: 0.6767 MB / 0.7726 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.542, allocations: 11.44 kB / 0.7726 GB, free: 13.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.542, allocations: 0 / 0.7726 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Templates: time 0.002473/0.5445, allocations: 0.6904 MB / 0.7733 GB, free: 13.05 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)