Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000974/0.0009741, allocations: 96.42 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 174.8 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240.5 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6458/0.6458, allocations: 113.8 MB / 405.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 12.75 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4562/0.6084, allocations: 168.7 MB / 0.7216 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.6198, allocations: 6.522 MB / 0.728 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.6213, allocations: 31.81 kB / 0.728 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.6234, allocations: 0.6533 MB / 0.7287 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.6296, allocations: 2.088 MB / 0.7307 GB, free: 7.848 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37: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.002311/0.6319, allocations: 0.7793 MB / 0.7315 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.6348, allocations: 1.855 MB / 0.7333 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.6359, allocations: 0.8154 MB / 0.7341 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.6382, allocations: 1.149 MB / 0.7352 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009626/0.6391, allocations: 0.6539 MB / 0.7358 GB, free: 2.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.6393, allocations: 56 kB / 0.7359 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.6416, allocations: 0.8659 MB / 0.7367 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.642, allocations: 395 kB / 0.7371 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.6424, allocations: 293.1 kB / 0.7374 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.6442, allocations: 1.638 MB / 0.739 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6442, allocations: 0 / 0.739 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6442, allocations: 3.938 kB / 0.739 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.6443, allocations: 0 / 0.739 GB, free: 15.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003631/0.6479, allocations: 1.487 MB / 0.7404 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6479, allocations: 12.02 kB / 0.7404 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.65, allocations: 350.2 kB / 0.7408 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.6514, allocations: 0.816 MB / 0.7416 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.6515, allocations: 74.02 kB / 0.7416 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.6517, allocations: 104 kB / 0.7417 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.6534, allocations: 1.171 MB / 0.7429 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6535, allocations: 7.938 kB / 0.7429 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.6536, allocations: 43.98 kB / 0.7429 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/0.6537, allocations: 54.08 kB / 0.743 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.6554, allocations: 1.25 MB / 0.7442 GB, free: 9.848 MB / 0.5606 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.005808/0.6612, allocations: 5.07 MB / 0.7492 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.6626, allocations: 1.15 MB / 0.7503 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.795e-05/0.6626, allocations: 24.73 kB / 0.7503 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006587/0.6633, allocations: 488.2 kB / 0.7508 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 3.306e-06/0.6633, allocations: 0 / 0.7508 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.00188/0.6652, allocations: 1.157 MB / 0.7519 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.6653, allocations: 60.06 kB / 0.752 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.6659, allocations: 0.5782 MB / 0.7525 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.666, allocations: 45.7 kB / 0.7526 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.6663, allocations: 455.7 kB / 0.753 GB, free: 264 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.6665, allocations: 268.2 kB / 0.7533 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.6665, allocations: 12 kB / 0.7533 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6667, allocations: 386.8 kB / 0.7536 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.6671, allocations: 325.8 kB / 0.754 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.6677, allocations: 448.8 kB / 0.7544 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.6682, allocations: 403 kB / 0.7548 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6682, allocations: 3.938 kB / 0.7548 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001278/0.6695, allocations: 0.9296 MB / 0.7557 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6695, allocations: 8.344 kB / 0.7557 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6696, allocations: 8 kB / 0.7557 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.6696, allocations: 4 kB / 0.7557 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.6702, allocations: 155.8 kB / 0.7558 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.6703, allocations: 11.97 kB / 0.7559 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009818/0.6712, allocations: 159.2 kB / 0.756 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.6713, allocations: 24 kB / 0.756 GB, free: 13.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (91): * Single equations (assignments): 91 * 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.0005349/0.6718, allocations: 337.5 kB / 0.7564 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.672, allocations: 83.02 kB / 0.7564 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.6722, allocations: 107.8 kB / 0.7565 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.6722, allocations: 8 kB / 0.7565 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6722, allocations: 3.938 kB / 0.7565 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.6734, allocations: 1.085 MB / 0.7576 GB, free: 11.39 MB / 0.5762 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 postOpt removeSimpleEquations (simulation): time 0.003205/0.6766, allocations: 2.277 MB / 0.7598 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6766, allocations: 0 / 0.7598 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007963/0.6774, allocations: 175.8 kB / 0.76 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.6775, allocations: 0 / 0.76 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.6775, allocations: 23.94 kB / 0.76 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.6775, allocations: 11.97 kB / 0.76 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6775, allocations: 0 / 0.76 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6793, allocations: 1.36 MB / 0.7614 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.6799, allocations: 256 kB / 0.7616 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.68, allocations: 12 kB / 0.7616 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.6807, allocations: 105.6 kB / 0.7617 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.6808, allocations: 44.59 kB / 0.7618 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.6809, allocations: 27.98 kB / 0.7618 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004486/0.6813, allocations: 407.1 kB / 0.7622 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6813, allocations: 0 / 0.7622 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008536/0.6822, allocations: 367 kB / 0.7625 GB, free: 6.23 MB / 0.5762 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 (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.00028/0.6825, allocations: 179.8 kB / 0.7627 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.6836, allocations: 0.7941 MB / 0.7635 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6836, allocations: 0.6875 kB / 0.7635 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.6842, allocations: 427.5 kB / 0.7639 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.6865, allocations: 0.5483 MB / 0.7644 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.6899, allocations: 2.701 MB / 0.7671 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.6906, allocations: 1.163 MB / 0.7682 GB, free: 396 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009361/0.6915, allocations: 271.2 kB / 0.7684 GB, free: 120 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.6918, allocations: 79.42 kB / 0.7685 GB, free: 40 kB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.6918, allocations: 0 / 0.7685 GB, free: 40 kB / 0.5762 GB Notification: Performance of Templates: time 0.0273/0.7191, allocations: 17.54 MB / 0.7857 GB, free: 14.72 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)