Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.118/3.118, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001539/0.001539, allocations: 178.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.556/2.556, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001165/0.001164, allocations: 82.36 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006889/0.000689, allocations: 14.81 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2456, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.9598/1.205, allocations: 179.4 MB / 1.153 GB, free: 6.902 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03794/1.243, allocations: 17.89 MB / 1.171 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/1.247, allocations: 39.25 kB / 1.171 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005473/1.252, allocations: 1.116 MB / 1.172 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01618/1.268, allocations: 3.363 MB / 1.175 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007459/1.276, allocations: 1.46 MB / 1.177 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0103/1.286, allocations: 3.932 MB / 1.181 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/1.291, allocations: 1.739 MB / 1.182 GB, free: 356 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006031/1.297, allocations: 1.821 MB / 1.184 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004575/1.301, allocations: 1.642 MB / 1.186 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/1.303, allocations: 159.4 kB / 1.186 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008247/1.311, allocations: 1.684 MB / 1.187 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002769/1.314, allocations: 1.151 MB / 1.189 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002136/1.316, allocations: 0.6328 MB / 1.189 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008686/1.325, allocations: 3.81 MB / 1.193 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.325, allocations: 0 / 1.193 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.116e-06/1.325, allocations: 0 / 1.193 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001866/1.325, allocations: 0 / 1.193 GB, free: 10.23 MB / 0.7292 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.01493/1.34, allocations: 3.442 MB / 1.196 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.34, allocations: 11.05 kB / 1.196 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008087/1.348, allocations: 0.8269 MB / 1.197 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/1.355, allocations: 1.781 MB / 1.199 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/1.355, allocations: 201.9 kB / 1.199 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/1.356, allocations: 271.1 kB / 1.199 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/1.368, allocations: 3.242 MB / 1.202 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/1.368, allocations: 11.86 kB / 1.202 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008427/1.369, allocations: 112 kB / 1.203 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/1.37, allocations: 121.4 kB / 1.203 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/1.385, allocations: 4.596 MB / 1.207 GB, free: 14.92 MB / 0.7448 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.03171/1.417, allocations: 10.87 MB / 1.218 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/1.429, allocations: 4.84 MB / 1.222 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/1.431, allocations: 0.876 MB / 1.223 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/1.431, allocations: 77.64 kB / 1.223 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=399): time 7.404e-06/1.431, allocations: 0 / 1.223 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of matching and sorting (n=399): time 0.02108/1.453, allocations: 6.016 MB / 1.229 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/1.453, allocations: 94.55 kB / 1.229 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/1.456, allocations: 1.239 MB / 1.231 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008221/1.457, allocations: 97.7 kB / 1.231 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.458, allocations: 0.8017 MB / 1.231 GB, free: 5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002391/1.46, allocations: 1.332 MB / 1.233 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/1.461, allocations: 68 kB / 1.233 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004313/1.461, allocations: 441.1 kB / 1.233 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005243/1.466, allocations: 1.603 MB / 1.235 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005978/1.472, allocations: 1.9 MB / 1.237 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006166/1.479, allocations: 1.886 MB / 1.238 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/1.479, allocations: 0 / 1.238 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01451/1.493, allocations: 4.176 MB / 1.243 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/1.493, allocations: 4 kB / 1.243 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/1.493, allocations: 8 kB / 1.243 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-05/1.493, allocations: 20 kB / 1.243 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00655/1.5, allocations: 0.6749 MB / 1.243 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.589e-05/1.5, allocations: 23.92 kB / 1.243 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005604/1.506, allocations: 375.7 kB / 1.244 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008741/1.507, allocations: 116 kB / 1.244 GB, free: 8.277 MB / 0.7761 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.002822/1.509, allocations: 0.7235 MB / 1.244 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.511, allocations: 237.2 kB / 1.245 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/1.526, allocations: 4.626 MB / 1.249 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/1.526, allocations: 40 kB / 1.249 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.526, allocations: 0 / 1.249 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01276/1.539, allocations: 3.95 MB / 1.253 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/1.549, allocations: 3.336 MB / 1.256 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.291e-05/1.549, allocations: 0 / 1.256 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00667/1.555, allocations: 0.6749 MB / 1.257 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007936/1.556, allocations: 138.5 kB / 1.257 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008088/1.557, allocations: 79.98 kB / 1.257 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/1.563, allocations: 4.615 MB / 1.262 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.563, allocations: 0 / 1.262 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/1.584, allocations: 7.003 MB / 1.269 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003184/1.588, allocations: 0.7667 MB / 1.269 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.589, allocations: 68 kB / 1.269 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004853/1.593, allocations: 224.8 kB / 1.27 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/1.595, allocations: 226.8 kB / 1.27 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005366/1.595, allocations: 112 kB / 1.27 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002185/1.597, allocations: 0.8679 MB / 1.271 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.11e-07/1.597, allocations: 0 / 1.271 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005482/1.603, allocations: 1.096 MB / 1.272 GB, free: 10.84 MB / 0.8073 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.001522/1.605, allocations: 358.5 kB / 1.272 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.617, allocations: 4.031 MB / 1.276 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.617, allocations: 4 kB / 1.276 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007741/1.625, allocations: 2.556 MB / 1.279 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01345/1.638, allocations: 0.9623 MB / 1.28 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03263/1.671, allocations: 7.835 MB / 1.287 GB, free: 11.01 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004874/1.676, allocations: 1.981 MB / 1.289 GB, free: 8.992 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01138/1.687, allocations: 1.219 MB / 1.29 GB, free: 7.766 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002979/1.69, allocations: 239.4 kB / 1.291 GB, free: 7.535 MB / 0.823 GB Notification: Performance of SimCode: time 1.933e-06/1.69, allocations: 4 kB / 1.291 GB, free: 7.531 MB / 0.823 GB Notification: Performance of Templates: time 0.1912/1.881, allocations: 44.06 MB / 1.334 GB, free: 11.85 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)