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.001142/0.001142, allocations: 97.72 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.008585/0.008585, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.301/1.301, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.677/1.677, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0009104/0.0009105, allocations: 12.94 kB / 0.6743 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.24, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003659/0.2437, allocations: 3.486 MB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2458, allocations: 1.268 MB / 0.7925 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005122/0.2464, allocations: 15.94 kB / 0.7925 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.2468, allocations: 95.09 kB / 0.7926 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.2472, allocations: 95.28 kB / 0.7927 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.2478, allocations: 307.8 kB / 0.793 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.2486, allocations: 0.9393 MB / 0.7939 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006813/0.2493, allocations: 0.5076 MB / 0.7944 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.2496, allocations: 238.6 kB / 0.7947 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.2499, allocations: 298 kB / 0.7949 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.2499, allocations: 24 kB / 0.795 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.25, allocations: 24 kB / 0.795 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.2501, allocations: 115.3 kB / 0.7951 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.2504, allocations: 359.3 kB / 0.7954 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009899/0.2514, allocations: 1.187 MB / 0.7966 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2514, allocations: 0 / 0.7966 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.089e-06/0.2514, allocations: 0 / 0.7966 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.2514, allocations: 3.938 kB / 0.7966 GB, free: 2.586 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.002232/0.2536, allocations: 1.165 MB / 0.7977 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.2537, allocations: 8.031 kB / 0.7977 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2539, allocations: 95.81 kB / 0.7978 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.2546, allocations: 0.5832 MB / 0.7984 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.2547, allocations: 58.38 kB / 0.7985 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2548, allocations: 72.38 kB / 0.7985 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.2566, allocations: 0.8505 MB / 0.7994 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2566, allocations: 0 / 0.7994 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.2567, allocations: 35.98 kB / 0.7994 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.2567, allocations: 24 kB / 0.7994 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.2585, allocations: 0.7534 MB / 0.8002 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.2619, allocations: 2.532 MB / 0.8026 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.264, allocations: 0.8009 MB / 0.8034 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009121/0.2649, allocations: 389.7 kB / 0.8038 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.2649, allocations: 8.422 kB / 0.8038 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.266, allocations: 413.2 kB / 0.8042 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.434e-06/0.266, allocations: 0 / 0.8042 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.002623/0.2686, allocations: 0.9822 MB / 0.8051 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.2688, allocations: 144.9 kB / 0.8053 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.2696, allocations: 0.6173 MB / 0.8059 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.2696, allocations: 37.7 kB / 0.8059 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.2699, allocations: 381.2 kB / 0.8063 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.2701, allocations: 169.5 kB / 0.8064 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.2702, allocations: 57.69 kB / 0.8065 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2703, allocations: 386.7 kB / 0.8069 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.2712, allocations: 313 kB / 0.8072 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009325/0.2721, allocations: 465.1 kB / 0.8076 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.2738, allocations: 0.7366 MB / 0.8083 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2738, allocations: 0 / 0.8083 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002034/0.2759, allocations: 0.8999 MB / 0.8092 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.276, allocations: 210.4 kB / 0.8094 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.276, allocations: 4 kB / 0.8094 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.2761, allocations: 4 kB / 0.8094 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.2768, allocations: 163.8 kB / 0.8096 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.2768, allocations: 11.88 kB / 0.8096 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.2774, allocations: 155.2 kB / 0.8097 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.2775, allocations: 20 kB / 0.8097 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.2775, allocations: 4 kB / 0.8098 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/0.279, allocations: 0.696 MB / 0.8104 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.279, allocations: 0 / 0.8104 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.279, allocations: 12 kB / 0.8104 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.2795, allocations: 135.8 kB / 0.8106 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2795, allocations: 4 kB / 0.8106 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.2801, allocations: 123.3 kB / 0.8107 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.2801, allocations: 16 kB / 0.8107 GB, free: 3.645 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.0004328/0.2805, allocations: 308.9 kB / 0.811 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.2806, allocations: 75.12 kB / 0.8111 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.2825, allocations: 0.7334 MB / 0.8118 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2825, allocations: 11.98 kB / 0.8118 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2825, allocations: 0 / 0.8118 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2825, allocations: 0 / 0.8118 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.2833, allocations: 0.7276 MB / 0.8125 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2833, allocations: 0 / 0.8125 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.2839, allocations: 139.8 kB / 0.8126 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2839, allocations: 4 kB / 0.8127 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.2839, allocations: 11.98 kB / 0.8127 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2839, allocations: 4 kB / 0.8127 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2839, allocations: 3.938 kB / 0.8127 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.2865, allocations: 1.112 MB / 0.8138 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.2867, allocations: 160.2 kB / 0.8139 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.2867, allocations: 12 kB / 0.8139 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.2872, allocations: 87.92 kB / 0.814 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.2874, allocations: 52.36 kB / 0.8141 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2874, allocations: 12 kB / 0.8141 GB, free: 96 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005225/0.2879, allocations: 443.1 kB / 0.8145 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.288, allocations: 0 / 0.8145 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006784/0.2886, allocations: 255 kB / 0.8147 GB, free: 15.41 MB / 0.6387 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.0001837/0.2888, allocations: 119.2 kB / 0.8148 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.2916, allocations: 1.256 MB / 0.8161 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2916, allocations: 0 / 0.8161 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008476/0.2925, allocations: 354.8 kB / 0.8164 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.2932, allocations: 121.7 kB / 0.8165 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.2955, allocations: 1.553 MB / 0.818 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.296, allocations: 0.9222 MB / 0.8189 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003409/0.2964, allocations: 76.97 kB / 0.819 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.2966, allocations: 55.42 kB / 0.8191 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of SimCode: time 1.603e-06/0.2966, allocations: 0 / 0.8191 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of Templates: time 0.01434/0.3109, allocations: 7.15 MB / 0.8261 GB, free: 3.766 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: