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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5939/0.5939, allocations: 95.62 MB / 110.6 MB, free: 9.387 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001192/0.001192, allocations: 168.2 kB / 134.2 MB, free: 2.273 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.401/1.401, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001873/0.001873, allocations: 103.3 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.000439, allocations: 19.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.11/13.24, allocations: 5.259 GB / 5.771 GB, free: 51.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/13.24, allocations: 87.33 kB / 5.771 GB, free: 51.86 MB / 0.5261 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: 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 1.735/14.98, allocations: 402.6 MB / 6.164 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/14.98, allocations: 0 / 6.164 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.807e-05/14.98, allocations: 16 kB / 6.164 GB, free: 61.72 MB / 0.5261 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.005413/14.98, allocations: 1.704 MB / 6.166 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/14.98, allocations: 11.98 kB / 6.166 GB, free: 59.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/14.98, allocations: 111.5 kB / 6.166 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05251/15.03, allocations: 26.91 MB / 6.192 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/15.03, allocations: 50 kB / 6.192 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/15.03, allocations: 83.91 kB / 6.192 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/15.04, allocations: 0.8273 MB / 6.193 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/15.04, allocations: 3.984 kB / 6.193 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/15.04, allocations: 24 kB / 6.193 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/15.04, allocations: 41.98 kB / 6.193 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/15.04, allocations: 0.8472 MB / 6.194 GB, free: 30.75 MB / 0.5261 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.004915/15.04, allocations: 2.921 MB / 6.197 GB, free: 27.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008017/15.04, allocations: 0.5697 MB / 6.197 GB, free: 27.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/15.04, allocations: 198.7 kB / 6.197 GB, free: 26.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006758/15.04, allocations: 462.9 kB / 6.198 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 3.336e-06/15.04, allocations: 3.938 kB / 6.198 GB, free: 26.41 MB / 0.5261 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.Xi[1] 2: rooA.dynBal.medium.T 3: rooA.dynBal.medium.p 4: rooB.dynBal.medium.Xi[1] 5: rooB.dynBal.medium.T 6: rooB.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=68): time 0.00541/15.05, allocations: 1.912 MB / 6.2 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/15.05, allocations: 63.97 kB / 6.2 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/15.05, allocations: 485.3 kB / 6.2 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/15.05, allocations: 41.7 kB / 6.2 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/15.05, allocations: 336.3 kB / 6.201 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/15.05, allocations: 236.6 kB / 6.201 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/15.05, allocations: 12 kB / 6.201 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001538/15.05, allocations: 378.7 kB / 6.201 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/15.05, allocations: 285.1 kB / 6.201 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/15.05, allocations: 379.6 kB / 6.202 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/15.05, allocations: 339.2 kB / 6.202 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/15.05, allocations: 0 / 6.202 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001201/15.05, allocations: 0.797 MB / 6.203 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/15.05, allocations: 8 kB / 6.203 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/15.05, allocations: 3.984 kB / 6.203 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/15.05, allocations: 4 kB / 6.203 GB, free: 21.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/15.05, allocations: 144 kB / 6.203 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/15.05, allocations: 11.94 kB / 6.203 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/15.05, allocations: 87.48 kB / 6.203 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/15.05, allocations: 31.98 kB / 6.203 GB, free: 20.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (79): * Single equations (assignments): 79 * 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.000498/15.06, allocations: 273.5 kB / 6.203 GB, free: 20.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/15.06, allocations: 67.16 kB / 6.204 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/15.06, allocations: 0.9037 MB / 6.204 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/15.06, allocations: 8 kB / 6.204 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/15.06, allocations: 0 / 6.204 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/15.06, allocations: 7.922 kB / 6.204 GB, free: 19.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/15.06, allocations: 2.036 MB / 6.206 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/15.06, allocations: 4.031 kB / 6.206 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/15.06, allocations: 135.8 kB / 6.207 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/15.06, allocations: 181.5 kB / 6.207 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/15.06, allocations: 23.94 kB / 6.207 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006741/15.06, allocations: 1.152 MB / 6.208 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/15.06, allocations: 0 / 6.208 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/15.06, allocations: 1.358 MB / 6.209 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/15.06, allocations: 268 kB / 6.209 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/15.06, allocations: 15.95 kB / 6.209 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/15.07, allocations: 75.92 kB / 6.21 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/15.07, allocations: 40.69 kB / 6.21 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/15.07, allocations: 35.97 kB / 6.21 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004477/15.07, allocations: 390.8 kB / 6.21 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/15.07, allocations: 4 kB / 6.21 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002645/15.07, allocations: 0.62 MB / 6.211 GB, free: 13.03 MB / 0.5261 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002879/15.07, allocations: 1.358 MB / 6.212 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001249/15.07, allocations: 0.7161 MB / 6.213 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/15.07, allocations: 0 / 6.213 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006849/15.07, allocations: 423.5 kB / 6.213 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/15.08, allocations: 470 kB / 6.213 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/15.08, allocations: 2.27 MB / 6.216 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/15.08, allocations: 1.03 MB / 6.217 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009208/15.08, allocations: 213.8 kB / 6.217 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/15.08, allocations: 75.41 kB / 6.217 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of SimCode: time 2.274e-06/15.08, allocations: 0 / 6.217 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.4944/15.58, allocations: 33.93 MB / 6.25 GB, free: 62.53 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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)