Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8336/0.8336, 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.00122/0.00122, allocations: 183.6 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.708/1.708, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.001006/0.001006, allocations: 101.7 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002255/0.002255, allocations: 276.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.55e-05/5.561e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5055, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.286/5.792, allocations: 1.897 GB / 2.662 GB, free: 113.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/5.792, allocations: 86.45 kB / 2.662 GB, free: 113.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.186/13.98, allocations: 1.966 GB / 4.628 GB, free: 60.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.934e-06/13.98, allocations: 3.625 kB / 4.628 GB, free: 60.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003043/13.98, allocations: 89.53 kB / 4.628 GB, free: 60.9 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01776/14, allocations: 4.28 MB / 4.633 GB, free: 59.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/14, allocations: 10.69 kB / 4.633 GB, free: 59.06 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001986/14, allocations: 458.9 kB / 4.633 GB, free: 59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008432/14.01, allocations: 0.9869 MB / 4.634 GB, free: 58.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006968/14.01, allocations: 2.198 MB / 4.636 GB, free: 58.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/14.01, allocations: 247.7 kB / 4.636 GB, free: 58.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/14.02, allocations: 339.1 kB / 4.637 GB, free: 58.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/14.03, allocations: 4.07 MB / 4.641 GB, free: 57.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/14.03, allocations: 10.94 kB / 4.641 GB, free: 57.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009536/14.03, allocations: 135.3 kB / 4.641 GB, free: 57.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/14.03, allocations: 152.2 kB / 4.641 GB, free: 57.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008796/14.04, allocations: 4.53 MB / 4.645 GB, free: 57.79 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.02873/14.07, allocations: 14.68 MB / 4.66 GB, free: 50.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007015/14.07, allocations: 4.267 MB / 4.664 GB, free: 48.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/14.08, allocations: 2.387 MB / 4.666 GB, free: 48.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/14.08, allocations: 1.612 MB / 4.668 GB, free: 46.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/14.08, allocations: 77.61 kB / 4.668 GB, free: 46.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=392): time 5.841e-06/14.08, allocations: 3.938 kB / 4.668 GB, free: 46.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=392): time 0.009028/14.09, allocations: 3.841 MB / 4.672 GB, free: 43.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/14.09, allocations: 94.48 kB / 4.672 GB, free: 43.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/14.09, allocations: 1.426 MB / 4.673 GB, free: 41.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006836/14.09, allocations: 99.62 kB / 4.673 GB, free: 41.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/14.09, allocations: 1.132 MB / 4.674 GB, free: 40.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/14.1, allocations: 1.323 MB / 4.676 GB, free: 39.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/14.1, allocations: 72 kB / 4.676 GB, free: 39.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004509/14.1, allocations: 432.7 kB / 4.676 GB, free: 39.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/14.1, allocations: 1.51 MB / 4.678 GB, free: 37.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/14.1, allocations: 1.925 MB / 4.679 GB, free: 35.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/14.11, allocations: 1.808 MB / 4.681 GB, free: 34.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/14.11, allocations: 2.375 kB / 4.681 GB, free: 34.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009244/14.12, allocations: 4.066 MB / 4.685 GB, free: 30.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/14.12, allocations: 11.19 kB / 4.685 GB, free: 30.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/14.12, allocations: 4 kB / 4.685 GB, free: 30.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.442e-05/14.12, allocations: 20 kB / 4.685 GB, free: 30.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/14.12, allocations: 0.6995 MB / 4.686 GB, free: 29.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001127/14.12, allocations: 27.94 kB / 4.686 GB, free: 29.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005061/14.13, allocations: 436.3 kB / 4.686 GB, free: 29.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007293/14.13, allocations: 119.8 kB / 4.687 GB, free: 29.41 MB / 0.7761 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001863/14.13, allocations: 288.3 kB / 4.687 GB, free: 29.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/14.13, allocations: 284.6 kB / 4.687 GB, free: 28.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009829/14.14, allocations: 4.342 MB / 4.691 GB, free: 25.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/14.14, allocations: 36 kB / 4.691 GB, free: 25.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/14.14, allocations: 0 / 4.691 GB, free: 25.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007125/14.15, allocations: 3.69 MB / 4.695 GB, free: 21.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/14.16, allocations: 8.546 MB / 4.703 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/14.16, allocations: 0 / 4.703 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/14.17, allocations: 0.7415 MB / 4.704 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-05/14.17, allocations: 20 kB / 4.704 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004976/14.17, allocations: 91.91 kB / 4.704 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.939e-05/14.17, allocations: 15.98 kB / 4.704 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/14.17, allocations: 4 kB / 4.704 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/14.18, allocations: 6.836 MB / 4.711 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/14.18, allocations: 0.7972 MB / 4.712 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/14.18, allocations: 79.98 kB / 4.712 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003925/14.19, allocations: 263.5 kB / 4.712 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005862/14.19, allocations: 230.8 kB / 4.712 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004652/14.19, allocations: 120 kB / 4.712 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002644/14.19, allocations: 1.11 MB / 4.713 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.71e-07/14.19, allocations: 0 / 4.713 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.009165/14.2, allocations: 1.666 MB / 4.715 GB, free: 2.258 MB / 0.7761 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 () * 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 (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.02394/14.22, allocations: 13.05 MB / 4.728 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009086/14.23, allocations: 3.831 MB / 4.731 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/14.23, allocations: 4 kB / 4.731 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.5809/14.81, allocations: 2.06 MB / 4.733 GB, free: 84.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01008/14.82, allocations: 1.478 MB / 4.735 GB, free: 84.77 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/14.84, allocations: 7.486 MB / 4.742 GB, free: 83.43 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/14.84, allocations: 2.263 MB / 4.744 GB, free: 82.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005215/14.85, allocations: 1.211 MB / 4.746 GB, free: 82.62 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003015/14.85, allocations: 1.384 MB / 4.747 GB, free: 82.62 MB / 0.7917 GB Notification: Performance of SimCode: time 2.785e-06/14.85, allocations: 0 / 4.747 GB, free: 82.62 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/15.11, allocations: 156.9 MB / 4.9 GB, free: 69.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/15.11, allocations: 200.9 kB / 4.9 GB, free: 69.48 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/22.73, allocations: 0 / 4.9 GB, free: 69.48 MB / 0.7917 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)