Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008003/0.0008006, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004868/0.004868, allocations: 169.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 12.92 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004692/0.3425, allocations: 3.486 MB / 1.078 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.3451, allocations: 1.239 MB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.346, allocations: 12 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.3464, allocations: 99.09 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.3468, allocations: 87.36 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.3475, allocations: 303.7 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008593/0.3484, allocations: 0.9316 MB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.3492, allocations: 0.5113 MB / 1.081 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.3495, allocations: 230.6 kB / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.3498, allocations: 278.2 kB / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.3499, allocations: 28 kB / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.817e-05/0.3499, allocations: 24 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.35, allocations: 119.3 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.3504, allocations: 335.6 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.3514, allocations: 1.137 MB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3514, allocations: 0 / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3514, allocations: 3.938 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.3514, allocations: 0 / 1.083 GB, free: 14.68 MB / 0.8419 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.002237/0.3537, allocations: 1.119 MB / 1.084 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3537, allocations: 8.031 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3539, allocations: 95.81 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.3546, allocations: 0.5268 MB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.3546, allocations: 54.38 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3547, allocations: 76.31 kB / 1.085 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.3565, allocations: 0.8543 MB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3565, allocations: 0 / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.3566, allocations: 36 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3566, allocations: 19.94 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.3585, allocations: 0.7573 MB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.362, allocations: 2.501 MB / 1.089 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.364, allocations: 0.8057 MB / 1.089 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.3649, allocations: 397.7 kB / 1.09 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.365, allocations: 8.422 kB / 1.09 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.366, allocations: 413.2 kB / 1.09 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=51): time 2.495e-06/0.366, allocations: 0 / 1.09 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51): time 0.002637/0.3687, allocations: 0.9745 MB / 1.091 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.3688, allocations: 144.9 kB / 1.091 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/0.3695, allocations: 0.5576 MB / 1.092 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.3696, allocations: 41.7 kB / 1.092 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.3699, allocations: 368.1 kB / 1.092 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.37, allocations: 165.6 kB / 1.092 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.3701, allocations: 53.69 kB / 1.092 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3703, allocations: 378.7 kB / 1.093 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/0.3712, allocations: 313 kB / 1.093 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.3721, allocations: 457.1 kB / 1.094 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.3738, allocations: 0.7444 MB / 1.094 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3739, allocations: 3.938 kB / 1.094 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002072/0.3759, allocations: 0.892 MB / 1.095 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.3761, allocations: 210.4 kB / 1.095 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3761, allocations: 0 / 1.095 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3761, allocations: 12 kB / 1.095 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.3768, allocations: 167.8 kB / 1.095 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.3769, allocations: 7.938 kB / 1.095 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.3775, allocations: 151.2 kB / 1.096 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.3776, allocations: 23.98 kB / 1.096 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/0.3776, allocations: 7.938 kB / 1.096 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/0.3791, allocations: 0.696 MB / 1.096 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3791, allocations: 4 kB / 1.096 GB, free: 236 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.3791, allocations: 4 kB / 1.096 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.3796, allocations: 131.8 kB / 1.096 GB, free: 100 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3796, allocations: 8 kB / 1.096 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.3802, allocations: 119.4 kB / 1.097 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.3802, allocations: 20 kB / 1.097 GB, free: 15.95 MB / 0.8575 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.0004307/0.3807, allocations: 305.4 kB / 1.097 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.3808, allocations: 63.16 kB / 1.097 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.3827, allocations: 0.7407 MB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3827, allocations: 4 kB / 1.098 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3827, allocations: 3.938 kB / 1.098 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3827, allocations: 3.984 kB / 1.098 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.3835, allocations: 0.712 MB / 1.098 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3835, allocations: 0 / 1.098 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/0.3841, allocations: 139.8 kB / 1.099 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.3842, allocations: 7.984 kB / 1.099 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.3842, allocations: 15.98 kB / 1.099 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3842, allocations: 0 / 1.099 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3842, allocations: 0 / 1.099 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.3868, allocations: 1.105 MB / 1.1 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.387, allocations: 152.2 kB / 1.1 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.3871, allocations: 12 kB / 1.1 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.3876, allocations: 87.92 kB / 1.1 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3877, allocations: 52.36 kB / 1.1 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.3877, allocations: 16 kB / 1.1 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004838/0.3882, allocations: 406.8 kB / 1.1 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3882, allocations: 0 / 1.1 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006827/0.3889, allocations: 251 kB / 1.101 GB, free: 11.8 MB / 0.8575 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.0001848/0.3891, allocations: 115.2 kB / 1.101 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002767/0.3919, allocations: 1.26 MB / 1.102 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3919, allocations: 0.5625 kB / 1.102 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.3928, allocations: 346.3 kB / 1.102 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.3935, allocations: 122 kB / 1.102 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3959, allocations: 1.487 MB / 1.104 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.3963, allocations: 0.9143 MB / 1.105 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003359/0.3967, allocations: 72.89 kB / 1.105 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.3969, allocations: 47.42 kB / 1.105 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of SimCode: time 8.22e-07/0.3969, allocations: 0 / 1.105 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of Templates: time 0.01366/0.4105, allocations: 7.11 MB / 1.112 GB, free: 292 kB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)