Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000994/0.000994, allocations: 174.8 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008247/0.0008249, allocations: 82.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 12.88 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2259, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003916/0.2299, allocations: 3.874 MB / 0.9052 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.2326, allocations: 1.385 MB / 0.9066 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000968/0.2336, allocations: 15.94 kB / 0.9066 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.2341, allocations: 122.9 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.2348, allocations: 91.25 kB / 0.9068 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008486/0.2356, allocations: 351.7 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.2368, allocations: 1.006 MB / 0.9081 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006374/0.2374, allocations: 0.5154 MB / 0.9086 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.2376, allocations: 234.5 kB / 0.9088 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.2379, allocations: 301.9 kB / 0.9091 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.2379, allocations: 32 kB / 0.9092 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.238, allocations: 24 kB / 0.9092 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.2381, allocations: 115.3 kB / 0.9093 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.2383, allocations: 363.3 kB / 0.9096 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.2389, allocations: 1.029 MB / 0.9107 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2389, allocations: 0 / 0.9107 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2389, allocations: 0 / 0.9107 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.239, allocations: 0 / 0.9107 GB, free: 53.99 MB / 0.6042 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.001911/0.2409, allocations: 1.184 MB / 0.9118 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2409, allocations: 8.031 kB / 0.9118 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.2411, allocations: 103.7 kB / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.2417, allocations: 0.591 MB / 0.9125 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.2418, allocations: 58.38 kB / 0.9125 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.2419, allocations: 72.38 kB / 0.9126 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.2434, allocations: 0.8867 MB / 0.9135 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2434, allocations: 0 / 0.9135 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-05/0.2435, allocations: 32 kB / 0.9135 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2435, allocations: 27.88 kB / 0.9135 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.2452, allocations: 0.7768 MB / 0.9143 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.2485, allocations: 3.084 MB / 0.9173 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.2504, allocations: 0.8412 MB / 0.9181 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.2511, allocations: 395.9 kB / 0.9185 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.2512, allocations: 8.438 kB / 0.9185 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/0.2521, allocations: 405.2 kB / 0.9189 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 3.135e-06/0.2521, allocations: 0 / 0.9189 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.002279/0.2544, allocations: 0.9822 MB / 0.9199 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.2545, allocations: 140.9 kB / 0.92 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.2551, allocations: 0.6566 MB / 0.9206 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.2552, allocations: 37.7 kB / 0.9207 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.2555, allocations: 389.2 kB / 0.921 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2556, allocations: 169.5 kB / 0.9212 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.2556, allocations: 12 kB / 0.9212 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2557, allocations: 386.7 kB / 0.9216 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.2564, allocations: 317 kB / 0.9219 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.2572, allocations: 458.5 kB / 0.9223 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.2586, allocations: 0.7186 MB / 0.923 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2586, allocations: 0 / 0.923 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00167/0.2603, allocations: 0.8997 MB / 0.9239 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/0.2604, allocations: 195.9 kB / 0.9241 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2604, allocations: 0 / 0.9241 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2604, allocations: 8 kB / 0.9241 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.261, allocations: 159.8 kB / 0.9243 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.2611, allocations: 7.938 kB / 0.9243 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.2617, allocations: 159.2 kB / 0.9244 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.2617, allocations: 19.98 kB / 0.9244 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-06/0.2617, allocations: 4 kB / 0.9244 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/0.263, allocations: 0.692 MB / 0.9251 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.263, allocations: 4.047 kB / 0.9251 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.263, allocations: 7.938 kB / 0.9251 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.2635, allocations: 132 kB / 0.9252 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.2635, allocations: 11.92 kB / 0.9253 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.2639, allocations: 119.3 kB / 0.9254 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.264, allocations: 20 kB / 0.9254 GB, free: 38.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($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,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * 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.0003507/0.2643, allocations: 305 kB / 0.9257 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.2644, allocations: 75.06 kB / 0.9258 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.266, allocations: 0.7377 MB / 0.9265 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.266, allocations: 8 kB / 0.9265 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.266, allocations: 3.938 kB / 0.9265 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.266, allocations: 11.97 kB / 0.9265 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.2667, allocations: 0.7354 MB / 0.9272 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2667, allocations: 0 / 0.9272 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.2672, allocations: 143.8 kB / 0.9274 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2672, allocations: 0 / 0.9274 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.2673, allocations: 15.98 kB / 0.9274 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2673, allocations: 0 / 0.9274 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2673, allocations: 0 / 0.9274 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.2695, allocations: 1.116 MB / 0.9285 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2696, allocations: 160.1 kB / 0.9286 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.2697, allocations: 12 kB / 0.9286 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.2701, allocations: 91.91 kB / 0.9287 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2703, allocations: 44.38 kB / 0.9288 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.2703, allocations: 15.98 kB / 0.9288 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004782/0.2708, allocations: 463.1 kB / 0.9292 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2708, allocations: 4 kB / 0.9292 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000605/0.2714, allocations: 263 kB / 0.9295 GB, free: 34.13 MB / 0.6042 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.0001381/0.2715, allocations: 115.2 kB / 0.9296 GB, free: 34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.2739, allocations: 1.256 MB / 0.9308 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2739, allocations: 0 / 0.9308 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007412/0.2746, allocations: 350.4 kB / 0.9311 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.2754, allocations: 158 kB / 0.9313 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.2776, allocations: 1.61 MB / 0.9329 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2779, allocations: 0.9339 MB / 0.9338 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.2781, allocations: 59.42 kB / 0.9338 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2781, allocations: 0 / 0.9338 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.01089/0.289, allocations: 9.322 MB / 0.9429 GB, free: 20.26 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)