Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002661/0.002661, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.097/3.097, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 3.938 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.551e-05, allocations: 5.375 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.006863/0.006898, allocations: 3.52 MB / 1.005 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.009889, allocations: 1.309 MB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005803/0.01047, allocations: 19.88 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.01092, allocations: 138.5 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.01156, allocations: 138.8 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.01227, allocations: 367.4 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.01348, allocations: 1.045 MB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006709/0.01415, allocations: 364.2 kB / 1.008 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.01483, allocations: 0.5497 MB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.01524, allocations: 303 kB / 1.009 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.0154, allocations: 120 kB / 1.009 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.01556, allocations: 124 kB / 1.009 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.01579, allocations: 235.2 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.01621, allocations: 279.2 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.01827, allocations: 1.351 MB / 1.011 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01828, allocations: 0 / 1.011 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01828, allocations: 0 / 1.011 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.01829, allocations: 0 / 1.011 GB, free: 3.172 MB / 0.9636 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.00367/0.02196, allocations: 1.372 MB / 1.012 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.02201, allocations: 9.344 kB / 1.012 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.02225, allocations: 96.38 kB / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.02338, allocations: 489.2 kB / 1.013 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/0.02346, allocations: 54.38 kB / 1.013 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.02363, allocations: 76.36 kB / 1.013 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.02621, allocations: 0.8908 MB / 1.014 GB, free: 88 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.02623, allocations: 192 / 1.014 GB, free: 88 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.02633, allocations: 32.38 kB / 1.014 GB, free: 56 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.02636, allocations: 19.94 kB / 1.014 GB, free: 36 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.02914, allocations: 0.6792 MB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/0.03408, allocations: 2.027 MB / 1.016 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.03712, allocations: 0.6853 MB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.0384, allocations: 338 kB / 1.017 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.03846, allocations: 8.484 kB / 1.017 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.03987, allocations: 378.1 kB / 1.018 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=51): time 3.176e-06/0.03988, allocations: 0 / 1.018 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of matching and sorting (n=51): time 0.003683/0.04356, allocations: 0.8442 MB / 1.018 GB, free: 11 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.04375, allocations: 152.9 kB / 1.019 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009723/0.04472, allocations: 489.9 kB / 1.019 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.0448, allocations: 41.64 kB / 1.019 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.04528, allocations: 368.5 kB / 1.019 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.04552, allocations: 178.5 kB / 1.02 GB, free: 9.742 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.04583, allocations: 114.3 kB / 1.02 GB, free: 9.625 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002809/0.04611, allocations: 366.8 kB / 1.02 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.04735, allocations: 342.7 kB / 1.02 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.04892, allocations: 0.6336 MB / 1.021 GB, free: 8.164 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.05132, allocations: 0.6656 MB / 1.022 GB, free: 7.457 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.05133, allocations: 0 / 1.022 GB, free: 7.457 MB / 0.9792 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002973/0.0543, allocations: 0.8627 MB / 1.023 GB, free: 6.562 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/0.05438, allocations: 63.67 kB / 1.023 GB, free: 6.488 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.0544, allocations: 8 kB / 1.023 GB, free: 6.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.05443, allocations: 4 kB / 1.023 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009188/0.05534, allocations: 143.8 kB / 1.023 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.05536, allocations: 4 kB / 1.023 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/0.05619, allocations: 111.6 kB / 1.023 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.05626, allocations: 23.98 kB / 1.023 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001286/0.05754, allocations: 440.7 kB / 1.023 GB, free: 5.754 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004494/0.06204, allocations: 0.5905 MB / 1.024 GB, free: 5.051 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001867/0.0639, allocations: 0.568 MB / 1.024 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.743e-06/0.06391, allocations: 4 kB / 1.024 GB, free: 4.438 MB / 0.9792 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002389/0.0663, allocations: 0.7613 MB / 1.025 GB, free: 3.645 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.06637, allocations: 63.67 kB / 1.025 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.06638, allocations: 4 kB / 1.025 GB, free: 3.566 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.06639, allocations: 8 kB / 1.025 GB, free: 3.559 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/0.07016, allocations: 123.8 kB / 1.025 GB, free: 3.438 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.07018, allocations: 4 kB / 1.025 GB, free: 3.434 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.07096, allocations: 103.6 kB / 1.025 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.07102, allocations: 27.94 kB / 1.025 GB, free: 3.305 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,TRoo.T_start,$PRE.TRoo.T_start,TRoo.count,$PRE.TRoo.count,m_flow.T_start,$PRE.m_flow.T_start,m_flow.count,$PRE.m_flow.count,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003225/0.07134, allocations: 214.8 kB / 1.026 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.0715, allocations: 63.55 kB / 1.026 GB, free: 3.027 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005635/0.07714, allocations: 0.6477 MB / 1.026 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.07715, allocations: 8 kB / 1.026 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.07716, allocations: 3.984 kB / 1.026 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.07717, allocations: 4 kB / 1.026 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.0782, allocations: 497.2 kB / 1.027 GB, free: 1.836 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.0782, allocations: 0 / 1.027 GB, free: 1.836 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003859/0.08206, allocations: 123.8 kB / 1.027 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.08207, allocations: 0 / 1.027 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/0.08213, allocations: 12 kB / 1.027 GB, free: 1.703 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.08214, allocations: 4 kB / 1.027 GB, free: 1.699 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.08214, allocations: 4 kB / 1.027 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006886/0.08903, allocations: 0.982 MB / 1.028 GB, free: 0.6953 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.08924, allocations: 71.47 kB / 1.028 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.08934, allocations: 19.98 kB / 1.028 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.08998, allocations: 59.92 kB / 1.028 GB, free: 0.5469 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.09016, allocations: 48.41 kB / 1.028 GB, free: 0.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003066/0.09322, allocations: 12 kB / 1.028 GB, free: 500 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006711/0.0939, allocations: 338.9 kB / 1.028 GB, free: 164 kB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.0939, allocations: 0 / 1.028 GB, free: 164 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0009251/0.09482, allocations: 287.2 kB / 1.029 GB, free: 15.88 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conFloRat.I.y,conMix.conCoo.I.y,conMix.conHea.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow.count,m_flow.T_start,TRoo.count,TRoo.T_start) * 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 (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.09502, allocations: 119.2 kB / 1.029 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00359/0.09861, allocations: 1.212 MB / 1.03 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.09861, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.09962, allocations: 295.2 kB / 1.03 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.1003, allocations: 118 kB / 1.03 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.1027, allocations: 1.153 MB / 1.032 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.1032, allocations: 322.3 kB / 1.032 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003337/0.1035, allocations: 68.52 kB / 1.032 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.1037, allocations: 48.48 kB / 1.032 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of SimCode: time 7.32e-07/0.1037, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of Templates: time 0.01629/0.12, allocations: 7.846 MB / 1.04 GB, free: 4.707 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.087219613604248]