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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.006/2.006, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 197.3 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 118.7 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.41 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2138, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004143/0.218, allocations: 3.916 MB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.2198, allocations: 1.243 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.2204, allocations: 16 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.2209, allocations: 95.09 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.2212, allocations: 91.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.2218, allocations: 315.8 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.2223, allocations: 0.9395 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.2228, allocations: 0.523 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.223, allocations: 290.6 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.2232, allocations: 354 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.2233, allocations: 48 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.2234, allocations: 55.94 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.2235, allocations: 159.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2237, allocations: 365.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.2243, allocations: 1.19 MB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2243, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2243, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2243, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 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.001798/0.2261, allocations: 1.224 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.2262, allocations: 15.98 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2263, allocations: 95.89 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.2268, allocations: 0.5345 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.2268, allocations: 54.38 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.2269, allocations: 72.38 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.2281, allocations: 0.8152 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2281, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.2282, allocations: 31.98 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2282, allocations: 20 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.2297, allocations: 0.6753 MB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.232, allocations: 2.473 MB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2335, allocations: 0.6965 MB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006613/0.2342, allocations: 353.7 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.2342, allocations: 8.438 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007939/0.235, allocations: 377 kB / 1.235 GB, free: 99.89 MB / 0.823 GB Notification: Performance of pre-optimization done (n=51): time 2.024e-06/0.2351, allocations: 0 / 1.235 GB, free: 99.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=51): time 0.001949/0.237, allocations: 0.8506 MB / 1.236 GB, free: 99.03 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2371, allocations: 137 kB / 1.236 GB, free: 98.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.2375, allocations: 0.5731 MB / 1.236 GB, free: 98.28 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.2376, allocations: 41.7 kB / 1.236 GB, free: 98.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2377, allocations: 368.2 kB / 1.237 GB, free: 97.87 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.2378, allocations: 169.5 kB / 1.237 GB, free: 97.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.238, allocations: 110.1 kB / 1.237 GB, free: 97.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.238, allocations: 374.7 kB / 1.237 GB, free: 97.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.2387, allocations: 279 kB / 1.237 GB, free: 96.94 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.2394, allocations: 413.1 kB / 1.238 GB, free: 96.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.2406, allocations: 0.6585 MB / 1.239 GB, free: 95.79 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2407, allocations: 0 / 1.239 GB, free: 95.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001502/0.2422, allocations: 0.8101 MB / 1.239 GB, free: 94.95 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.2422, allocations: 64.64 kB / 1.239 GB, free: 94.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2422, allocations: 4 kB / 1.239 GB, free: 94.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2422, allocations: 4 kB / 1.239 GB, free: 94.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.2428, allocations: 143.7 kB / 1.24 GB, free: 94.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2428, allocations: 4 kB / 1.24 GB, free: 94.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.2433, allocations: 127.2 kB / 1.24 GB, free: 94.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.2433, allocations: 23.98 kB / 1.24 GB, free: 94.58 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006248/0.244, allocations: 385.2 kB / 1.24 GB, free: 94.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005415/0.2445, allocations: 369.1 kB / 1.24 GB, free: 93.79 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000952/0.2455, allocations: 0.5649 MB / 1.241 GB, free: 93.18 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.2455, allocations: 0 / 1.241 GB, free: 93.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001186/0.2467, allocations: 0.7086 MB / 1.242 GB, free: 92.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.2467, allocations: 63.39 kB / 1.242 GB, free: 92.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2467, allocations: 0 / 1.242 GB, free: 92.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.2467, allocations: 7.938 kB / 1.242 GB, free: 92.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.2472, allocations: 123.8 kB / 1.242 GB, free: 92.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2472, allocations: 4 kB / 1.242 GB, free: 92.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.2476, allocations: 99.52 kB / 1.242 GB, free: 92.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.2477, allocations: 23.98 kB / 1.242 GB, free: 92.12 MB / 0.823 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,m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$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.0001517/0.2478, allocations: 221.2 kB / 1.242 GB, free: 91.89 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.2479, allocations: 63.16 kB / 1.242 GB, free: 91.83 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.2493, allocations: 0.6586 MB / 1.243 GB, free: 91.16 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2494, allocations: 4 kB / 1.243 GB, free: 91.16 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2494, allocations: 4 kB / 1.243 GB, free: 91.15 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2494, allocations: 3.984 kB / 1.243 GB, free: 91.15 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.25, allocations: 0.712 MB / 1.244 GB, free: 90.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.25, allocations: 0 / 1.244 GB, free: 90.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.2505, allocations: 119.8 kB / 1.244 GB, free: 90.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2505, allocations: 0 / 1.244 GB, free: 90.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.2505, allocations: 15.98 kB / 1.244 GB, free: 90.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2505, allocations: 0 / 1.244 GB, free: 90.25 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2505, allocations: 0 / 1.244 GB, free: 90.25 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009193/0.2597, allocations: 5.031 MB / 1.249 GB, free: 85.07 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.2599, allocations: 148.2 kB / 1.249 GB, free: 84.91 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.2599, allocations: 19.92 kB / 1.249 GB, free: 84.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.2604, allocations: 59.92 kB / 1.249 GB, free: 84.83 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2605, allocations: 44.38 kB / 1.249 GB, free: 84.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.2605, allocations: 23.98 kB / 1.249 GB, free: 84.77 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003355/0.2608, allocations: 406.8 kB / 1.249 GB, free: 84.37 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2609, allocations: 0 / 1.249 GB, free: 84.37 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007987/0.2617, allocations: 346.9 kB / 1.25 GB, free: 84.03 MB / 0.823 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: 6 ($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 (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.0001162/0.2618, allocations: 115.7 kB / 1.25 GB, free: 83.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.2638, allocations: 1.147 MB / 1.251 GB, free: 82.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2638, allocations: 3.938 kB / 1.251 GB, free: 82.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.2645, allocations: 311.2 kB / 1.251 GB, free: 82.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.265, allocations: 123.7 kB / 1.251 GB, free: 82.29 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.2669, allocations: 1.784 MB / 1.253 GB, free: 80.46 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.2671, allocations: 0.9184 MB / 1.254 GB, free: 79.51 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.2675, allocations: 89.02 kB / 1.254 GB, free: 79.43 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.2677, allocations: 55.42 kB / 1.254 GB, free: 79.38 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/0.2677, allocations: 0 / 1.254 GB, free: 79.38 MB / 0.823 GB Notification: Performance of Templates: time 0.01086/0.2785, allocations: 8.804 MB / 1.263 GB, free: 70.63 MB / 0.823 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)