Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.609/1.609, allocations: 287.5 MB / 302.6 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 172.5 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 86.31 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 14.19 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2367, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003268/0.24, allocations: 3.279 MB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.2422, allocations: 1.229 MB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.243, allocations: 15.94 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.2435, allocations: 87.16 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.244, allocations: 79.3 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.2447, allocations: 203.7 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2458, allocations: 0.9003 MB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008134/0.2466, allocations: 0.5154 MB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.247, allocations: 222.8 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.2474, allocations: 286.3 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.2475, allocations: 24 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.2476, allocations: 24 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2477, allocations: 115.3 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.2479, allocations: 161.3 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.2487, allocations: 1.021 MB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2487, allocations: 0 / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2487, allocations: 4 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.866e-05/0.2487, allocations: 4 kB / 0.9866 GB, free: 19.98 MB / 0.6198 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.002183/0.2509, allocations: 1.161 MB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.251, allocations: 11.97 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2512, allocations: 95.81 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.2518, allocations: 0.5833 MB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.2519, allocations: 58.38 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.252, allocations: 72.38 kB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.2534, allocations: 0.8465 MB / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2535, allocations: 4 kB / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.2535, allocations: 28 kB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2535, allocations: 20 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.2551, allocations: 0.7573 MB / 0.9902 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.2579, allocations: 2.524 MB / 0.9926 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.2595, allocations: 0.7932 MB / 0.9934 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/0.2603, allocations: 389.7 kB / 0.9938 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.2603, allocations: 12.44 kB / 0.9938 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000863/0.2612, allocations: 414.2 kB / 0.9942 GB, free: 12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.544e-06/0.2612, allocations: 0 / 0.9942 GB, free: 12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.00212/0.2633, allocations: 0.9745 MB / 0.9951 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.2634, allocations: 137 kB / 0.9953 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/0.264, allocations: 0.6134 MB / 0.9959 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.264, allocations: 41.7 kB / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.2642, allocations: 376.2 kB / 0.9963 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.2643, allocations: 173.5 kB / 0.9964 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.2644, allocations: 8 kB / 0.9964 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.2645, allocations: 382.7 kB / 0.9968 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.2652, allocations: 313 kB / 0.9971 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.2659, allocations: 453.1 kB / 0.9975 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.2673, allocations: 0.7327 MB / 0.9983 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2673, allocations: 4 kB / 0.9983 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001614/0.2689, allocations: 0.8881 MB / 0.9991 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/0.269, allocations: 210.4 kB / 0.9993 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.269, allocations: 4 kB / 0.9993 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.269, allocations: 4 kB / 0.9993 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.2696, allocations: 167.8 kB / 0.9995 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2696, allocations: 11.88 kB / 0.9995 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.2702, allocations: 151.2 kB / 0.9997 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.2702, allocations: 23.94 kB / 0.9997 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.2702, allocations: 8 kB / 0.9997 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001171/0.2714, allocations: 0.692 MB / 1 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2714, allocations: 0 / 1 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.2714, allocations: 8 kB / 1 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.2719, allocations: 139.8 kB / 1 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2719, allocations: 7.984 kB / 1.001 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.2723, allocations: 119.3 kB / 1.001 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2724, allocations: 16 kB / 1.001 GB, free: 5.164 MB / 0.6198 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,$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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.2726, allocations: 309.4 kB / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.2727, allocations: 67.16 kB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.2742, allocations: 0.7373 MB / 1.002 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2742, allocations: 4 kB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2742, allocations: 0 / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2742, allocations: 4 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.2748, allocations: 0.7354 MB / 1.002 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2748, allocations: 0 / 1.002 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.2753, allocations: 139.8 kB / 1.003 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2753, allocations: 4 kB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.2754, allocations: 15.98 kB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2754, allocations: 0 / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2754, allocations: 0 / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.2775, allocations: 1.108 MB / 1.004 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.2776, allocations: 152.2 kB / 1.004 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.2777, allocations: 12 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.2781, allocations: 87.91 kB / 1.004 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2782, allocations: 52.36 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.2783, allocations: 12 kB / 1.004 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003922/0.2787, allocations: 435.1 kB / 1.004 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2787, allocations: 0 / 1.004 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005254/0.2792, allocations: 259 kB / 1.005 GB, free: 0.957 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.2793, allocations: 115.1 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.2816, allocations: 1.252 MB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2816, allocations: 0 / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007859/0.2824, allocations: 354.8 kB / 1.006 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.283, allocations: 130.4 kB / 1.006 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2852, allocations: 1.46 MB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.2857, allocations: 0.926 MB / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003435/0.2861, allocations: 76.98 kB / 1.009 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.2862, allocations: 51.42 kB / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.2862, allocations: 0 / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.01201/0.2983, allocations: 6.924 MB / 1.016 GB, free: 5.621 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)