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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8763/0.8763, allocations: 141.8 MB / 149.3 MB, free: 9.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 183.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 84.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.001691, allocations: 281 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.616e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3449, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.844/4.189, allocations: 1.894 GB / 2.651 GB, free: 125.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/4.189, allocations: 90.33 kB / 2.651 GB, free: 125.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.327/9.516, allocations: 1.733 GB / 4.384 GB, free: 21.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/9.516, allocations: 0 / 4.384 GB, free: 21.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001506/9.516, allocations: 71.92 kB / 4.384 GB, free: 21.5 MB / 0.7448 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.01008/9.526, allocations: 3.544 MB / 4.387 GB, free: 17.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/9.527, allocations: 12.03 kB / 4.387 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/9.532, allocations: 0.8977 MB / 4.388 GB, free: 16.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/9.536, allocations: 1.867 MB / 4.39 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/9.536, allocations: 83.95 kB / 4.39 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/9.536, allocations: 167.9 kB / 4.39 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004308/9.54, allocations: 2.985 MB / 4.393 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/9.544, allocations: 2.845 MB / 4.396 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/9.544, allocations: 8 kB / 4.396 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/9.545, allocations: 4 kB / 4.396 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.359e-05/9.545, allocations: 117.1 kB / 4.396 GB, free: 8.738 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.0122/9.557, allocations: 12.09 MB / 4.408 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/9.561, allocations: 3.773 MB / 4.412 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/9.563, allocations: 1.713 MB / 4.413 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/9.565, allocations: 1.497 MB / 4.415 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/9.565, allocations: 64.75 kB / 4.415 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=278): time 4.448e-06/9.565, allocations: 0 / 4.415 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of matching and sorting (n=278): time 0.005173/9.57, allocations: 2.812 MB / 4.417 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/9.57, allocations: 77.78 kB / 4.418 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/9.571, allocations: 1.007 MB / 4.419 GB, free: 268 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/9.572, allocations: 29.7 kB / 4.419 GB, free: 232 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.4585/10.03, allocations: 0.9819 MB / 4.42 GB, free: 70.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/10.03, allocations: 0.9074 MB / 4.42 GB, free: 69.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/10.03, allocations: 0 / 4.42 GB, free: 69.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001502/10.03, allocations: 402.3 kB / 4.421 GB, free: 69.31 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/10.03, allocations: 1.062 MB / 4.422 GB, free: 69.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/10.04, allocations: 1.367 MB / 4.423 GB, free: 69.03 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/10.04, allocations: 1.404 MB / 4.425 GB, free: 68.99 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/10.04, allocations: 2.594 kB / 4.425 GB, free: 68.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004844/10.04, allocations: 2.969 MB / 4.427 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/10.04, allocations: 7.344 kB / 4.427 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/10.04, allocations: 3.375 kB / 4.427 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/10.04, allocations: 13.88 kB / 4.427 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/10.05, allocations: 0.5323 MB / 4.428 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/10.05, allocations: 17.06 kB / 4.428 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/10.05, allocations: 278 kB / 4.428 GB, free: 68.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/10.05, allocations: 95.83 kB / 4.428 GB, free: 68.71 MB / 0.7605 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003656/10.05, allocations: 145.9 kB / 4.428 GB, free: 68.61 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/10.05, allocations: 223.9 kB / 4.429 GB, free: 68.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/10.05, allocations: 3.086 MB / 4.432 GB, free: 68.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/10.05, allocations: 26.62 kB / 4.432 GB, free: 68.32 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/10.05, allocations: 0 / 4.432 GB, free: 68.32 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003948/10.06, allocations: 2.7 MB / 4.434 GB, free: 68.08 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.00939/10.07, allocations: 6.296 MB / 4.441 GB, free: 67.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/10.07, allocations: 3.75 kB / 4.441 GB, free: 67.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/10.07, allocations: 0.5722 MB / 4.441 GB, free: 67.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/10.07, allocations: 9.594 kB / 4.441 GB, free: 67.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/10.07, allocations: 37.14 kB / 4.441 GB, free: 67.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/10.07, allocations: 9.25 kB / 4.441 GB, free: 67.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/10.07, allocations: 2.297 kB / 4.441 GB, free: 67.35 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00664/10.08, allocations: 4.845 MB / 4.446 GB, free: 66.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/10.08, allocations: 0.6193 MB / 4.446 GB, free: 66.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/10.08, allocations: 6.875 kB / 4.446 GB, free: 66.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/10.08, allocations: 184.7 kB / 4.447 GB, free: 66.75 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/10.08, allocations: 152.9 kB / 4.447 GB, free: 66.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/10.08, allocations: 91.16 kB / 4.447 GB, free: 66.75 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001032/10.08, allocations: 0.7715 MB / 4.448 GB, free: 66.64 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/10.08, allocations: 0 / 4.448 GB, free: 66.64 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002677/10.08, allocations: 1.168 MB / 4.449 GB, free: 66.58 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005332/10.09, allocations: 4.692 MB / 4.453 GB, free: 64.63 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003536/10.09, allocations: 2.701 MB / 4.456 GB, free: 64.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/10.09, allocations: 3.219 kB / 4.456 GB, free: 64.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/10.1, allocations: 1.466 MB / 4.457 GB, free: 64.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/10.1, allocations: 1.134 MB / 4.459 GB, free: 64.54 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007842/10.11, allocations: 5.081 MB / 4.464 GB, free: 63.53 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/10.11, allocations: 1.941 MB / 4.465 GB, free: 62.78 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002964/10.11, allocations: 0.8531 MB / 4.466 GB, free: 62.75 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007425/10.11, allocations: 221.5 kB / 4.466 GB, free: 62.75 MB / 0.7605 GB Notification: Performance of SimCode: time 4.1e-07/10.11, allocations: 0 / 4.466 GB, free: 62.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.08545/10.2, allocations: 63.74 MB / 4.529 GB, free: 59.02 MB / 0.7605 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)