Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 110 kB / 16.41 MB, free: 6.516 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.001128/0.001128, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 295.1 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.9369/0.9369, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5068, allocations: 86.98 MB / 0.767 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7786/1.285, allocations: 295.1 MB / 1.055 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02619/1.312, allocations: 17.01 MB / 1.072 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007418/1.319, allocations: 81.75 kB / 1.072 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006361/1.326, allocations: 1.895 MB / 1.074 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01961/1.345, allocations: 6.433 MB / 1.08 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01043/1.356, allocations: 2.938 MB / 1.083 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01256/1.368, allocations: 7.707 MB / 1.09 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005296/1.374, allocations: 2.604 MB / 1.093 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006638/1.38, allocations: 2.811 MB / 1.096 GB, free: 368 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005997/1.386, allocations: 2.702 MB / 1.098 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/1.388, allocations: 324 kB / 1.099 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0144/1.402, allocations: 6.163 MB / 1.105 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002279/1.404, allocations: 1.339 MB / 1.106 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00465/1.409, allocations: 1.878 MB / 1.108 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0166/1.426, allocations: 6.896 MB / 1.115 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.426, allocations: 0 / 1.115 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/1.426, allocations: 0 / 1.115 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001887/1.426, allocations: 0 / 1.115 GB, free: 14.55 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01397/1.44, allocations: 4.12 MB / 1.119 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.44, allocations: 12.03 kB / 1.119 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006996/1.447, allocations: 0.9212 MB / 1.12 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/1.451, allocations: 1.919 MB / 1.121 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/1.452, allocations: 197 kB / 1.122 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000806/1.452, allocations: 262.7 kB / 1.122 GB, free: 7.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008699/1.461, allocations: 3.336 MB / 1.125 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/1.461, allocations: 0 / 1.125 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000709/1.462, allocations: 106.5 kB / 1.125 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/1.462, allocations: 141 kB / 1.125 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00841/1.471, allocations: 3.498 MB / 1.129 GB, free: 15.89 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/1.493, allocations: 12.16 MB / 1.141 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006159/1.499, allocations: 3.503 MB / 1.144 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/1.503, allocations: 1.856 MB / 1.146 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/1.504, allocations: 1.486 MB / 1.147 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.954e-05/1.504, allocations: 72.67 kB / 1.147 GB, free: 11.67 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 5.49e-06/1.504, allocations: 0 / 1.147 GB, free: 11.67 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.009182/1.514, allocations: 3.889 MB / 1.151 GB, free: 7.727 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.514, allocations: 81.59 kB / 1.151 GB, free: 7.633 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/1.517, allocations: 1.372 MB / 1.153 GB, free: 6.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/1.517, allocations: 77.7 kB / 1.153 GB, free: 6.172 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/1.518, allocations: 0.9804 MB / 1.154 GB, free: 5.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.519, allocations: 0.9461 MB / 1.155 GB, free: 4.242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008037/1.52, allocations: 412.9 kB / 1.155 GB, free: 3.832 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002288/1.52, allocations: 305.1 kB / 1.155 GB, free: 3.531 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/1.522, allocations: 1.094 MB / 1.156 GB, free: 2.434 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/1.524, allocations: 1.358 MB / 1.158 GB, free: 1.008 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/1.529, allocations: 2.649 MB / 1.16 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.529, allocations: 4 kB / 1.16 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005566/1.534, allocations: 2.974 MB / 1.163 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.534, allocations: 8 kB / 1.163 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.534, allocations: 4 kB / 1.163 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.831e-05/1.534, allocations: 16.56 kB / 1.163 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.537, allocations: 0.5149 MB / 1.164 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.286e-05/1.537, allocations: 12 kB / 1.164 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.539, allocations: 189.9 kB / 1.164 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/1.539, allocations: 83.94 kB / 1.164 GB, free: 10.42 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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 0.001311/1.541, allocations: 0.6417 MB / 1.165 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/1.542, allocations: 233.2 kB / 1.165 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00586/1.547, allocations: 3.12 MB / 1.168 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004155/1.552, allocations: 2.653 MB / 1.17 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.552, allocations: 0 / 1.17 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.553, allocations: 0.6147 MB / 1.171 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005609/1.554, allocations: 51.94 kB / 1.171 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/1.556, allocations: 58.83 kB / 1.171 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/1.556, allocations: 169.9 kB / 1.171 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006841/1.563, allocations: 3.202 MB / 1.174 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007492/1.571, allocations: 4.826 MB / 1.179 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00206/1.573, allocations: 1.473 MB / 1.181 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001615/1.574, allocations: 0.9462 MB / 1.181 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of Backend: time 5.21e-07/1.574, allocations: 3.938 kB / 1.181 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008182/1.582, allocations: 2.965 MB / 1.184 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0135/1.596, allocations: 6.188 MB / 1.19 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.1071/1.703, allocations: 65.59 MB / 1.254 GB, free: 14.11 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)