Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 174.3 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009043/0.0009045, allocations: 92.25 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003848, allocations: 12.34 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.226, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.503/4.729, allocations: 2.194 GB / 3.095 GB, free: 24.65 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/4.729, allocations: 91.95 kB / 3.096 GB, free: 24.56 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 ‘useDefaultProperties and initial()‘. Notification: Performance of FrontEnd - DAE generated: time 1.895/6.624, allocations: 0.5892 GB / 3.685 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/6.624, allocations: 0 / 3.685 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.771e-05/6.624, allocations: 31.98 kB / 3.685 GB, free: 125.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004916/6.629, allocations: 1.67 MB / 3.686 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/6.629, allocations: 8.031 kB / 3.686 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/6.631, allocations: 335.2 kB / 3.687 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/6.633, allocations: 0.8919 MB / 3.688 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/6.633, allocations: 78.05 kB / 3.688 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/6.633, allocations: 104 kB / 3.688 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/6.635, allocations: 1.141 MB / 3.689 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/6.635, allocations: 3.984 kB / 3.689 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/6.635, allocations: 47.98 kB / 3.689 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/6.635, allocations: 58.11 kB / 3.689 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/6.637, allocations: 1.176 MB / 3.69 GB, free: 119.5 MB / 0.8855 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.005235/6.642, allocations: 5.062 MB / 3.695 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/6.643, allocations: 0.9507 MB / 3.696 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/6.644, allocations: 0.5047 MB / 3.697 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/6.644, allocations: 24.78 kB / 3.697 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005647/6.644, allocations: 492.4 kB / 3.697 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/6.644, allocations: 4 kB / 3.697 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.001582/6.646, allocations: 1.157 MB / 3.698 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/6.646, allocations: 71.94 kB / 3.698 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/6.646, allocations: 0.5822 MB / 3.699 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/6.647, allocations: 37.7 kB / 3.699 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/6.647, allocations: 463.6 kB / 3.699 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/6.647, allocations: 268.1 kB / 3.7 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/6.647, allocations: 16 kB / 3.7 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/6.647, allocations: 386.8 kB / 3.7 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/6.647, allocations: 329.8 kB / 3.7 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/6.648, allocations: 466.5 kB / 3.701 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/6.649, allocations: 0.8311 MB / 3.701 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/6.649, allocations: 4 kB / 3.701 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001053/6.65, allocations: 0.9218 MB / 3.702 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/6.65, allocations: 8 kB / 3.702 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/6.65, allocations: 8.328 kB / 3.702 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/6.65, allocations: 8 kB / 3.702 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/6.65, allocations: 151.8 kB / 3.703 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/6.65, allocations: 11.88 kB / 3.703 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009568/6.651, allocations: 135.3 kB / 3.703 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/6.651, allocations: 28 kB / 3.703 GB, free: 106 MB / 0.8855 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.0004201/6.652, allocations: 333.6 kB / 3.703 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/6.652, allocations: 83 kB / 3.703 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/6.652, allocations: 115.7 kB / 3.703 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/6.652, allocations: 12 kB / 3.703 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/6.652, allocations: 3.938 kB / 3.703 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009202/6.653, allocations: 1.091 MB / 3.704 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/6.656, allocations: 2.195 MB / 3.706 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/6.656, allocations: 0 / 3.706 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/6.656, allocations: 183.8 kB / 3.707 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/6.656, allocations: 4 kB / 3.707 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/6.656, allocations: 15.98 kB / 3.707 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/6.656, allocations: 4 kB / 3.707 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/6.656, allocations: 0 / 3.707 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/6.658, allocations: 1.491 MB / 3.708 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/6.658, allocations: 271.9 kB / 3.708 GB, free: 99.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/6.658, allocations: 16 kB / 3.708 GB, free: 99.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/6.659, allocations: 103.8 kB / 3.708 GB, free: 99.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/6.659, allocations: 40.59 kB / 3.708 GB, free: 99.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/6.659, allocations: 23.98 kB / 3.709 GB, free: 99.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003643/6.66, allocations: 415.1 kB / 3.709 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/6.66, allocations: 0 / 3.709 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001195/6.661, allocations: 0.5147 MB / 3.709 GB, free: 98.88 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.001809/6.663, allocations: 1.649 MB / 3.711 GB, free: 97.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009374/6.663, allocations: 0.8103 MB / 3.712 GB, free: 96.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/6.664, allocations: 0 / 3.712 GB, free: 96.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/6.664, allocations: 427.5 kB / 3.712 GB, free: 95.93 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/6.666, allocations: 0.5512 MB / 3.713 GB, free: 95.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/6.669, allocations: 2.701 MB / 3.715 GB, free: 92.65 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/6.67, allocations: 1.14 MB / 3.717 GB, free: 91.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009526/6.671, allocations: 279 kB / 3.717 GB, free: 91.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/6.671, allocations: 79.42 kB / 3.717 GB, free: 91.13 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/6.671, allocations: 4 kB / 3.717 GB, free: 91.12 MB / 0.8855 GB Notification: Performance of Templates: time 0.04397/6.715, allocations: 37.97 MB / 3.754 GB, free: 53.31 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)