Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7708/0.7708, 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.001063/0.001063, allocations: 180.1 kB / 187.2 MB, free: 11.88 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.304/1.304, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.001/0.001, allocations: 96.36 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 264.6 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.925e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3817, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.96/9.342, allocations: 4.399 GB / 5.163 GB, free: 95.96 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/9.342, allocations: 94.38 kB / 5.163 GB, free: 95.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.391/12.73, allocations: 0.9743 GB / 6.137 GB, free: 87.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/12.73, allocations: 0 / 6.137 GB, free: 87.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001624/12.73, allocations: 69.03 kB / 6.137 GB, free: 87.84 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01026/12.74, allocations: 3.296 MB / 6.141 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/12.74, allocations: 10.16 kB / 6.141 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004956/12.75, allocations: 0.7456 MB / 6.141 GB, free: 86.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/12.75, allocations: 1.974 MB / 6.143 GB, free: 86.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/12.75, allocations: 209.7 kB / 6.144 GB, free: 86.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006208/12.75, allocations: 267.1 kB / 6.144 GB, free: 86.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/12.76, allocations: 3.102 MB / 6.147 GB, free: 85.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.3e-05/12.76, allocations: 3.906 kB / 6.147 GB, free: 85.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/12.76, allocations: 115.1 kB / 6.147 GB, free: 85.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.584e-05/12.76, allocations: 119.3 kB / 6.147 GB, free: 85.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006407/12.77, allocations: 4.391 MB / 6.151 GB, free: 85.94 MB / 0.7136 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.016/12.78, allocations: 10.79 MB / 6.162 GB, free: 82.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005726/12.79, allocations: 4.775 MB / 6.167 GB, free: 81.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/12.79, allocations: 2.461 MB / 6.169 GB, free: 81.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009191/12.79, allocations: 0.8589 MB / 6.17 GB, free: 81.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/12.79, allocations: 79.66 kB / 6.17 GB, free: 80.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 5.721e-06/12.79, allocations: 2.312 kB / 6.17 GB, free: 80.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.007201/12.8, allocations: 4.004 MB / 6.174 GB, free: 80.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/12.8, allocations: 96.92 kB / 6.174 GB, free: 80.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/12.8, allocations: 1.096 MB / 6.175 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004344/12.8, allocations: 95.86 kB / 6.175 GB, free: 80.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/12.8, allocations: 0.8062 MB / 6.176 GB, free: 80.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/12.8, allocations: 1.328 MB / 6.177 GB, free: 79.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/12.8, allocations: 66.03 kB / 6.177 GB, free: 79.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001775/12.8, allocations: 447.1 kB / 6.178 GB, free: 78.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/12.81, allocations: 1.544 MB / 6.179 GB, free: 78.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/12.81, allocations: 1.86 MB / 6.181 GB, free: 78.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/12.81, allocations: 1.842 MB / 6.183 GB, free: 78.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/12.81, allocations: 0 / 6.183 GB, free: 78.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006/12.82, allocations: 4.07 MB / 6.187 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/12.82, allocations: 10.84 kB / 6.187 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/12.82, allocations: 3.844 kB / 6.187 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/12.82, allocations: 15.06 kB / 6.187 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/12.82, allocations: 0.6853 MB / 6.187 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.617e-05/12.82, allocations: 19.88 kB / 6.187 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/12.82, allocations: 369.7 kB / 6.188 GB, free: 78.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/12.82, allocations: 112.9 kB / 6.188 GB, free: 78.33 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0005808/12.82, allocations: 289.3 kB / 6.188 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/12.82, allocations: 236 kB / 6.188 GB, free: 78.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007677/12.83, allocations: 4.529 MB / 6.193 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/12.83, allocations: 40.69 kB / 6.193 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/12.83, allocations: 0 / 6.193 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006832/12.84, allocations: 3.846 MB / 6.197 GB, free: 77.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/12.85, allocations: 8.166 MB / 6.205 GB, free: 75.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/12.85, allocations: 0 / 6.205 GB, free: 75.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/12.86, allocations: 0.6687 MB / 6.205 GB, free: 75.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/12.86, allocations: 135.3 kB / 6.205 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/12.86, allocations: 85.94 kB / 6.205 GB, free: 75.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/12.86, allocations: 4.556 MB / 6.21 GB, free: 70.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/12.86, allocations: 0 / 6.21 GB, free: 70.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009466/12.87, allocations: 6.846 MB / 6.217 GB, free: 68.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/12.87, allocations: 0.7701 MB / 6.217 GB, free: 67.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/12.87, allocations: 60.34 kB / 6.217 GB, free: 67.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/12.87, allocations: 221.4 kB / 6.218 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/12.87, allocations: 224.1 kB / 6.218 GB, free: 67.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/12.88, allocations: 108.7 kB / 6.218 GB, free: 67.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001158/12.88, allocations: 0.864 MB / 6.219 GB, free: 67.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/12.88, allocations: 0 / 6.219 GB, free: 67.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00392/12.88, allocations: 1.304 MB / 6.22 GB, free: 66.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003337/12.88, allocations: 2.328 MB / 6.222 GB, free: 66.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005616/12.89, allocations: 3.931 MB / 6.226 GB, free: 64.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/12.89, allocations: 3.562 kB / 6.226 GB, free: 64.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003182/12.89, allocations: 2.501 MB / 6.229 GB, free: 61.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/12.9, allocations: 0.9659 MB / 6.23 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/12.91, allocations: 5.728 MB / 6.235 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/12.91, allocations: 1.982 MB / 6.237 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004048/12.91, allocations: 1.213 MB / 6.238 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009363/12.91, allocations: 241.9 kB / 6.239 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/12.91, allocations: 0 / 6.239 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.09702/13.01, allocations: 75.51 MB / 6.312 GB, free: 8.934 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)