Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00924/0.00924, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001896/0.001896, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8247/0.8247, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00304/0.003041, allocations: 70.38 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1982, allocations: 80.92 MB / 0.6646 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7552/0.9534, allocations: 314.1 MB / 0.9714 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03407/0.9876, allocations: 18.43 MB / 0.9894 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007337/0.995, allocations: 91.5 kB / 0.9895 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009507/1.005, allocations: 2.246 MB / 0.9917 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02133/1.026, allocations: 7.522 MB / 0.999 GB, free: 8.305 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01169/1.038, allocations: 3.258 MB / 1.002 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01498/1.053, allocations: 9.104 MB / 1.011 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006184/1.059, allocations: 3.119 MB / 1.014 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009091/1.068, allocations: 3.403 MB / 1.017 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008259/1.076, allocations: 3.23 MB / 1.021 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002028/1.078, allocations: 400 kB / 1.021 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/1.098, allocations: 7.034 MB / 1.028 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003492/1.101, allocations: 1.699 MB / 1.03 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006275/1.107, allocations: 2.299 MB / 1.032 GB, free: 6.656 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02039/1.128, allocations: 8.193 MB / 1.04 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.128, allocations: 3.938 kB / 1.04 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.114e-06/1.128, allocations: 0 / 1.04 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002173/1.128, allocations: 4 kB / 1.04 GB, free: 14.43 MB / 0.8106 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.01675/1.145, allocations: 5 MB / 1.045 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/1.145, allocations: 9.109 kB / 1.045 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007268/1.152, allocations: 1.006 MB / 1.046 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005389/1.158, allocations: 2.244 MB / 1.048 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/1.158, allocations: 242.4 kB / 1.048 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006073/1.159, allocations: 339.8 kB / 1.048 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008942/1.167, allocations: 4.232 MB / 1.053 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.211e-05/1.168, allocations: 3.906 kB / 1.053 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/1.168, allocations: 139.9 kB / 1.053 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/1.168, allocations: 170.4 kB / 1.053 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4592/1.627, allocations: 4.764 MB / 1.057 GB, free: 308.4 MB / 0.8106 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.03025/1.658, allocations: 14.41 MB / 1.072 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/1.666, allocations: 4.541 MB / 1.076 GB, free: 297.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004374/1.67, allocations: 2.457 MB / 1.078 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/1.672, allocations: 1.606 MB / 1.08 GB, free: 294.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.511e-05/1.672, allocations: 80.42 kB / 1.08 GB, free: 294.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 7.214e-06/1.672, allocations: 0.6562 kB / 1.08 GB, free: 294.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.01166/1.683, allocations: 5.529 MB / 1.085 GB, free: 292.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/1.684, allocations: 97.78 kB / 1.086 GB, free: 292.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/1.687, allocations: 1.681 MB / 1.087 GB, free: 291.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0006122/1.688, allocations: 98.2 kB / 1.087 GB, free: 291.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008553/1.689, allocations: 1.134 MB / 1.088 GB, free: 290.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.691, allocations: 1.326 MB / 1.09 GB, free: 289.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/1.692, allocations: 0.5514 MB / 1.09 GB, free: 289.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/1.692, allocations: 303.9 kB / 1.09 GB, free: 288.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/1.695, allocations: 1.561 MB / 1.092 GB, free: 288.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/1.698, allocations: 1.939 MB / 1.094 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005749/1.704, allocations: 3.769 MB / 1.098 GB, free: 284.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/1.704, allocations: 1.125 kB / 1.098 GB, free: 284.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00761/1.711, allocations: 4.169 MB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/1.711, allocations: 10.72 kB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.711, allocations: 4.188 kB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-05/1.711, allocations: 19.09 kB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/1.714, allocations: 0.6996 MB / 1.102 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.122e-05/1.715, allocations: 25.66 kB / 1.102 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/1.718, allocations: 260.8 kB / 1.103 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/1.718, allocations: 120 kB / 1.103 GB, free: 282.5 MB / 0.8106 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.002087/1.721, allocations: 0.8023 MB / 1.104 GB, free: 281.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.722, allocations: 290.5 kB / 1.104 GB, free: 281.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007939/1.73, allocations: 4.412 MB / 1.108 GB, free: 277.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/1.73, allocations: 43.92 kB / 1.108 GB, free: 277.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.73, allocations: 3.938 kB / 1.108 GB, free: 277.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005225/1.735, allocations: 3.78 MB / 1.112 GB, free: 273.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/1.752, allocations: 8.613 MB / 1.12 GB, free: 265.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/1.752, allocations: 6.781 kB / 1.12 GB, free: 265.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00351/1.756, allocations: 0.7295 MB / 1.121 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.067e-05/1.756, allocations: 16 kB / 1.121 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005078/1.757, allocations: 83.97 kB / 1.121 GB, free: 264.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.174e-05/1.757, allocations: 19.94 kB / 1.121 GB, free: 264.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.757, allocations: 4 kB / 1.121 GB, free: 264.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009777/1.766, allocations: 6.839 MB / 1.128 GB, free: 257.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/1.768, allocations: 0.7933 MB / 1.129 GB, free: 256.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008119/1.769, allocations: 72 kB / 1.129 GB, free: 256.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.772, allocations: 85.84 kB / 1.129 GB, free: 256.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/1.772, allocations: 230.6 kB / 1.129 GB, free: 256.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/1.773, allocations: 119.9 kB / 1.129 GB, free: 256.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001822/1.775, allocations: 1.153 MB / 1.13 GB, free: 255 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/1.775, allocations: 3.938 kB / 1.13 GB, free: 255 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003278/1.778, allocations: 1.233 MB / 1.131 GB, free: 253.8 MB / 0.8106 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.001039/1.779, allocations: 472.5 kB / 1.132 GB, free: 253.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005654/1.785, allocations: 3.949 MB / 1.136 GB, free: 249.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.785, allocations: 0 / 1.136 GB, free: 249.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002793/1.787, allocations: 2.152 MB / 1.138 GB, free: 247.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008896/1.796, allocations: 1.6 MB / 1.139 GB, free: 245.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.812, allocations: 7.649 MB / 1.147 GB, free: 238.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/1.815, allocations: 2.209 MB / 1.149 GB, free: 236 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005336/1.82, allocations: 1.197 MB / 1.15 GB, free: 234.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.822, allocations: 271.4 kB / 1.15 GB, free: 234.5 MB / 0.8106 GB Notification: Performance of SimCode: time 8.72e-07/1.822, allocations: 0 / 1.15 GB, free: 234.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.08694/1.909, allocations: 62.8 MB / 1.212 GB, free: 172.3 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)