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.816/0.816, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001006/0.001006, allocations: 180.9 kB / 182.2 MB, free: 9.449 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.356/1.356, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.0008355/0.0008356, allocations: 84.16 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 275.9 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.61e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3835, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.983/9.366, allocations: 4.398 GB / 5.156 GB, free: 139.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/9.367, allocations: 87.83 kB / 5.156 GB, free: 139.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.399/12.77, allocations: 0.9644 GB / 6.12 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/12.77, allocations: 0 / 6.12 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001485/12.77, allocations: 66.89 kB / 6.12 GB, free: 95.89 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.01008/12.78, allocations: 3.303 MB / 6.123 GB, free: 95.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/12.78, allocations: 7.344 kB / 6.123 GB, free: 95.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/12.78, allocations: 0.752 MB / 6.124 GB, free: 94.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/12.78, allocations: 1.968 MB / 6.126 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/12.78, allocations: 88.78 kB / 6.126 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/12.79, allocations: 156.4 kB / 6.126 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005797/12.79, allocations: 4.129 MB / 6.13 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/12.8, allocations: 2.711 MB / 6.133 GB, free: 94.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/12.8, allocations: 14.66 kB / 6.133 GB, free: 94.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/12.8, allocations: 3.266 kB / 6.133 GB, free: 94.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-05/12.8, allocations: 119.8 kB / 6.133 GB, free: 94.39 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.01442/12.81, allocations: 10.34 MB / 6.143 GB, free: 90.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005365/12.82, allocations: 4.796 MB / 6.148 GB, free: 90.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/12.82, allocations: 2.333 MB / 6.15 GB, free: 90.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009373/12.82, allocations: 0.8561 MB / 6.151 GB, free: 89.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/12.82, allocations: 78.55 kB / 6.151 GB, free: 89.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 6.823e-06/12.82, allocations: 0 / 6.151 GB, free: 89.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.008527/12.83, allocations: 4.13 MB / 6.155 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/12.83, allocations: 91.8 kB / 6.155 GB, free: 89.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/12.83, allocations: 1.01 MB / 6.156 GB, free: 89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/12.83, allocations: 29.17 kB / 6.156 GB, free: 88.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005295/12.83, allocations: 0.7959 MB / 6.157 GB, free: 88.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/12.83, allocations: 1.277 MB / 6.158 GB, free: 87.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/12.83, allocations: 2.375 kB / 6.158 GB, free: 87.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002065/12.83, allocations: 448.9 kB / 6.159 GB, free: 87.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/12.83, allocations: 1.475 MB / 6.16 GB, free: 87.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/12.84, allocations: 1.765 MB / 6.162 GB, free: 87.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/12.84, allocations: 2.123 MB / 6.164 GB, free: 87.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/12.84, allocations: 3.781 kB / 6.164 GB, free: 87.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007354/12.85, allocations: 4.163 MB / 6.168 GB, free: 87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/12.85, allocations: 8.375 kB / 6.168 GB, free: 87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/12.85, allocations: 3.906 kB / 6.168 GB, free: 87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.16e-05/12.85, allocations: 14.44 kB / 6.168 GB, free: 87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/12.85, allocations: 0.6861 MB / 6.169 GB, free: 87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.816e-05/12.85, allocations: 22.88 kB / 6.169 GB, free: 87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/12.85, allocations: 295 kB / 6.169 GB, free: 86.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/12.85, allocations: 111.4 kB / 6.169 GB, free: 86.87 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.0005263/12.86, allocations: 161.1 kB / 6.169 GB, free: 86.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006895/12.86, allocations: 232.7 kB / 6.169 GB, free: 86.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008584/12.86, allocations: 4.558 MB / 6.174 GB, free: 86.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/12.86, allocations: 40.78 kB / 6.174 GB, free: 86.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/12.86, allocations: 0 / 6.174 GB, free: 86.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006585/12.87, allocations: 3.965 MB / 6.178 GB, free: 86.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/12.89, allocations: 7.927 MB / 6.185 GB, free: 85.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/12.89, allocations: 0 / 6.185 GB, free: 85.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/12.89, allocations: 0.6646 MB / 6.186 GB, free: 85.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/12.89, allocations: 137 kB / 6.186 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/12.89, allocations: 32.48 kB / 6.186 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/12.89, allocations: 4.366 MB / 6.19 GB, free: 81.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/12.89, allocations: 3.172 kB / 6.19 GB, free: 81.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/12.9, allocations: 6.903 MB / 6.197 GB, free: 81.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/12.91, allocations: 0.7635 MB / 6.198 GB, free: 81.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000701/12.91, allocations: 2.938 kB / 6.198 GB, free: 81.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002838/12.91, allocations: 153.2 kB / 6.198 GB, free: 81.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/12.91, allocations: 224.9 kB / 6.198 GB, free: 81.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002911/12.91, allocations: 111.3 kB / 6.198 GB, free: 81.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00131/12.91, allocations: 0.7898 MB / 6.199 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/12.91, allocations: 0 / 6.199 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004928/12.92, allocations: 1.13 MB / 6.2 GB, free: 80.86 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.003694/12.92, allocations: 2.535 MB / 6.203 GB, free: 80.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005382/12.93, allocations: 3.763 MB / 6.206 GB, free: 80.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/12.93, allocations: 0 / 6.206 GB, free: 80.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003078/12.93, allocations: 2.395 MB / 6.209 GB, free: 79.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005079/12.93, allocations: 0.8912 MB / 6.21 GB, free: 79.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/12.94, allocations: 5.544 MB / 6.215 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/12.95, allocations: 1.986 MB / 6.217 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004939/12.95, allocations: 1.219 MB / 6.218 GB, free: 77.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/12.95, allocations: 236 kB / 6.218 GB, free: 77.98 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/12.95, allocations: 3.688 kB / 6.218 GB, free: 77.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.0784/13.03, allocations: 54.3 MB / 6.271 GB, free: 66 MB / 0.7136 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)