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.745/0.745, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 183 kB / 187.3 MB, free: 11.89 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.3/1.3, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008196/0.0008195, allocations: 95.06 kB / 0.5124 GB, free: 24.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 269.8 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.778e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.359, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.636/3.996, allocations: 1.894 GB / 2.659 GB, free: 113.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/3.996, allocations: 94.25 kB / 2.659 GB, free: 113.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.545/9.541, allocations: 1.751 GB / 4.409 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.213e-06/9.541, allocations: 0 / 4.409 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002824/9.541, allocations: 71.94 kB / 4.409 GB, free: 6.766 MB / 0.7761 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.01321/9.554, allocations: 3.54 MB / 4.413 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/9.555, allocations: 8.031 kB / 4.413 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007086/9.562, allocations: 0.9055 MB / 4.414 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/9.567, allocations: 1.871 MB / 4.416 GB, free: 328 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/9.567, allocations: 197.2 kB / 4.416 GB, free: 128 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.452/10.02, allocations: 266.4 kB / 4.416 GB, free: 78.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/10.03, allocations: 3.208 MB / 4.419 GB, free: 77.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.082e-05/10.03, allocations: 4.812 kB / 4.419 GB, free: 77.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/10.03, allocations: 109.1 kB / 4.419 GB, free: 77.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/10.03, allocations: 119.5 kB / 4.419 GB, free: 77.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006214/10.03, allocations: 3.31 MB / 4.423 GB, free: 77.9 MB / 0.7761 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.01616/10.05, allocations: 12.32 MB / 4.435 GB, free: 71.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/10.05, allocations: 3.287 MB / 4.438 GB, free: 71.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/10.06, allocations: 1.774 MB / 4.44 GB, free: 71.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/10.06, allocations: 1.487 MB / 4.441 GB, free: 69.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/10.06, allocations: 66.7 kB / 4.441 GB, free: 69.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=278): time 4.108e-06/10.06, allocations: 1.969 kB / 4.441 GB, free: 69.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=278): time 0.004368/10.06, allocations: 2.705 MB / 4.444 GB, free: 69.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/10.06, allocations: 83.5 kB / 4.444 GB, free: 69.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/10.06, allocations: 1.163 MB / 4.445 GB, free: 69.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002051/10.06, allocations: 79.14 kB / 4.445 GB, free: 69.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/10.06, allocations: 0.9749 MB / 4.446 GB, free: 68.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007069/10.06, allocations: 0.9431 MB / 4.447 GB, free: 68.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/10.06, allocations: 51.25 kB / 4.447 GB, free: 68.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001095/10.06, allocations: 400.4 kB / 4.447 GB, free: 68.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/10.07, allocations: 1.054 MB / 4.448 GB, free: 68.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/10.07, allocations: 1.38 MB / 4.45 GB, free: 67.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/10.07, allocations: 1.263 MB / 4.451 GB, free: 67.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/10.07, allocations: 1.531 kB / 4.451 GB, free: 67.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004207/10.07, allocations: 2.906 MB / 4.454 GB, free: 67.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/10.07, allocations: 7.062 kB / 4.454 GB, free: 67.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/10.07, allocations: 11.11 kB / 4.454 GB, free: 67.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/10.07, allocations: 17.44 kB / 4.454 GB, free: 67.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/10.08, allocations: 0.5188 MB / 4.454 GB, free: 67.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/10.08, allocations: 17.09 kB / 4.454 GB, free: 67.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/10.08, allocations: 329.8 kB / 4.455 GB, free: 67.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/10.08, allocations: 87.81 kB / 4.455 GB, free: 67.5 MB / 0.7761 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.0003982/10.08, allocations: 238.8 kB / 4.455 GB, free: 67.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/10.08, allocations: 233.6 kB / 4.455 GB, free: 67.28 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/10.08, allocations: 3.044 MB / 4.458 GB, free: 67.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/10.08, allocations: 28.55 kB / 4.458 GB, free: 67.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/10.08, allocations: 1.938 kB / 4.458 GB, free: 67.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003226/10.09, allocations: 2.58 MB / 4.461 GB, free: 66.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009038/10.1, allocations: 6.137 MB / 4.467 GB, free: 66.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/10.1, allocations: 2.297 kB / 4.467 GB, free: 66.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/10.1, allocations: 0.5564 MB / 4.467 GB, free: 66.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/10.1, allocations: 12.66 kB / 4.467 GB, free: 66.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/10.1, allocations: 66.39 kB / 4.467 GB, free: 66.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/10.1, allocations: 7.938 kB / 4.467 GB, free: 66.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/10.1, allocations: 0 / 4.467 GB, free: 66.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/10.11, allocations: 4.686 MB / 4.472 GB, free: 66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/10.11, allocations: 0.6167 MB / 4.472 GB, free: 65.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/10.11, allocations: 47.94 kB / 4.473 GB, free: 65.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/10.11, allocations: 221.7 kB / 4.473 GB, free: 65.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/10.11, allocations: 160.1 kB / 4.473 GB, free: 65.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/10.11, allocations: 76.97 kB / 4.473 GB, free: 65.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001204/10.11, allocations: 0.9081 MB / 4.474 GB, free: 65.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.71e-07/10.11, allocations: 0 / 4.474 GB, free: 65.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003769/10.12, allocations: 1.365 MB / 4.475 GB, free: 65.61 MB / 0.7761 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.005588/10.12, allocations: 4.314 MB / 4.479 GB, free: 63.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004153/10.12, allocations: 2.692 MB / 4.482 GB, free: 63.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/10.12, allocations: 5.062 kB / 4.482 GB, free: 63.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/10.13, allocations: 1.455 MB / 4.483 GB, free: 63.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005908/10.13, allocations: 1.25 MB / 4.485 GB, free: 63.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007475/10.14, allocations: 5.161 MB / 4.49 GB, free: 62.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/10.14, allocations: 1.941 MB / 4.492 GB, free: 61.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003167/10.14, allocations: 0.8411 MB / 4.492 GB, free: 61.74 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/10.15, allocations: 215.5 kB / 4.493 GB, free: 61.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.132e-06/10.15, allocations: 0 / 4.493 GB, free: 61.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.1335/10.28, allocations: 97.52 MB / 4.588 GB, free: 57.03 MB / 0.7761 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)