Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/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_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.79/1.79, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.001009, allocations: 184.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 99.91 kB / 0.7808 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004281, allocations: 12 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.7351, allocations: 120.3 MB / 1.026 GB, free: 56.78 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.9443, allocations: 145.8 MB / 1.169 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.9446, allocations: 89.95 kB / 1.169 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03139/0.976, allocations: 12.47 MB / 1.181 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9761, allocations: 0 / 1.181 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.43e-05/0.9761, allocations: 16 kB / 1.181 GB, free: 15.98 MB / 0.7605 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.002285/0.9784, allocations: 1.15 MB / 1.182 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.9785, allocations: 16.02 kB / 1.182 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.9786, allocations: 99.72 kB / 1.182 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.9793, allocations: 0.5267 MB / 1.183 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.9794, allocations: 58.38 kB / 1.183 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.9795, allocations: 72.38 kB / 1.183 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.9812, allocations: 0.8585 MB / 1.184 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.9812, allocations: 192 / 1.184 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.9813, allocations: 35.94 kB / 1.184 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.9813, allocations: 16 kB / 1.184 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.9831, allocations: 0.7842 MB / 1.184 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.9866, allocations: 2.427 MB / 1.187 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.9886, allocations: 0.8856 MB / 1.188 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008009/0.9894, allocations: 387.3 kB / 1.188 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.9894, allocations: 12.38 kB / 1.188 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009835/0.9904, allocations: 451.1 kB / 1.188 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=57): time 2.545e-06/0.9904, allocations: 0 / 1.188 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57): time 0.002388/0.9928, allocations: 1.049 MB / 1.19 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.9929, allocations: 141.1 kB / 1.19 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.9937, allocations: 0.6409 MB / 1.19 GB, free: 6.137 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.9938, allocations: 41.7 kB / 1.19 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.994, allocations: 356.8 kB / 1.191 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.9942, allocations: 181.3 kB / 1.191 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.9942, allocations: 12 kB / 1.191 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.9944, allocations: 382.8 kB / 1.191 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007521/0.9952, allocations: 316.9 kB / 1.192 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.996, allocations: 431.3 kB / 1.192 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.9975, allocations: 0.7083 MB / 1.193 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.9975, allocations: 7.938 kB / 1.193 GB, free: 3.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001827/0.9993, allocations: 0.8801 MB / 1.193 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.9995, allocations: 177.2 kB / 1.194 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.9995, allocations: 0 / 1.194 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.9995, allocations: 4 kB / 1.194 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/1, allocations: 159.8 kB / 1.194 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/1, allocations: 4 kB / 1.194 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/1.001, allocations: 155.2 kB / 1.194 GB, free: 2.242 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/1.001, allocations: 20 kB / 1.194 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.001, allocations: 7.938 kB / 1.194 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/1.002, allocations: 0.6881 MB / 1.195 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.002, allocations: 0 / 1.195 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/1.002, allocations: 4 kB / 1.195 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/1.003, allocations: 131.8 kB / 1.195 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.003, allocations: 0 / 1.195 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/1.003, allocations: 119.4 kB / 1.195 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/1.003, allocations: 16 kB / 1.195 GB, free: 1.25 MB / 0.7605 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.0004064/1.004, allocations: 301 kB / 1.195 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/1.004, allocations: 71.09 kB / 1.195 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/1.006, allocations: 0.7914 MB / 1.196 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.006, allocations: 8 kB / 1.196 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.006, allocations: 0 / 1.196 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/1.006, allocations: 3.984 kB / 1.196 GB, free: 60 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/1.008, allocations: 1.597 MB / 1.198 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.008, allocations: 0 / 1.198 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/1.009, allocations: 143.8 kB / 1.198 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.009, allocations: 7.938 kB / 1.198 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/1.009, allocations: 12 kB / 1.198 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.009, allocations: 3.938 kB / 1.198 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.009, allocations: 0 / 1.198 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/1.012, allocations: 1.263 MB / 1.199 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/1.012, allocations: 160.1 kB / 1.199 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/1.012, allocations: 12 kB / 1.199 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/1.012, allocations: 91.91 kB / 1.199 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.012, allocations: 52.48 kB / 1.199 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/1.013, allocations: 23.92 kB / 1.199 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006218/1.013, allocations: 463.1 kB / 1.2 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.31e-07/1.013, allocations: 0 / 1.2 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007558/1.014, allocations: 255.1 kB / 1.2 GB, free: 11.91 MB / 0.7761 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.0002012/1.014, allocations: 133.2 kB / 1.2 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002514/1.017, allocations: 1.274 MB / 1.201 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.017, allocations: 0 / 1.201 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007958/1.017, allocations: 375.2 kB / 1.202 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/1.018, allocations: 138.8 kB / 1.202 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/1.021, allocations: 1.481 MB / 1.203 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/1.021, allocations: 0.927 MB / 1.204 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004048/1.022, allocations: 77.11 kB / 1.204 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.022, allocations: 55.42 kB / 1.204 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/1.022, allocations: 0 / 1.204 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of Templates: time 0.01479/1.037, allocations: 7.399 MB / 1.212 GB, free: 36 kB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)