Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.445/2.445, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001946/0.001946, allocations: 180.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.3 MB / 0.6192 GB, free: 12.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 100.9 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.615e-05, allocations: 0 / 0.8509 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8138, allocations: 115.2 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/1.055, allocations: 141.6 MB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.055, allocations: 81.22 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05188/1.107, allocations: 12.25 MB / 1.114 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/1.107, allocations: 0 / 1.114 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.607e-05/1.107, allocations: 19.98 kB / 1.114 GB, free: 2.605 MB / 0.7136 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.003373/1.111, allocations: 1.041 MB / 1.115 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.111, allocations: 8.031 kB / 1.115 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/1.111, allocations: 96.08 kB / 1.115 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/1.113, allocations: 0.5142 MB / 1.115 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/1.113, allocations: 28 kB / 1.115 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/1.113, allocations: 44 kB / 1.115 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001566/1.114, allocations: 484 kB / 1.116 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/1.116, allocations: 0.6044 MB / 1.117 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1.116, allocations: 7.938 kB / 1.117 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/1.116, allocations: 3.984 kB / 1.117 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/1.116, allocations: 18.62 kB / 1.117 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006062/1.123, allocations: 2.265 MB / 1.119 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/1.124, allocations: 0.5599 MB / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/1.125, allocations: 238.2 kB / 1.12 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/1.125, allocations: 16.42 kB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008066/1.126, allocations: 291.3 kB / 1.12 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 4.007e-06/1.126, allocations: 0 / 1.12 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001425/1.127, allocations: 462.6 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.128, allocations: 145.1 kB / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/1.128, allocations: 409.3 kB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.129, allocations: 33.7 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/1.129, allocations: 368 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.129, allocations: 169.5 kB / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/1.129, allocations: 0 / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.13, allocations: 366.8 kB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/1.13, allocations: 173.1 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/1.131, allocations: 274.5 kB / 1.122 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/1.131, allocations: 194.1 kB / 1.122 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.131, allocations: 0 / 1.122 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001505/1.133, allocations: 0.5139 MB / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/1.133, allocations: 425.7 kB / 1.123 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.133, allocations: 0 / 1.123 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/1.133, allocations: 4 kB / 1.123 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.134, allocations: 155.8 kB / 1.123 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.134, allocations: 4 kB / 1.123 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.136, allocations: 134.2 kB / 1.124 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/1.136, allocations: 19.98 kB / 1.124 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.136, allocations: 8 kB / 1.124 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/1.137, allocations: 417.3 kB / 1.124 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/1.137, allocations: 4 kB / 1.124 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.137, allocations: 4 kB / 1.124 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.138, allocations: 135.9 kB / 1.124 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.138, allocations: 1.484 kB / 1.124 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00096/1.139, allocations: 91.61 kB / 1.124 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/1.139, allocations: 16 kB / 1.124 GB, free: 7.629 MB / 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.0002845/1.139, allocations: 124.6 kB / 1.124 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.14, allocations: 64.83 kB / 1.124 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.141, allocations: 481.6 kB / 1.125 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.141, allocations: 8 kB / 1.125 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.141, allocations: 0 / 1.125 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.141, allocations: 7.984 kB / 1.125 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.143, allocations: 1.188 MB / 1.126 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.144, allocations: 0 / 1.126 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.145, allocations: 143.8 kB / 1.126 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.145, allocations: 4 kB / 1.126 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/1.145, allocations: 0 / 1.126 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.145, allocations: 4 kB / 1.126 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.145, allocations: 3.984 kB / 1.126 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.147, allocations: 0.8069 MB / 1.127 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/1.147, allocations: 153.4 kB / 1.127 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/1.147, allocations: 4 kB / 1.127 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009628/1.148, allocations: 83.92 kB / 1.127 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.148, allocations: 48.48 kB / 1.127 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/1.149, allocations: 23.92 kB / 1.127 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006107/1.149, allocations: 315 kB / 1.128 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.149, allocations: 0 / 1.128 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001083/1.15, allocations: 240.4 kB / 1.128 GB, free: 3.871 MB / 0.7292 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.0002566/1.151, allocations: 128.3 kB / 1.128 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.153, allocations: 0.8986 MB / 1.129 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.153, allocations: 0 / 1.129 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006251/1.153, allocations: 230 kB / 1.129 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/1.154, allocations: 96.42 kB / 1.129 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.157, allocations: 0.8488 MB / 1.13 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/1.158, allocations: 0.9431 MB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008876/1.159, allocations: 96.72 kB / 1.131 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/1.159, allocations: 43.42 kB / 1.131 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of SimCode: time 1.143e-06/1.159, allocations: 0 / 1.131 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of Templates: time 0.02342/1.182, allocations: 7 MB / 1.138 GB, free: 9.656 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)