Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json 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/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6031/0.6031, allocations: 95.47 MB / 364.9 MB, free: 10.06 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.91 kB / 444.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 69.06 MB / 0.5019 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4732/0.7184, allocations: 212.8 MB / 0.7097 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005968/0.7244, allocations: 3.185 MB / 0.7128 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.7257, allocations: 30.75 kB / 0.7129 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.7273, allocations: 484 kB / 0.7133 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006595/0.7339, allocations: 2.105 MB / 0.7154 GB, free: 3.27 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Airflow/Multizone/ZonalFlow_ACS.mo:30:3-36:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.7359, allocations: 0.7898 MB / 0.7162 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00255/0.7385, allocations: 2.307 MB / 0.7184 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.7393, allocations: 0.7313 MB / 0.7191 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.7419, allocations: 1.294 MB / 0.7204 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.7433, allocations: 0.8671 MB / 0.7212 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.7434, allocations: 98.31 kB / 0.7213 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.7476, allocations: 2.227 MB / 0.7235 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.7479, allocations: 404.8 kB / 0.7239 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007163/0.7487, allocations: 0.5457 MB / 0.7244 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.7522, allocations: 2.579 MB / 0.7269 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7522, allocations: 0 / 0.7269 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7522, allocations: 0 / 0.7269 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.7522, allocations: 0 / 0.7269 GB, free: 11.8 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002667/0.7549, allocations: 1.454 MB / 0.7284 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.755, allocations: 15.97 kB / 0.7284 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.7553, allocations: 106.8 kB / 0.7285 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.7566, allocations: 0.8729 MB / 0.7293 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.7567, allocations: 57.94 kB / 0.7294 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.7568, allocations: 67.98 kB / 0.7295 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.7582, allocations: 0.8771 MB / 0.7303 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.7582, allocations: 0 / 0.7303 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.7583, allocations: 32 kB / 0.7303 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.7583, allocations: 37.92 kB / 0.7304 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.7597, allocations: 0.894 MB / 0.7312 GB, free: 7.324 MB / 0.5137 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.004572/0.7643, allocations: 3.879 MB / 0.735 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008642/0.7652, allocations: 0.568 MB / 0.7356 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.7658, allocations: 422.4 kB / 0.736 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/0.7664, allocations: 0.703 MB / 0.7367 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/0.7671, allocations: 474.8 kB / 0.7371 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.415e-06/0.7671, allocations: 0 / 0.7371 GB, free: 0.8008 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: rooA.dynBal.medium.T 2: rooA.dynBal.medium.p 3: rooB.dynBal.medium.T 4: rooB.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=70): time 0.007651/0.7748, allocations: 3.386 MB / 0.7404 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.7748, allocations: 67.97 kB / 0.7405 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.7754, allocations: 0.498 MB / 0.741 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.7755, allocations: 37.7 kB / 0.741 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.7758, allocations: 332.4 kB / 0.7413 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.776, allocations: 249.8 kB / 0.7416 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.7762, allocations: 122.3 kB / 0.7417 GB, free: 12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.7764, allocations: 374.8 kB / 0.7421 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.7768, allocations: 305.2 kB / 0.7423 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.7774, allocations: 385.9 kB / 0.7427 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.7784, allocations: 0.7087 MB / 0.7434 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7784, allocations: 0 / 0.7434 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001293/0.7797, allocations: 0.8245 MB / 0.7442 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7797, allocations: 8 kB / 0.7442 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.7797, allocations: 3.938 kB / 0.7442 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7797, allocations: 4 kB / 0.7442 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.7804, allocations: 155.8 kB / 0.7444 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.7804, allocations: 4 kB / 0.7444 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.7809, allocations: 85.86 kB / 0.7445 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.781, allocations: 31.98 kB / 0.7445 GB, free: 9.078 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003326/0.7813, allocations: 270.2 kB / 0.7448 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.7815, allocations: 67.25 kB / 0.7448 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.7832, allocations: 0.9542 MB / 0.7457 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.7832, allocations: 4 kB / 0.7458 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.7832, allocations: 4 kB / 0.7458 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.7833, allocations: 3.984 kB / 0.7458 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.7861, allocations: 2.115 MB / 0.7478 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7861, allocations: 3.938 kB / 0.7478 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.7867, allocations: 139.9 kB / 0.748 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000866/0.7876, allocations: 176.4 kB / 0.7481 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.7876, allocations: 23.92 kB / 0.7482 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007455/0.7884, allocations: 1.148 MB / 0.7493 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7884, allocations: 48 / 0.7493 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.7903, allocations: 1.317 MB / 0.7506 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.7906, allocations: 240.3 kB / 0.7508 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7908, allocations: 19.98 kB / 0.7508 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.7914, allocations: 71.78 kB / 0.7509 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.7915, allocations: 52.47 kB / 0.7509 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.7916, allocations: 31.97 kB / 0.751 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004079/0.792, allocations: 366.8 kB / 0.7513 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.293e-06/0.792, allocations: 0 / 0.7513 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001246/0.7933, allocations: 499.6 kB / 0.7518 GB, free: 1.402 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009741/0.7943, allocations: 0.5269 MB / 0.7523 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.7959, allocations: 0.9037 MB / 0.7532 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7959, allocations: 0 / 0.7532 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007393/0.7967, allocations: 451.5 kB / 0.7536 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7987, allocations: 0.4894 MB / 0.7541 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.8019, allocations: 2.16 MB / 0.7562 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.8024, allocations: 1.026 MB / 0.7572 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007589/0.8032, allocations: 213.8 kB / 0.7574 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.8034, allocations: 75.41 kB / 0.7575 GB, free: 11.55 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.8034, allocations: 0 / 0.7575 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Templates: time 0.03377/0.8372, allocations: 22.77 MB / 0.7797 GB, free: 4.961 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)