Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.171/5.171, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002418/0.002418, allocations: 358.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.348/4.348, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001808/0.001808, allocations: 188.9 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004966, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7656, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.9782, allocations: 142.4 MB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.9785, allocations: 92.92 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04712/1.026, allocations: 12.35 MB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.184e-06/1.026, allocations: 1.062 kB / 1.613 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.421e-05/1.026, allocations: 16 kB / 1.613 GB, free: 129.5 MB / 0.8542 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.003445/1.029, allocations: 1.167 MB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.029, allocations: 11.62 kB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/1.03, allocations: 100.5 kB / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.031, allocations: 0.5142 MB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/1.031, allocations: 58 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/1.031, allocations: 75.91 kB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/1.034, allocations: 0.863 MB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/1.034, allocations: 0 / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/1.034, allocations: 28.8 kB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/1.034, allocations: 16.69 kB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/1.037, allocations: 0.7758 MB / 1.616 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005436/1.043, allocations: 2.441 MB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003542/1.046, allocations: 0.8671 MB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/1.048, allocations: 398 kB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/1.048, allocations: 8.438 kB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/1.05, allocations: 448 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=57): time 3.818e-06/1.05, allocations: 0 / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57): time 0.00441/1.054, allocations: 1.052 MB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/1.054, allocations: 141 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.055, allocations: 0.641 MB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.056, allocations: 41.69 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/1.056, allocations: 357.2 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/1.056, allocations: 190.5 kB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/1.056, allocations: 12 kB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.056, allocations: 378.8 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.058, allocations: 317 kB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.059, allocations: 424.7 kB / 1.624 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/1.061, allocations: 394.2 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.061, allocations: 0.9062 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003312/1.064, allocations: 0.8888 MB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.064, allocations: 169.3 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.064, allocations: 4 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/1.064, allocations: 7.984 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.065, allocations: 163.8 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.065, allocations: 4 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.067, allocations: 139.3 kB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/1.067, allocations: 20.08 kB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.067, allocations: 4 kB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002355/1.069, allocations: 0.692 MB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.069, allocations: 4 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/1.069, allocations: 3.984 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.07, allocations: 131.8 kB / 1.626 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.07, allocations: 4 kB / 1.626 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/1.071, allocations: 111.4 kB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/1.071, allocations: 27.98 kB / 1.626 GB, free: 115.3 MB / 0.8542 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 () * Number of clocked 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.000559/1.072, allocations: 302 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/1.072, allocations: 67.16 kB / 1.627 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/1.075, allocations: 0.7991 MB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.075, allocations: 7.953 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.075, allocations: 4 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.075, allocations: 3.984 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/1.079, allocations: 1.582 MB / 1.629 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.079, allocations: 0 / 1.629 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.081, allocations: 151.8 kB / 1.629 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.081, allocations: 4 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/1.081, allocations: 7.953 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.081, allocations: 4 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.081, allocations: 3.984 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004587/1.085, allocations: 1.256 MB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/1.086, allocations: 164.1 kB / 1.63 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.086, allocations: 19.92 kB / 1.63 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009828/1.087, allocations: 91.88 kB / 1.631 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.087, allocations: 48.48 kB / 1.631 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/1.087, allocations: 19.98 kB / 1.631 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007663/1.088, allocations: 467 kB / 1.631 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/1.088, allocations: 4 kB / 1.631 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009428/1.089, allocations: 259.1 kB / 1.631 GB, free: 110 MB / 0.8542 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) * Number of clocked states: 0 () * 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.0002019/1.089, allocations: 124.2 kB / 1.631 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004212/1.093, allocations: 1.27 MB / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.093, allocations: 0 / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.095, allocations: 379.2 kB / 1.633 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.096, allocations: 121.1 kB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/1.1, allocations: 1.499 MB / 1.635 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/1.1, allocations: 0.9465 MB / 1.636 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000657/1.101, allocations: 79.09 kB / 1.636 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.101, allocations: 55.36 kB / 1.636 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.272e-06/1.101, allocations: 0 / 1.636 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.02176/1.123, allocations: 7.317 MB / 1.643 GB, free: 98.29 MB / 0.8542 GB