Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001153/0.001153, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001151/0.001151, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 65.75 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2294, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005674/0.2351, allocations: 3.922 MB / 0.7873 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.2377, allocations: 1.276 MB / 0.7886 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.2386, allocations: 15.94 kB / 0.7886 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.2391, allocations: 95.09 kB / 0.7887 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006292/0.2398, allocations: 95.3 kB / 0.7888 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.2407, allocations: 311.8 kB / 0.7891 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.242, allocations: 1.045 MB / 0.7901 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009567/0.243, allocations: 0.5388 MB / 0.7906 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.2435, allocations: 374.6 kB / 0.791 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.244, allocations: 413.9 kB / 0.7914 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.2442, allocations: 128 kB / 0.7915 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2443, allocations: 124 kB / 0.7916 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.2445, allocations: 239.3 kB / 0.7918 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.2449, allocations: 461.6 kB / 0.7923 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.2458, allocations: 1.064 MB / 0.7933 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2458, allocations: 3.938 kB / 0.7933 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2458, allocations: 0 / 0.7933 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.2458, allocations: 0 / 0.7933 GB, free: 3.77 MB / 0.6075 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.002213/0.248, allocations: 1.278 MB / 0.7946 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2481, allocations: 8.031 kB / 0.7946 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.2482, allocations: 99.72 kB / 0.7947 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.2489, allocations: 0.5756 MB / 0.7952 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.249, allocations: 58.38 kB / 0.7953 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2491, allocations: 68.38 kB / 0.7954 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.2506, allocations: 0.8192 MB / 0.7962 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.2507, allocations: 0 / 0.7962 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.2507, allocations: 28 kB / 0.7962 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.2508, allocations: 16 kB / 0.7962 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.2524, allocations: 0.6909 MB / 0.7969 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.2556, allocations: 2.493 MB / 0.7993 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.2573, allocations: 0.7072 MB / 0.8 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.2581, allocations: 349.7 kB / 0.8003 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.2581, allocations: 8.438 kB / 0.8003 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009442/0.2591, allocations: 365.2 kB / 0.8007 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.925e-06/0.2591, allocations: 7.938 kB / 0.8007 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.002269/0.2614, allocations: 0.8572 MB / 0.8015 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.2615, allocations: 142 kB / 0.8017 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.2622, allocations: 0.6212 MB / 0.8023 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.2623, allocations: 37.7 kB / 0.8023 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.2625, allocations: 376.2 kB / 0.8027 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.2627, allocations: 173.5 kB / 0.8028 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.2629, allocations: 110.1 kB / 0.8029 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.263, allocations: 378.7 kB / 0.8033 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.2637, allocations: 283 kB / 0.8036 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008019/0.2646, allocations: 421.1 kB / 0.804 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.266, allocations: 0.6585 MB / 0.8046 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.266, allocations: 4 kB / 0.8046 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001756/0.2678, allocations: 0.8139 MB / 0.8054 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.2678, allocations: 63.41 kB / 0.8055 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2678, allocations: 0 / 0.8055 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2679, allocations: 8 kB / 0.8055 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.2685, allocations: 143.8 kB / 0.8056 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2685, allocations: 8 kB / 0.8056 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.2691, allocations: 115.3 kB / 0.8057 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.2691, allocations: 24 kB / 0.8058 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007583/0.2699, allocations: 397.8 kB / 0.8061 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006338/0.2705, allocations: 373 kB / 0.8065 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001083/0.2716, allocations: 0.5727 MB / 0.8071 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.2716, allocations: 0 / 0.8071 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001366/0.273, allocations: 0.7161 MB / 0.8078 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.273, allocations: 59.41 kB / 0.8078 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2731, allocations: 4 kB / 0.8078 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.2731, allocations: 4 kB / 0.8078 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.2736, allocations: 124.1 kB / 0.8079 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2736, allocations: 15.92 kB / 0.808 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.2741, allocations: 99.45 kB / 0.8081 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.2741, allocations: 20 kB / 0.8081 GB, free: 4.102 MB / 0.6231 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.0002162/0.2743, allocations: 220.1 kB / 0.8083 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.2744, allocations: 71.14 kB / 0.8083 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.2761, allocations: 0.6514 MB / 0.809 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2761, allocations: 4 kB / 0.809 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2761, allocations: 0 / 0.809 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2761, allocations: 0 / 0.809 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.2769, allocations: 0.7276 MB / 0.8097 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2769, allocations: 4 kB / 0.8097 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.2775, allocations: 119.8 kB / 0.8098 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2775, allocations: 3.938 kB / 0.8098 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.2775, allocations: 15.98 kB / 0.8098 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.2775, allocations: 4 kB / 0.8098 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2775, allocations: 0 / 0.8098 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.2798, allocations: 0.9833 MB / 0.8108 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.2799, allocations: 156.2 kB / 0.8109 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.28, allocations: 20 kB / 0.811 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.2804, allocations: 55.92 kB / 0.811 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.2806, allocations: 48.38 kB / 0.8111 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.2806, allocations: 19.98 kB / 0.8111 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004967/0.2811, allocations: 431.1 kB / 0.8115 GB, free: 500 kB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2811, allocations: 0 / 0.8115 GB, free: 500 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006766/0.2818, allocations: 278.8 kB / 0.8118 GB, free: 220 kB / 0.6231 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.0001571/0.282, allocations: 115.3 kB / 0.8119 GB, free: 92 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002526/0.2845, allocations: 1.174 MB / 0.813 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2845, allocations: 3.938 kB / 0.813 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.2852, allocations: 314.8 kB / 0.8133 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.2859, allocations: 129.3 kB / 0.8134 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.2882, allocations: 1.551 MB / 0.815 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.2886, allocations: 0.9218 MB / 0.8159 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.2888, allocations: 55.42 kB / 0.8159 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of SimCode: time 2.264e-06/0.2889, allocations: 0 / 0.8159 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.01251/0.3014, allocations: 8.935 MB / 0.8246 GB, free: 2.934 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)