Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.104/2.104, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001348/0.001348, allocations: 171.2 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.38/2.38, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001035/0.001035, allocations: 91.84 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 16.66 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.191/7.413, allocations: 2.194 GB / 3.093 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/7.413, allocations: 94.44 kB / 3.094 GB, free: 247.3 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 2.628/10.04, allocations: 0.589 GB / 3.683 GB, free: 82.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.795e-06/10.04, allocations: 0 / 3.683 GB, free: 82.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001316/10.04, allocations: 24 kB / 3.683 GB, free: 82.73 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.007209/10.05, allocations: 1.676 MB / 3.684 GB, free: 81 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/10.05, allocations: 12.02 kB / 3.684 GB, free: 80.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/10.05, allocations: 335.2 kB / 3.685 GB, free: 80.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/10.05, allocations: 0.8535 MB / 3.685 GB, free: 79.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/10.05, allocations: 82.03 kB / 3.685 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/10.06, allocations: 107.8 kB / 3.686 GB, free: 79.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/10.06, allocations: 1.144 MB / 3.687 GB, free: 78.39 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/10.06, allocations: 0 / 3.687 GB, free: 78.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/10.06, allocations: 44 kB / 3.687 GB, free: 78.35 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/10.06, allocations: 62.09 kB / 3.687 GB, free: 78.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/10.06, allocations: 1.176 MB / 3.688 GB, free: 77.11 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.01077/10.07, allocations: 5.069 MB / 3.693 GB, free: 71.58 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/10.07, allocations: 0.9452 MB / 3.694 GB, free: 70.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/10.08, allocations: 0.5028 MB / 3.694 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/10.08, allocations: 20.78 kB / 3.694 GB, free: 70.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/10.08, allocations: 492.2 kB / 3.695 GB, free: 69.57 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 5.651e-06/10.08, allocations: 0 / 3.695 GB, free: 69.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.003201/10.08, allocations: 1.168 MB / 3.696 GB, free: 68.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/10.08, allocations: 68 kB / 3.696 GB, free: 68.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/10.08, allocations: 0.5783 MB / 3.697 GB, free: 67.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/10.08, allocations: 37.7 kB / 3.697 GB, free: 67.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/10.08, allocations: 467.6 kB / 3.697 GB, free: 67.22 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/10.08, allocations: 260.2 kB / 3.697 GB, free: 66.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/10.08, allocations: 16 kB / 3.697 GB, free: 66.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001607/10.08, allocations: 382.8 kB / 3.698 GB, free: 66.56 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/10.08, allocations: 329.8 kB / 3.698 GB, free: 66.24 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/10.08, allocations: 470.4 kB / 3.698 GB, free: 65.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/10.09, allocations: 399.1 kB / 3.699 GB, free: 65.34 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/10.09, allocations: 0 / 3.699 GB, free: 65.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002371/10.09, allocations: 0.9296 MB / 3.7 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/10.09, allocations: 9.969 kB / 3.7 GB, free: 64.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/10.09, allocations: 4 kB / 3.7 GB, free: 64.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/10.09, allocations: 7.984 kB / 3.7 GB, free: 64.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/10.09, allocations: 159.8 kB / 3.7 GB, free: 64.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/10.09, allocations: 7.938 kB / 3.7 GB, free: 64.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/10.09, allocations: 139.5 kB / 3.7 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/10.09, allocations: 31.98 kB / 3.7 GB, free: 64.05 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.0009224/10.09, allocations: 341.5 kB / 3.7 GB, free: 63.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/10.09, allocations: 75.16 kB / 3.7 GB, free: 63.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/10.09, allocations: 111.8 kB / 3.701 GB, free: 63.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/10.09, allocations: 8 kB / 3.701 GB, free: 63.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/10.09, allocations: 3.938 kB / 3.701 GB, free: 63.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001917/10.1, allocations: 1.085 MB / 3.702 GB, free: 62.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/10.1, allocations: 2.203 MB / 3.704 GB, free: 60.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/10.1, allocations: 4 kB / 3.704 GB, free: 60.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/10.1, allocations: 175.8 kB / 3.704 GB, free: 59.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/10.1, allocations: 0 / 3.704 GB, free: 59.89 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/10.1, allocations: 20 kB / 3.704 GB, free: 59.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/10.1, allocations: 7.938 kB / 3.704 GB, free: 59.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/10.1, allocations: 8.016 kB / 3.704 GB, free: 59.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/10.11, allocations: 1.487 MB / 3.705 GB, free: 58.35 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000896/10.11, allocations: 260 kB / 3.706 GB, free: 58.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/10.11, allocations: 16 kB / 3.706 GB, free: 58.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/10.11, allocations: 103.8 kB / 3.706 GB, free: 57.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/10.11, allocations: 44.53 kB / 3.706 GB, free: 57.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/10.11, allocations: 31.98 kB / 3.706 GB, free: 57.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007431/10.11, allocations: 415 kB / 3.706 GB, free: 57.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.6e-07/10.11, allocations: 4 kB / 3.706 GB, free: 57.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002169/10.11, allocations: 0.5107 MB / 3.707 GB, free: 56.97 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.002729/10.12, allocations: 1.601 MB / 3.708 GB, free: 55.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00203/10.12, allocations: 0.802 MB / 3.709 GB, free: 54.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/10.12, allocations: 4 kB / 3.709 GB, free: 54.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/10.12, allocations: 431.5 kB / 3.709 GB, free: 54.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00515/10.12, allocations: 0.5644 MB / 3.71 GB, free: 53.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/10.13, allocations: 2.709 MB / 3.713 GB, free: 50.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000757/10.13, allocations: 1.14 MB / 3.714 GB, free: 49.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001895/10.13, allocations: 279.1 kB / 3.714 GB, free: 49.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/10.13, allocations: 75.42 kB / 3.714 GB, free: 49.25 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/10.13, allocations: 0 / 3.714 GB, free: 49.25 MB / 0.8855 GB Notification: Performance of Templates: time 0.08184/10.21, allocations: 37.4 MB / 3.751 GB, free: 12.01 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)