Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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) 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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.578/1.578, allocations: 288.4 MB / 303.7 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009983/0.0009982, allocations: 175.2 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008495/0.0008494, allocations: 98.3 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 15.75 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.5419/0.7155, allocations: 199 MB / 1.174 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02622/0.7418, allocations: 20.12 MB / 1.194 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.7446, allocations: 40.41 kB / 1.194 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.7483, allocations: 0.9735 MB / 1.195 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.7587, allocations: 3.567 MB / 1.199 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.7626, allocations: 1.126 MB / 1.2 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009175/0.7718, allocations: 8.026 MB / 1.208 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/0.7753, allocations: 1.922 MB / 1.209 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.7798, allocations: 1.993 MB / 1.211 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004067/0.7839, allocations: 2.397 MB / 1.214 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007227/0.7846, allocations: 159.8 kB / 1.214 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007949/0.7926, allocations: 3.864 MB / 1.218 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.7945, allocations: 1.258 MB / 1.219 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.7971, allocations: 1.6 MB / 1.22 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005044/0.8021, allocations: 4.197 MB / 1.225 GB, free: 240 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8021, allocations: 0 / 1.225 GB, free: 240 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8022, allocations: 0 / 1.225 GB, free: 240 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.882e-05/0.8022, allocations: 4 kB / 1.225 GB, free: 236 kB / 0.7448 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.008112/0.8103, allocations: 3.446 MB / 1.228 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8104, allocations: 12.03 kB / 1.228 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/0.8151, allocations: 0.8237 MB / 1.229 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/0.8189, allocations: 1.867 MB / 1.231 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.8191, allocations: 209.3 kB / 1.231 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/0.8196, allocations: 268 kB / 1.231 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005372/0.825, allocations: 3.255 MB / 1.234 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.8251, allocations: 11.91 kB / 1.234 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.8253, allocations: 104 kB / 1.234 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.8255, allocations: 129.4 kB / 1.234 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006942/0.8324, allocations: 4.588 MB / 1.239 GB, free: 1.348 MB / 0.7605 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.01536/0.8478, allocations: 10.86 MB / 1.249 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006112/0.8539, allocations: 4.848 MB / 1.254 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/0.8574, allocations: 2.524 MB / 1.257 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009843/0.8584, allocations: 0.8642 MB / 1.258 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.8585, allocations: 73.7 kB / 1.258 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=399): time 5.19e-06/0.8585, allocations: 0 / 1.258 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=399): time 0.009291/0.8678, allocations: 5.995 MB / 1.263 GB, free: 7.203 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.8679, allocations: 98.48 kB / 1.264 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.8696, allocations: 1.208 MB / 1.265 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.87, allocations: 89.7 kB / 1.265 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/0.8706, allocations: 0.8094 MB / 1.266 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/0.872, allocations: 1.332 MB / 1.267 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.8722, allocations: 72 kB / 1.267 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.8724, allocations: 441.1 kB / 1.267 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.8748, allocations: 1.588 MB / 1.269 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.8775, allocations: 1.908 MB / 1.271 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/0.8837, allocations: 3.815 MB / 1.275 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.8837, allocations: 0 / 1.275 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00691/0.8907, allocations: 4.16 MB / 1.279 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.8907, allocations: 4 kB / 1.279 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.8907, allocations: 4 kB / 1.279 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/0.8908, allocations: 16 kB / 1.279 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.8937, allocations: 0.6904 MB / 1.279 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-05/0.8938, allocations: 20 kB / 1.279 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.8965, allocations: 367.2 kB / 1.28 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.8967, allocations: 112 kB / 1.28 GB, free: 6.293 MB / 0.8073 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.00142/0.8981, allocations: 0.7274 MB / 1.28 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.8987, allocations: 241.1 kB / 1.281 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007425/0.9062, allocations: 4.606 MB / 1.285 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.17e-05/0.9062, allocations: 43.98 kB / 1.285 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.9063, allocations: 0 / 1.285 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005989/0.9123, allocations: 3.938 MB / 1.289 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.9256, allocations: 8.241 MB / 1.297 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.9257, allocations: 3.938 kB / 1.297 GB, free: 4.289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003105/0.9288, allocations: 0.6632 MB / 1.298 GB, free: 3.625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.9294, allocations: 142.5 kB / 1.298 GB, free: 3.477 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005113/0.9299, allocations: 79.97 kB / 1.298 GB, free: 3.398 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.934, allocations: 4.564 MB / 1.302 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9341, allocations: 0 / 1.302 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.9456, allocations: 6.99 MB / 1.309 GB, free: 7.383 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/0.948, allocations: 0.7589 MB / 1.31 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/0.9485, allocations: 68 kB / 1.31 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/0.9508, allocations: 221.7 kB / 1.31 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/0.9512, allocations: 230.8 kB / 1.311 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/0.9515, allocations: 112 kB / 1.311 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001222/0.9527, allocations: 0.8405 MB / 1.311 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9527, allocations: 0 / 1.311 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002689/0.9554, allocations: 1.084 MB / 1.312 GB, free: 4.055 MB / 0.8386 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.0006377/0.9561, allocations: 334.4 kB / 1.313 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006111/0.9622, allocations: 4.023 MB / 1.317 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9622, allocations: 0.8125 kB / 1.317 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/0.966, allocations: 2.544 MB / 1.319 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/0.9712, allocations: 1.032 MB / 1.32 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.983, allocations: 7.839 MB / 1.328 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.9846, allocations: 1.935 MB / 1.33 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003976/0.9886, allocations: 1.219 MB / 1.331 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008689/0.9895, allocations: 235.4 kB / 1.331 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.9895, allocations: 4 kB / 1.331 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of Templates: time 0.07256/1.062, allocations: 44.35 MB / 1.375 GB, free: 4.793 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)