Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009177/0.009178, allocations: 170.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8064/0.8064, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 403.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009674, allocations: 106.8 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004197, allocations: 8 kB / 0.5641 GB, free: 2.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4937, allocations: 81.58 MB / 0.6437 GB, free: 39.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.918/5.412, allocations: 1.885 GB / 2.529 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/5.412, allocations: 87.95 kB / 2.529 GB, free: 118.8 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that 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.283/7.695, allocations: 0.6129 GB / 3.141 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.275e-06/7.695, allocations: 7.938 kB / 3.141 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001477/7.695, allocations: 20 kB / 3.141 GB, free: 20.33 MB / 0.6823 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.006858/7.702, allocations: 1.676 MB / 3.143 GB, free: 18.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/7.702, allocations: 12.02 kB / 3.143 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/7.705, allocations: 334.2 kB / 3.143 GB, free: 18.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/7.707, allocations: 0.8627 MB / 3.144 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/7.707, allocations: 78.02 kB / 3.144 GB, free: 17.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/7.708, allocations: 112 kB / 3.144 GB, free: 17.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/7.71, allocations: 1.105 MB / 3.146 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/7.71, allocations: 0 / 3.146 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/7.711, allocations: 47.98 kB / 3.146 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/7.711, allocations: 62 kB / 3.146 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/7.713, allocations: 1.168 MB / 3.147 GB, free: 14.75 MB / 0.6823 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.007329/7.72, allocations: 5.038 MB / 3.152 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/7.721, allocations: 0.9606 MB / 3.153 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/7.721, allocations: 16.78 kB / 3.153 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007147/7.722, allocations: 488.2 kB / 3.153 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 4.067e-06/7.722, allocations: 7.938 kB / 3.153 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001955/7.724, allocations: 1.172 MB / 3.154 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/7.724, allocations: 64.06 kB / 3.154 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/7.725, allocations: 0.5072 MB / 3.155 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/7.725, allocations: 37.7 kB / 3.155 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/7.725, allocations: 463.6 kB / 3.155 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/7.726, allocations: 268.1 kB / 3.156 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/7.726, allocations: 12 kB / 3.156 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002231/7.726, allocations: 390.8 kB / 3.156 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/7.726, allocations: 337.8 kB / 3.156 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/7.727, allocations: 466.4 kB / 3.157 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/7.728, allocations: 403.1 kB / 3.157 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/7.728, allocations: 4.031 kB / 3.157 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001602/7.729, allocations: 0.9374 MB / 3.158 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/7.729, allocations: 4.938 kB / 3.158 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/7.729, allocations: 4 kB / 3.158 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/7.729, allocations: 11.98 kB / 3.158 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/7.73, allocations: 156.1 kB / 3.158 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/7.73, allocations: 12 kB / 3.158 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/7.732, allocations: 127.3 kB / 3.158 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/7.732, allocations: 27.98 kB / 3.158 GB, free: 2.289 MB / 0.6823 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.0009369/7.733, allocations: 329.5 kB / 3.159 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/7.733, allocations: 83.06 kB / 3.159 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/7.733, allocations: 111.7 kB / 3.159 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/7.733, allocations: 8 kB / 3.159 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/7.733, allocations: 3.953 kB / 3.159 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/7.735, allocations: 1.101 MB / 3.16 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5246/8.259, allocations: 2.16 MB / 3.162 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/8.259, allocations: 0 / 3.162 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/8.26, allocations: 174 kB / 3.162 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/8.26, allocations: 3.531 kB / 3.162 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/8.26, allocations: 16.28 kB / 3.162 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/8.26, allocations: 6.344 kB / 3.162 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/8.26, allocations: 5.781 kB / 3.162 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/8.263, allocations: 1.522 MB / 3.164 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007544/8.264, allocations: 255.6 kB / 3.164 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/8.264, allocations: 20.39 kB / 3.164 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/8.265, allocations: 101.6 kB / 3.164 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/8.265, allocations: 42.23 kB / 3.164 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/8.265, allocations: 26.92 kB / 3.164 GB, free: 115 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007225/8.266, allocations: 410.4 kB / 3.165 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.452e-06/8.266, allocations: 0 / 3.165 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002011/8.268, allocations: 0.5108 MB / 3.165 GB, free: 114.9 MB / 0.6823 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.002606/8.271, allocations: 1.603 MB / 3.167 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001647/8.272, allocations: 0.813 MB / 3.167 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/8.272, allocations: 1.469 kB / 3.167 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/8.273, allocations: 432.4 kB / 3.168 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/8.276, allocations: 0.559 MB / 3.168 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/8.279, allocations: 2.685 MB / 3.171 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/8.28, allocations: 1.16 MB / 3.172 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001186/8.281, allocations: 279.6 kB / 3.172 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/8.281, allocations: 76.77 kB / 3.172 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/8.281, allocations: 3.281 kB / 3.172 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.06211/8.343, allocations: 37.12 MB / 3.209 GB, free: 111.8 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)