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.61/1.61, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001291/0.001291, allocations: 180.9 kB / 366.7 MB, free: 1.656 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.558/1.558, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008253/0.0008253, allocations: 91.36 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.78e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6612, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.8545, allocations: 142.8 MB / 1.113 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.8547, allocations: 91.92 kB / 1.113 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0308/0.8856, allocations: 12.25 MB / 1.125 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8856, allocations: 0 / 1.125 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.031e-05/0.8857, allocations: 16 kB / 1.125 GB, free: 11.16 MB / 0.7292 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.00232/0.888, allocations: 1.043 MB / 1.126 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.8881, allocations: 16.02 kB / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.8884, allocations: 94.88 kB / 1.126 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.8894, allocations: 0.5103 MB / 1.126 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.8894, allocations: 24 kB / 1.126 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8896, allocations: 49.81 kB / 1.126 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/0.8906, allocations: 485.3 kB / 1.127 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.8918, allocations: 0.6082 MB / 1.127 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.8918, allocations: 0 / 1.127 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.8919, allocations: 4 kB / 1.127 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.8919, allocations: 16 kB / 1.127 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.8954, allocations: 2.267 MB / 1.13 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.8965, allocations: 0.5534 MB / 1.13 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.8968, allocations: 242.2 kB / 1.13 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.8969, allocations: 8.422 kB / 1.13 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.8974, allocations: 299.2 kB / 1.131 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.325e-06/0.8974, allocations: 0 / 1.131 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.000848/0.8983, allocations: 458.4 kB / 1.131 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/0.8984, allocations: 137.1 kB / 1.131 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.8989, allocations: 421.2 kB / 1.132 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.899, allocations: 29.69 kB / 1.132 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.8992, allocations: 368 kB / 1.132 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.8994, allocations: 171.1 kB / 1.132 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.8994, allocations: 0 / 1.132 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8996, allocations: 366.8 kB / 1.133 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.8999, allocations: 181.1 kB / 1.133 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.9003, allocations: 274.5 kB / 1.133 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.9006, allocations: 186.1 kB / 1.133 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9006, allocations: 0 / 1.133 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008595/0.9015, allocations: 0.5179 MB / 1.134 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.9017, allocations: 417.7 kB / 1.134 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9017, allocations: 5.5 kB / 1.134 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.9017, allocations: 3.984 kB / 1.134 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.9024, allocations: 159.8 kB / 1.134 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.9024, allocations: 4 kB / 1.134 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.903, allocations: 123.4 kB / 1.134 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.9031, allocations: 23.95 kB / 1.134 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.9031, allocations: 4.781 kB / 1.134 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006943/0.9038, allocations: 425.3 kB / 1.135 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.9038, allocations: 0.9375 kB / 1.135 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.9038, allocations: 7.984 kB / 1.135 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.9043, allocations: 127.8 kB / 1.135 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.9043, allocations: 4.094 kB / 1.135 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.9048, allocations: 87.62 kB / 1.135 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.9049, allocations: 22.56 kB / 1.135 GB, free: 200 kB / 0.7292 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.0001477/0.905, allocations: 120.9 kB / 1.135 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.9051, allocations: 63.2 kB / 1.135 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/0.9059, allocations: 485.5 kB / 1.136 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.906, allocations: 4 kB / 1.136 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.906, allocations: 1.125 kB / 1.136 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.906, allocations: 7.984 kB / 1.136 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.9075, allocations: 1.184 MB / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.9075, allocations: 0 / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.9082, allocations: 151.8 kB / 1.137 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.9082, allocations: 0 / 1.137 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.9082, allocations: 4 kB / 1.137 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.9082, allocations: 0 / 1.137 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9082, allocations: 0 / 1.137 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.9093, allocations: 0.807 MB / 1.138 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.9095, allocations: 144.3 kB / 1.138 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.9095, allocations: 11.95 kB / 1.138 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.9101, allocations: 86.44 kB / 1.138 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.9102, allocations: 56.42 kB / 1.138 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.9102, allocations: 23.92 kB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003292/0.9106, allocations: 315 kB / 1.138 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9106, allocations: 0 / 1.138 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006446/0.9112, allocations: 242.8 kB / 1.139 GB, free: 12.44 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.0001859/0.9114, allocations: 123.6 kB / 1.139 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.9126, allocations: 0.8986 MB / 1.14 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9126, allocations: 0 / 1.14 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.913, allocations: 234 kB / 1.14 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.9135, allocations: 98.7 kB / 1.14 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.9152, allocations: 0.8544 MB / 1.141 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.9158, allocations: 0.947 MB / 1.142 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004757/0.9162, allocations: 90.69 kB / 1.142 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.9164, allocations: 51.42 kB / 1.142 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.9164, allocations: 0 / 1.142 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.01452/0.9309, allocations: 6.985 MB / 1.149 GB, free: 2.219 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)