Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 289.7 MB / 302.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001107, allocations: 179.5 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008316/0.0008315, allocations: 96.84 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.308e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2632, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7783/1.042, allocations: 143.4 MB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.042, allocations: 85.2 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0282/1.07, allocations: 12.34 MB / 1.132 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.724e-06/1.07, allocations: 3.938 kB / 1.132 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.708e-05/1.07, allocations: 24 kB / 1.132 GB, free: 34.95 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001559/1.072, allocations: 1.037 MB / 1.133 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.072, allocations: 12.03 kB / 1.133 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/1.072, allocations: 107.1 kB / 1.133 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/1.073, allocations: 0.5051 MB / 1.134 GB, free: 33.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/1.073, allocations: 59.52 kB / 1.134 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/1.073, allocations: 73.62 kB / 1.134 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/1.074, allocations: 0.7142 MB / 1.134 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/1.074, allocations: 0 / 1.134 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/1.074, allocations: 29.44 kB / 1.134 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/1.074, allocations: 20 kB / 1.135 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007683/1.075, allocations: 0.509 MB / 1.135 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/1.078, allocations: 2.428 MB / 1.137 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009454/1.079, allocations: 0.5847 MB / 1.138 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/1.079, allocations: 255.2 kB / 1.138 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/1.079, allocations: 12.22 kB / 1.138 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/1.08, allocations: 318.5 kB / 1.139 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=57): time 3.667e-06/1.08, allocations: 0.5625 kB / 1.139 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57): time 0.0007964/1.08, allocations: 0.493 MB / 1.139 GB, free: 30.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.08, allocations: 134.4 kB / 1.139 GB, free: 30.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/1.081, allocations: 0.5633 MB / 1.14 GB, free: 29.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/1.081, allocations: 40.86 kB / 1.14 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/1.081, allocations: 359.3 kB / 1.14 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.082, allocations: 177 kB / 1.14 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/1.082, allocations: 15.69 kB / 1.14 GB, free: 29.42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.082, allocations: 385.2 kB / 1.141 GB, free: 29.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/1.082, allocations: 175.2 kB / 1.141 GB, free: 29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/1.082, allocations: 283.1 kB / 1.141 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/1.083, allocations: 256.9 kB / 1.141 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.083, allocations: 0 / 1.141 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009198/1.084, allocations: 0.6135 MB / 1.142 GB, free: 28.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/1.084, allocations: 419 kB / 1.142 GB, free: 27.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.084, allocations: 1.125 kB / 1.142 GB, free: 27.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/1.084, allocations: 4.609 kB / 1.142 GB, free: 27.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/1.085, allocations: 160 kB / 1.142 GB, free: 27.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.085, allocations: 8.562 kB / 1.142 GB, free: 27.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/1.085, allocations: 150 kB / 1.143 GB, free: 27.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/1.085, allocations: 21.14 kB / 1.143 GB, free: 27.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.085, allocations: 4 kB / 1.143 GB, free: 27.47 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007838/1.086, allocations: 0.5234 MB / 1.143 GB, free: 27.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.086, allocations: 1.016 kB / 1.143 GB, free: 27.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/1.086, allocations: 4 kB / 1.143 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/1.087, allocations: 131.6 kB / 1.143 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.087, allocations: 0 / 1.143 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/1.087, allocations: 121.6 kB / 1.143 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/1.087, allocations: 16.16 kB / 1.143 GB, free: 26.92 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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.000164/1.087, allocations: 139.5 kB / 1.144 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.088, allocations: 79.67 kB / 1.144 GB, free: 26.72 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009431/1.089, allocations: 0.531 MB / 1.144 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.089, allocations: 8 kB / 1.144 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.089, allocations: 0 / 1.144 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.089, allocations: 6.766 kB / 1.144 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/1.09, allocations: 1.324 MB / 1.145 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/1.09, allocations: 1.219 kB / 1.145 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/1.091, allocations: 150.8 kB / 1.146 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.091, allocations: 0 / 1.146 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/1.091, allocations: 17.5 kB / 1.146 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.091, allocations: 4 kB / 1.146 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.091, allocations: 4.609 kB / 1.146 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.092, allocations: 0.8616 MB / 1.146 GB, free: 24.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.092, allocations: 161.4 kB / 1.147 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/1.092, allocations: 12.08 kB / 1.147 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/1.093, allocations: 93.33 kB / 1.147 GB, free: 24.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.093, allocations: 53.14 kB / 1.147 GB, free: 24.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/1.093, allocations: 17.16 kB / 1.147 GB, free: 24.69 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004757/1.093, allocations: 461.7 kB / 1.147 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.41e-07/1.093, allocations: 0.75 kB / 1.147 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00063/1.094, allocations: 257.6 kB / 1.147 GB, free: 24.16 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000159/1.094, allocations: 124.7 kB / 1.148 GB, free: 24.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001088/1.095, allocations: 0.9461 MB / 1.148 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.095, allocations: 384 / 1.148 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/1.096, allocations: 248 kB / 1.149 GB, free: 23.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/1.096, allocations: 124 kB / 1.149 GB, free: 23.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/1.098, allocations: 0.8934 MB / 1.15 GB, free: 22.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/1.098, allocations: 0.9391 MB / 1.151 GB, free: 21.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004997/1.099, allocations: 116.4 kB / 1.151 GB, free: 21.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.099, allocations: 43.66 kB / 1.151 GB, free: 21.4 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/1.099, allocations: 0 / 1.151 GB, free: 21.4 MB / 0.7448 GB Notification: Performance of Templates: time 0.01549/1.114, allocations: 8.357 MB / 1.159 GB, free: 16.58 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)