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.9223/0.9223, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001672/0.001672, allocations: 183.7 kB / 191.5 MB, free: 5.746 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.659/1.659, allocations: 223.2 MB / 447.7 MB, free: 4.773 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.001005/0.001005, allocations: 94.22 kB / 0.5188 GB, free: 1.133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 269 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004484, allocations: 11.66 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.89/12.1, allocations: 4.399 GB / 5.173 GB, free: 235.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/12.1, allocations: 92.03 kB / 5.173 GB, free: 235.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.518/15.61, allocations: 0.9753 GB / 6.148 GB, free: 64.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/15.61, allocations: 0 / 6.148 GB, free: 64.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001586/15.61, allocations: 60 kB / 6.148 GB, free: 64.88 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.01275/15.63, allocations: 3.686 MB / 6.152 GB, free: 61.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/15.63, allocations: 11.97 kB / 6.152 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005622/15.63, allocations: 0.7496 MB / 6.152 GB, free: 60.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005691/15.64, allocations: 1.989 MB / 6.154 GB, free: 58.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/15.64, allocations: 209.4 kB / 6.155 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007004/15.64, allocations: 271.9 kB / 6.155 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005695/15.65, allocations: 3.146 MB / 6.158 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.114e-05/15.65, allocations: 7.984 kB / 6.158 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/15.65, allocations: 108 kB / 6.158 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/15.65, allocations: 117.5 kB / 6.158 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006828/15.65, allocations: 4.483 MB / 6.162 GB, free: 49.95 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01622/15.67, allocations: 10.8 MB / 6.173 GB, free: 38.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005242/15.67, allocations: 4.836 MB / 6.178 GB, free: 33.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009181/15.68, allocations: 0.8566 MB / 6.179 GB, free: 32.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/15.68, allocations: 77.7 kB / 6.179 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 6.863e-06/15.68, allocations: 3.844 kB / 6.179 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.009512/15.68, allocations: 6.064 MB / 6.185 GB, free: 26.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/15.68, allocations: 90.55 kB / 6.185 GB, free: 26.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/15.69, allocations: 1.111 MB / 6.186 GB, free: 25.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003174/15.69, allocations: 93.7 kB / 6.186 GB, free: 25.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/15.69, allocations: 0.8056 MB / 6.187 GB, free: 24.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/15.69, allocations: 1.332 MB / 6.188 GB, free: 22.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/15.69, allocations: 64 kB / 6.188 GB, free: 22.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001818/15.69, allocations: 449 kB / 6.188 GB, free: 22.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/15.69, allocations: 1.584 MB / 6.19 GB, free: 20.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/15.69, allocations: 1.9 MB / 6.192 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/15.7, allocations: 1.878 MB / 6.194 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/15.7, allocations: 7.938 kB / 6.194 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005733/15.7, allocations: 4.16 MB / 6.198 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/15.7, allocations: 8.625 kB / 6.198 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/15.7, allocations: 4 kB / 6.198 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/15.7, allocations: 16.41 kB / 6.198 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/15.7, allocations: 0.6865 MB / 6.198 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/15.7, allocations: 16 kB / 6.198 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/15.71, allocations: 369.1 kB / 6.199 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/15.71, allocations: 112 kB / 6.199 GB, free: 11.58 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 () * Number of clocked 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.001726/15.71, allocations: 0.7317 MB / 6.2 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/15.71, allocations: 245 kB / 6.2 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006792/15.72, allocations: 4.611 MB / 6.204 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/15.72, allocations: 40 kB / 6.204 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/15.72, allocations: 7.953 kB / 6.204 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005437/15.72, allocations: 3.935 MB / 6.208 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/15.73, allocations: 3.313 MB / 6.211 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/15.73, allocations: 0 / 6.211 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/15.73, allocations: 0.6631 MB / 6.212 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/15.73, allocations: 138.5 kB / 6.212 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/15.73, allocations: 79.98 kB / 6.212 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/15.74, allocations: 4.573 MB / 6.217 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/15.74, allocations: 7.938 kB / 6.217 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/15.75, allocations: 6.976 MB / 6.224 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/15.75, allocations: 0.7628 MB / 6.224 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/15.75, allocations: 68 kB / 6.224 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/15.75, allocations: 215.6 kB / 6.225 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004869/15.75, allocations: 222.8 kB / 6.225 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/15.75, allocations: 112 kB / 6.225 GB, free: 264 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.5698/16.32, allocations: 0.8773 MB / 6.226 GB, free: 99.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.81e-07/16.32, allocations: 0 / 6.226 GB, free: 99.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006234/16.33, allocations: 1.302 MB / 6.227 GB, free: 99.15 MB / 0.7292 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 () * Number of clocked 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.004489/16.33, allocations: 2.308 MB / 6.229 GB, free: 98.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007927/16.34, allocations: 4.02 MB / 6.233 GB, free: 98.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/16.34, allocations: 1.531 kB / 6.233 GB, free: 98.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004912/16.35, allocations: 2.538 MB / 6.236 GB, free: 98.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/16.35, allocations: 0.9718 MB / 6.237 GB, free: 98.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/16.37, allocations: 7.845 MB / 6.244 GB, free: 95.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/16.37, allocations: 1.987 MB / 6.246 GB, free: 94.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004941/16.37, allocations: 1.215 MB / 6.247 GB, free: 94.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009443/16.38, allocations: 238.2 kB / 6.248 GB, free: 94.65 MB / 0.7292 GB Notification: Performance of SimCode: time 1.383e-06/16.38, allocations: 1.719 kB / 6.248 GB, free: 94.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.1103/16.49, allocations: 69.65 MB / 6.316 GB, free: 91.97 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)