Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007971/0.007972, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.00156/0.001561, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7781/0.7781, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 0.5813 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5388, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8952/1.434, allocations: 314.1 MB / 0.9664 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02644/1.46, allocations: 18.45 MB / 0.9845 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005136/1.466, allocations: 87.72 kB / 0.9845 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006323/1.472, allocations: 2.244 MB / 0.9867 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02344/1.496, allocations: 7.534 MB / 0.9941 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/1.507, allocations: 3.252 MB / 0.9973 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01195/1.519, allocations: 9.12 MB / 1.006 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005123/1.524, allocations: 3.118 MB / 1.009 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008097/1.532, allocations: 3.399 MB / 1.013 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006979/1.539, allocations: 3.25 MB / 1.016 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001418/1.54, allocations: 404 kB / 1.016 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01663/1.557, allocations: 7.029 MB / 1.023 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002598/1.56, allocations: 1.683 MB / 1.025 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005397/1.565, allocations: 2.311 MB / 1.027 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01988/1.585, allocations: 8.187 MB / 1.035 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/1.585, allocations: 0 / 1.035 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/1.585, allocations: 0 / 1.035 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002474/1.585, allocations: 0 / 1.035 GB, free: 10.51 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01409/1.599, allocations: 5.004 MB / 1.04 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.6, allocations: 12.02 kB / 1.04 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00677/1.606, allocations: 1.007 MB / 1.041 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/1.612, allocations: 2.251 MB / 1.043 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/1.612, allocations: 245.8 kB / 1.043 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005947/1.613, allocations: 323.7 kB / 1.043 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007432/1.62, allocations: 4.241 MB / 1.048 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.145e-05/1.62, allocations: 4 kB / 1.048 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/1.62, allocations: 131.4 kB / 1.048 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/1.621, allocations: 170.3 kB / 1.048 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008939/1.63, allocations: 4.776 MB / 1.053 GB, free: 8.242 MB / 0.7481 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.02471/1.654, allocations: 14.4 MB / 1.067 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/1.661, allocations: 4.547 MB / 1.071 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/1.665, allocations: 2.454 MB / 1.073 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/1.667, allocations: 1.614 MB / 1.075 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/1.667, allocations: 73.64 kB / 1.075 GB, free: 16 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 6.602e-06/1.667, allocations: 0 / 1.075 GB, free: 16 kB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.01069/1.678, allocations: 5.527 MB / 1.081 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/1.678, allocations: 94.42 kB / 1.081 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002889/1.681, allocations: 1.688 MB / 1.082 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000335/1.681, allocations: 93.7 kB / 1.082 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008727/1.682, allocations: 1.132 MB / 1.083 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/1.683, allocations: 1.319 MB / 1.085 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/1.684, allocations: 0.5546 MB / 1.085 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.684, allocations: 309.1 kB / 1.086 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/1.687, allocations: 1.556 MB / 1.087 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003173/1.69, allocations: 1.942 MB / 1.089 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006373/1.697, allocations: 3.766 MB / 1.093 GB, free: 13.78 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/1.697, allocations: 0 / 1.093 GB, free: 13.78 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007405/1.704, allocations: 4.165 MB / 1.097 GB, free: 9.586 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/1.704, allocations: 8 kB / 1.097 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.704, allocations: 7.984 kB / 1.097 GB, free: 9.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/1.704, allocations: 20 kB / 1.097 GB, free: 9.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/1.708, allocations: 0.7028 MB / 1.097 GB, free: 8.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.015e-05/1.708, allocations: 20 kB / 1.097 GB, free: 8.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/1.711, allocations: 257.9 kB / 1.098 GB, free: 8.574 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/1.711, allocations: 123.9 kB / 1.098 GB, free: 8.453 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.00188/1.713, allocations: 0.7937 MB / 1.099 GB, free: 7.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008994/1.714, allocations: 292.5 kB / 1.099 GB, free: 7.359 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007601/1.721, allocations: 4.409 MB / 1.103 GB, free: 2.914 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/1.721, allocations: 40 kB / 1.103 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.721, allocations: 0 / 1.103 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006265/1.728, allocations: 3.796 MB / 1.107 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.744, allocations: 8.635 MB / 1.115 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.745, allocations: 0 / 1.115 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/1.748, allocations: 0.7299 MB / 1.116 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.716e-05/1.748, allocations: 15.94 kB / 1.116 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/1.748, allocations: 83.98 kB / 1.116 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.072e-05/1.749, allocations: 23.92 kB / 1.116 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.749, allocations: 7.938 kB / 1.116 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.76, allocations: 6.829 MB / 1.123 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.762, allocations: 0.801 MB / 1.124 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000762/1.763, allocations: 72 kB / 1.124 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.766, allocations: 89.84 kB / 1.124 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/1.766, allocations: 230.6 kB / 1.124 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003295/1.767, allocations: 116 kB / 1.124 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002392/1.769, allocations: 1.153 MB / 1.125 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/1.769, allocations: 0 / 1.125 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003352/1.772, allocations: 1.228 MB / 1.126 GB, free: 10.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.001131/1.774, allocations: 456.7 kB / 1.127 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006619/1.78, allocations: 3.956 MB / 1.131 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.78, allocations: 0 / 1.131 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003289/1.784, allocations: 2.152 MB / 1.133 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007481/1.791, allocations: 1.599 MB / 1.134 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.803, allocations: 7.656 MB / 1.142 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.805, allocations: 2.205 MB / 1.144 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003825/1.809, allocations: 1.193 MB / 1.145 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.81, allocations: 267.4 kB / 1.145 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/1.81, allocations: 0 / 1.145 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of Templates: time 0.4424/2.252, allocations: 62.79 MB / 1.207 GB, free: 380 MB / 0.8887 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)