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.001741/0.001741, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002004/0.002004, allocations: 216 kB / 23.02 MB, free: 2.957 MB / 13.93 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.62/1.62, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.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.331/3.331, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 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 0.003788/0.003788, allocations: 71.83 kB / 1.177 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8984, allocations: 180 MB / 1.353 GB, free: 1.598 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.006083/0.9044, allocations: 3.524 MB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.9073, allocations: 1.301 MB / 1.358 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.9077, allocations: 19.88 kB / 1.358 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.9082, allocations: 130.6 kB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.9087, allocations: 136.2 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.9093, allocations: 363.5 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.9105, allocations: 1.033 MB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.9111, allocations: 352.2 kB / 1.36 GB, free: 10.7 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.9116, allocations: 386.5 kB / 1.36 GB, free: 10.32 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.912, allocations: 354.1 kB / 1.36 GB, free: 9.977 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.9122, allocations: 124 kB / 1.36 GB, free: 9.855 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.9123, allocations: 120 kB / 1.36 GB, free: 9.738 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.9126, allocations: 227.3 kB / 1.361 GB, free: 9.516 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.9129, allocations: 358.2 kB / 1.361 GB, free: 9.164 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.9145, allocations: 1.314 MB / 1.362 GB, free: 7.848 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9145, allocations: 0 / 1.362 GB, free: 7.848 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9145, allocations: 0 / 1.362 GB, free: 7.848 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.9146, allocations: 3.938 kB / 1.362 GB, free: 7.844 MB / 1.042 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.002731/0.9173, allocations: 1.376 MB / 1.364 GB, free: 6.414 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.9173, allocations: 12.92 kB / 1.364 GB, free: 6.402 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.9175, allocations: 96.36 kB / 1.364 GB, free: 6.309 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/0.9183, allocations: 485.9 kB / 1.364 GB, free: 5.809 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.9184, allocations: 58.38 kB / 1.364 GB, free: 5.754 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.9185, allocations: 84.25 kB / 1.364 GB, free: 5.672 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.9204, allocations: 0.8944 MB / 1.365 GB, free: 4.738 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.9204, allocations: 0 / 1.365 GB, free: 4.738 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.9205, allocations: 32 kB / 1.365 GB, free: 4.707 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.9205, allocations: 16 kB / 1.365 GB, free: 4.691 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.9224, allocations: 0.6714 MB / 1.366 GB, free: 4.02 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.926, allocations: 2.031 MB / 1.368 GB, free: 1.918 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.9282, allocations: 0.6926 MB / 1.369 GB, free: 1.219 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.9291, allocations: 337.6 kB / 1.369 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.9291, allocations: 4.438 kB / 1.369 GB, free: 0.8789 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.9301, allocations: 377.2 kB / 1.369 GB, free: 0.5 MB / 1.042 GB Notification: Performance of pre-optimization done (n=51): time 3.256e-06/0.9301, allocations: 0 / 1.369 GB, free: 0.5 MB / 1.042 GB Notification: Performance of matching and sorting (n=51): time 0.002618/0.9328, allocations: 0.8422 MB / 1.37 GB, free: 15.65 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.9329, allocations: 144.9 kB / 1.37 GB, free: 15.48 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.9336, allocations: 485.9 kB / 1.371 GB, free: 15 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.9337, allocations: 41.7 kB / 1.371 GB, free: 14.95 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.9341, allocations: 377.5 kB / 1.371 GB, free: 14.58 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.9343, allocations: 182.5 kB / 1.371 GB, free: 14.4 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.9345, allocations: 110.3 kB / 1.371 GB, free: 14.29 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000228/0.9347, allocations: 366.7 kB / 1.372 GB, free: 13.92 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008469/0.9355, allocations: 334.7 kB / 1.372 GB, free: 13.58 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.9367, allocations: 0.6473 MB / 1.373 GB, free: 12.82 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.9384, allocations: 0.6614 MB / 1.373 GB, free: 12.12 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.9384, allocations: 4 kB / 1.373 GB, free: 12.11 MB / 1.057 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00208/0.9405, allocations: 0.8589 MB / 1.374 GB, free: 11.23 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.9406, allocations: 59.41 kB / 1.374 GB, free: 11.16 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.9406, allocations: 4.25 kB / 1.374 GB, free: 11.15 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.9406, allocations: 8 kB / 1.374 GB, free: 11.14 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.9413, allocations: 151.8 kB / 1.374 GB, free: 11 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.9413, allocations: 4 kB / 1.374 GB, free: 10.99 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.9419, allocations: 115.5 kB / 1.375 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.9419, allocations: 23.98 kB / 1.375 GB, free: 10.86 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009166/0.9428, allocations: 436.7 kB / 1.375 GB, free: 10.41 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001005/0.9439, allocations: 0.5906 MB / 1.376 GB, free: 9.715 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/0.9451, allocations: 0.5794 MB / 1.376 GB, free: 9.09 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.9451, allocations: 0 / 1.376 GB, free: 9.09 MB / 1.057 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001688/0.9468, allocations: 0.7575 MB / 1.377 GB, free: 8.305 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.9469, allocations: 63.39 kB / 1.377 GB, free: 8.23 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9469, allocations: 4.281 kB / 1.377 GB, free: 8.227 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.9469, allocations: 11.98 kB / 1.377 GB, free: 8.215 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.9474, allocations: 123.8 kB / 1.377 GB, free: 8.094 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.9474, allocations: 8 kB / 1.377 GB, free: 8.086 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.948, allocations: 99.58 kB / 1.377 GB, free: 7.988 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.948, allocations: 20 kB / 1.377 GB, free: 7.969 MB / 1.057 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.0002663/0.9483, allocations: 224.6 kB / 1.377 GB, free: 7.742 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.9484, allocations: 55.62 kB / 1.377 GB, free: 7.688 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.9502, allocations: 0.6461 MB / 1.378 GB, free: 7.035 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9502, allocations: 8 kB / 1.378 GB, free: 7.027 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9502, allocations: 0 / 1.378 GB, free: 7.027 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.9503, allocations: 3.984 kB / 1.378 GB, free: 7.023 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007714/0.951, allocations: 0.4933 MB / 1.379 GB, free: 6.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.951, allocations: 0 / 1.379 GB, free: 6.5 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.9516, allocations: 119.8 kB / 1.379 GB, free: 6.383 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.9516, allocations: 0 / 1.379 GB, free: 6.383 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.9516, allocations: 12 kB / 1.379 GB, free: 6.371 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.9517, allocations: 4 kB / 1.379 GB, free: 6.367 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9517, allocations: 0 / 1.379 GB, free: 6.367 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.9542, allocations: 0.9799 MB / 1.38 GB, free: 5.371 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.9543, allocations: 71.47 kB / 1.38 GB, free: 5.301 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.9544, allocations: 12 kB / 1.38 GB, free: 5.289 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.9549, allocations: 71.91 kB / 1.38 GB, free: 5.219 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.955, allocations: 44.36 kB / 1.38 GB, free: 5.176 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.955, allocations: 15.98 kB / 1.38 GB, free: 5.16 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004817/0.9555, allocations: 334.9 kB / 1.38 GB, free: 4.836 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/0.9555, allocations: 4 kB / 1.38 GB, free: 4.832 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0008123/0.9563, allocations: 283 kB / 1.38 GB, free: 4.555 MB / 1.057 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.0001836/0.9565, allocations: 129.8 kB / 1.381 GB, free: 4.418 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002758/0.9593, allocations: 1.216 MB / 1.382 GB, free: 3.125 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9593, allocations: 0 / 1.382 GB, free: 3.125 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.9601, allocations: 294.2 kB / 1.382 GB, free: 2.836 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.9608, allocations: 126.1 kB / 1.382 GB, free: 2.719 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.9632, allocations: 1.169 MB / 1.383 GB, free: 1.52 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.9636, allocations: 318.2 kB / 1.384 GB, free: 1.184 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0003322/0.964, allocations: 64.53 kB / 1.384 GB, free: 1.121 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.9641, allocations: 55.41 kB / 1.384 GB, free: 1.066 MB / 1.057 GB Notification: Performance of SimCode: time 7.51e-07/0.9641, allocations: 0 / 1.384 GB, free: 1.066 MB / 1.057 GB Notification: Performance of Templates: time 0.01727/0.9814, allocations: 8.452 MB / 1.392 GB, free: 8.75 MB / 1.073 GB " [Timeout remaining time 299] 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: 10.298820449970663]