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.0009841/0.0009843, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00835/0.008351, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.468/1.468, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.6322/0.6322, allocations: 95.64 MB / 366.4 MB, free: 10.32 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.0005984/0.0005984, allocations: 12 kB / 447.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3896, allocations: 70.33 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5729/0.9625, allocations: 210.7 MB / 0.7114 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.9684, allocations: 3.202 MB / 0.7145 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.9697, allocations: 25.59 kB / 0.7145 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.9711, allocations: 498.1 kB / 0.715 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005665/0.9768, allocations: 2.085 MB / 0.717 GB, free: 3.965 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.002001/0.9788, allocations: 0.7772 MB / 0.7178 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.9824, allocations: 3.42 MB / 0.7211 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.9834, allocations: 0.6083 MB / 0.7217 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.986, allocations: 1.141 MB / 0.7228 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.9878, allocations: 0.8055 MB / 0.7236 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.9879, allocations: 38.59 kB / 0.7237 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004371/0.9923, allocations: 2.451 MB / 0.7261 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.9927, allocations: 331.5 kB / 0.7264 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.9933, allocations: 0.5136 MB / 0.7269 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003728/0.997, allocations: 2.504 MB / 0.7293 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.997, allocations: 0 / 0.7293 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.997, allocations: 0 / 0.7293 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.9971, allocations: 0 / 0.7293 GB, free: 13.69 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.00254/0.9996, allocations: 1.261 MB / 0.7306 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.9997, allocations: 15.97 kB / 0.7306 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/1, allocations: 110.8 kB / 0.7307 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.001, allocations: 0.872 MB / 0.7315 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/1.001, allocations: 53.94 kB / 0.7316 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.002, allocations: 75.19 kB / 0.7317 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.003, allocations: 0.8771 MB / 0.7325 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.003, allocations: 0 / 0.7325 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/1.003, allocations: 32 kB / 0.7325 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/1.003, allocations: 33.98 kB / 0.7326 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.005, allocations: 0.894 MB / 0.7334 GB, free: 9.402 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.004829/1.009, allocations: 3.882 MB / 0.7372 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/1.01, allocations: 0.5672 MB / 0.7378 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/1.011, allocations: 426.4 kB / 0.7382 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006509/1.012, allocations: 0.6996 MB / 0.7389 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007503/1.012, allocations: 474.8 kB / 0.7393 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.104e-06/1.012, allocations: 0 / 0.7393 GB, free: 2.879 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.00802/1.02, allocations: 3.429 MB / 0.7427 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.021, allocations: 59.97 kB / 0.7427 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/1.021, allocations: 0.5019 MB / 0.7432 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.021, allocations: 41.7 kB / 0.7433 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/1.021, allocations: 335.7 kB / 0.7436 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.022, allocations: 257.6 kB / 0.7438 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/1.022, allocations: 57.69 kB / 0.7439 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.022, allocations: 374.8 kB / 0.7442 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/1.022, allocations: 301.2 kB / 0.7445 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/1.023, allocations: 385.9 kB / 0.7449 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/1.024, allocations: 0.7126 MB / 0.7456 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.024, allocations: 0 / 0.7456 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001254/1.025, allocations: 0.8285 MB / 0.7464 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.025, allocations: 4 kB / 0.7464 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.025, allocations: 7.938 kB / 0.7464 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.025, allocations: 4 kB / 0.7464 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/1.026, allocations: 147.7 kB / 0.7466 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.026, allocations: 4 kB / 0.7466 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/1.027, allocations: 83.92 kB / 0.7466 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/1.027, allocations: 31.98 kB / 0.7467 GB, free: 11.17 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.0003701/1.027, allocations: 266.3 kB / 0.7469 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.027, allocations: 67.25 kB / 0.747 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/1.029, allocations: 0.9542 MB / 0.7479 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.029, allocations: 8 kB / 0.7479 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.029, allocations: 0 / 0.7479 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.029, allocations: 3.984 kB / 0.7479 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/1.032, allocations: 2.111 MB / 0.75 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.032, allocations: 8.016 kB / 0.75 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/1.033, allocations: 143.8 kB / 0.7501 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/1.033, allocations: 165.5 kB / 0.7503 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/1.033, allocations: 31.92 kB / 0.7503 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008711/1.034, allocations: 1.151 MB / 0.7515 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.034, allocations: 0 / 0.7515 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/1.036, allocations: 1.317 MB / 0.7527 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/1.037, allocations: 248.3 kB / 0.753 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/1.037, allocations: 19.98 kB / 0.753 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/1.037, allocations: 71.78 kB / 0.7531 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.038, allocations: 60.47 kB / 0.7531 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/1.038, allocations: 31.97 kB / 0.7532 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004074/1.038, allocations: 358.8 kB / 0.7535 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/1.038, allocations: 0 / 0.7535 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001302/1.039, allocations: 495.6 kB / 0.754 GB, free: 3.488 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.001032/1.04, allocations: 0.5263 MB / 0.7545 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001252/1.042, allocations: 0.7356 MB / 0.7552 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.042, allocations: 0 / 0.7552 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007401/1.042, allocations: 447.5 kB / 0.7556 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.045, allocations: 480.4 kB / 0.7561 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/1.048, allocations: 2.287 MB / 0.7583 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/1.048, allocations: 1.014 MB / 0.7593 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008004/1.049, allocations: 221.7 kB / 0.7595 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/1.05, allocations: 75.42 kB / 0.7596 GB, free: 13.69 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/1.05, allocations: 0 / 0.7596 GB, free: 13.69 MB / 0.545 GB Notification: Performance of Templates: time 0.04949/1.099, allocations: 21.93 MB / 0.781 GB, free: 7.918 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: