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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8555/0.8555, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 178 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 426.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.3 kB / 0.4945 GB, free: 8.301 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00187/0.001869, allocations: 261.9 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005806/0.0005806, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5918, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.98/13.57, allocations: 4.611 GB / 5.35 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/13.57, allocations: 91.95 kB / 5.35 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.812/17.38, allocations: 0.9668 GB / 6.317 GB, free: 92.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.635e-06/17.38, allocations: 3 kB / 6.317 GB, free: 92.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003706/17.38, allocations: 63.69 kB / 6.317 GB, free: 92.56 MB / 0.698 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.01615/17.4, allocations: 3.649 MB / 6.321 GB, free: 91.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/17.4, allocations: 9.188 kB / 6.321 GB, free: 91.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005961/17.4, allocations: 0.7449 MB / 6.321 GB, free: 90.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/17.41, allocations: 2.022 MB / 6.323 GB, free: 90.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/17.41, allocations: 202.2 kB / 6.323 GB, free: 90.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/17.41, allocations: 269.9 kB / 6.324 GB, free: 90.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/17.42, allocations: 3.179 MB / 6.327 GB, free: 90.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/17.42, allocations: 10.72 kB / 6.327 GB, free: 90.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/17.43, allocations: 112.4 kB / 6.327 GB, free: 90.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/17.43, allocations: 121.1 kB / 6.327 GB, free: 90.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008486/17.43, allocations: 4.478 MB / 6.331 GB, free: 90.17 MB / 0.698 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.01921/17.45, allocations: 10.8 MB / 6.342 GB, free: 84.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/17.46, allocations: 4.832 MB / 6.347 GB, free: 82.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/17.46, allocations: 2.502 MB / 6.349 GB, free: 80.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009638/17.47, allocations: 0.8637 MB / 6.35 GB, free: 79.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/17.47, allocations: 73.7 kB / 6.35 GB, free: 79.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=399): time 5.861e-06/17.47, allocations: 2.906 kB / 6.35 GB, free: 79.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=399): time 0.01032/17.48, allocations: 6.034 MB / 6.356 GB, free: 73.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/17.48, allocations: 100.9 kB / 6.356 GB, free: 73.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/17.48, allocations: 1.208 MB / 6.357 GB, free: 72.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003347/17.48, allocations: 97.7 kB / 6.357 GB, free: 72.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005525/17.48, allocations: 0.8037 MB / 6.358 GB, free: 71.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/17.48, allocations: 1.332 MB / 6.359 GB, free: 70.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/17.48, allocations: 78 kB / 6.359 GB, free: 70.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002043/17.48, allocations: 438.9 kB / 6.36 GB, free: 70.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/17.48, allocations: 1.583 MB / 6.361 GB, free: 68.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/17.49, allocations: 1.904 MB / 6.363 GB, free: 67.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005901/17.49, allocations: 3.801 MB / 6.367 GB, free: 63.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/17.49, allocations: 7.938 kB / 6.367 GB, free: 63.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006441/17.5, allocations: 4.147 MB / 6.371 GB, free: 59.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/17.5, allocations: 11 kB / 6.371 GB, free: 59.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/17.5, allocations: 4 kB / 6.371 GB, free: 59.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.713e-05/17.5, allocations: 16 kB / 6.371 GB, free: 59.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/17.5, allocations: 0.6883 MB / 6.372 GB, free: 58.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-05/17.5, allocations: 16 kB / 6.372 GB, free: 58.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/17.5, allocations: 368.8 kB / 6.372 GB, free: 58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/17.5, allocations: 120 kB / 6.372 GB, free: 57.88 MB / 0.698 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.001772/17.51, allocations: 0.7273 MB / 6.373 GB, free: 57.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007175/17.51, allocations: 241.1 kB / 6.373 GB, free: 56.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006746/17.51, allocations: 4.591 MB / 6.378 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/17.51, allocations: 36 kB / 6.378 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/17.51, allocations: 4 kB / 6.378 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005148/17.52, allocations: 3.915 MB / 6.382 GB, free: 48.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/17.53, allocations: 8.253 MB / 6.39 GB, free: 40.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/17.53, allocations: 0 / 6.39 GB, free: 40.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/17.54, allocations: 0.6745 MB / 6.39 GB, free: 39.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005813/17.54, allocations: 134.5 kB / 6.39 GB, free: 39.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005457/17.54, allocations: 75.98 kB / 6.39 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/17.54, allocations: 4.564 MB / 6.395 GB, free: 34.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/17.54, allocations: 0 / 6.395 GB, free: 34.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/17.55, allocations: 6.971 MB / 6.402 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/17.55, allocations: 0.7586 MB / 6.402 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005366/17.55, allocations: 71.98 kB / 6.403 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/17.56, allocations: 216.1 kB / 6.403 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003976/17.56, allocations: 230.8 kB / 6.403 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/17.56, allocations: 108 kB / 6.403 GB, free: 25.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001156/17.56, allocations: 0.852 MB / 6.404 GB, free: 24.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/17.56, allocations: 0 / 6.404 GB, free: 24.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004086/17.56, allocations: 1.297 MB / 6.405 GB, free: 23.64 MB / 0.698 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.003737/17.56, allocations: 2.329 MB / 6.407 GB, free: 21.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005845/17.57, allocations: 4.004 MB / 6.411 GB, free: 17.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/17.57, allocations: 4 kB / 6.411 GB, free: 17.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/17.57, allocations: 2.537 MB / 6.414 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006445/17.58, allocations: 1.015 MB / 6.415 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/17.59, allocations: 7.851 MB / 6.422 GB, free: 6.363 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/17.59, allocations: 1.939 MB / 6.424 GB, free: 4.383 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004348/17.6, allocations: 1.218 MB / 6.426 GB, free: 3.188 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009327/17.6, allocations: 239.4 kB / 6.426 GB, free: 2.953 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/17.6, allocations: 0 / 6.426 GB, free: 2.953 MB / 0.698 GB Notification: Performance of Templates: time 0.6354/18.24, allocations: 70.28 MB / 6.494 GB, free: 103 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)