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 2.863/2.863, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001578/0.001577, allocations: 185.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001096/0.001096, allocations: 100.3 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004948, allocations: 11.19 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2165, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004937/0.2215, allocations: 3.283 MB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.2246, allocations: 1.237 MB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.2253, allocations: 15.94 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.2254, allocations: 59.3 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.2261, allocations: 147.4 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.2268, allocations: 219.7 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.2278, allocations: 0.5497 MB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006439/0.2285, allocations: 375.6 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.2288, allocations: 222.8 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.2291, allocations: 282.3 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.2292, allocations: 24 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.2293, allocations: 28 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.2294, allocations: 115.4 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2296, allocations: 157.3 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.2307, allocations: 1.021 MB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2307, allocations: 4 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2307, allocations: 3.938 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.2308, allocations: 4 kB / 0.9857 GB, free: 20.62 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.003563/0.2343, allocations: 1.169 MB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2344, allocations: 8.031 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.2347, allocations: 94.88 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.2361, allocations: 0.5629 MB / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.2362, allocations: 62 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2364, allocations: 68 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.2391, allocations: 0.8462 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.2392, allocations: 0 / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.2393, allocations: 28 kB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2394, allocations: 16 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.2425, allocations: 0.7651 MB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005301/0.2478, allocations: 2.52 MB / 0.9917 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.2513, allocations: 0.8205 MB / 0.9925 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.2514, allocations: 8.438 kB / 0.9925 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/0.253, allocations: 417 kB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 4.008e-06/0.253, allocations: 0 / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.004123/0.2572, allocations: 0.9668 MB / 0.9939 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.2573, allocations: 137 kB / 0.994 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2583, allocations: 0.6173 MB / 0.9946 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.2585, allocations: 41.7 kB / 0.9946 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.2588, allocations: 377.1 kB / 0.995 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.259, allocations: 173.5 kB / 0.9952 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.2591, allocations: 12 kB / 0.9952 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2592, allocations: 378.8 kB / 0.9955 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.2606, allocations: 309 kB / 0.9958 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.2621, allocations: 449.1 kB / 0.9963 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.2635, allocations: 389.3 kB / 0.9966 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.2635, allocations: 8 kB / 0.9966 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003198/0.2667, allocations: 0.8842 MB / 0.9975 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.2671, allocations: 0.937 MB / 0.9984 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2671, allocations: 4 kB / 0.9984 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.2671, allocations: 4 kB / 0.9984 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2683, allocations: 159.8 kB / 0.9986 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.2684, allocations: 11.92 kB / 0.9986 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.2695, allocations: 151.2 kB / 0.9987 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.2696, allocations: 20 kB / 0.9987 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2696, allocations: 6.5 kB / 0.9988 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/0.272, allocations: 0.6921 MB / 0.9994 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.2721, allocations: 7.938 kB / 0.9994 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2721, allocations: 4 kB / 0.9994 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/0.2731, allocations: 139.8 kB / 0.9996 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.2731, allocations: 7.938 kB / 0.9996 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009476/0.2741, allocations: 115.5 kB / 0.9997 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.2741, allocations: 20 kB / 0.9997 GB, free: 5.824 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.0005243/0.2747, allocations: 307.5 kB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.2749, allocations: 71.14 kB / 1 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.2777, allocations: 0.7411 MB / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.2778, allocations: 4 kB / 1.001 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2778, allocations: 0 / 1.001 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2778, allocations: 0 / 1.001 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.279, allocations: 0.7315 MB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2791, allocations: 4 kB / 1.002 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.2802, allocations: 139.8 kB / 1.002 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.2802, allocations: 0 / 1.002 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.2803, allocations: 15.98 kB / 1.002 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.2803, allocations: 4 kB / 1.002 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2803, allocations: 4 kB / 1.002 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.2846, allocations: 1.108 MB / 1.003 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.2849, allocations: 148.2 kB / 1.003 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.2851, allocations: 12 kB / 1.003 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008453/0.2859, allocations: 87.91 kB / 1.003 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.2861, allocations: 48.38 kB / 1.003 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.2862, allocations: 15.98 kB / 1.003 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007462/0.2869, allocations: 431.1 kB / 1.003 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.287, allocations: 0 / 1.003 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009725/0.2879, allocations: 262.9 kB / 1.004 GB, free: 1.613 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.0001877/0.2881, allocations: 123.3 kB / 1.004 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004382/0.2925, allocations: 1.249 MB / 1.005 GB, free: 196 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.2926, allocations: 0 / 1.005 GB, free: 196 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.2942, allocations: 358.8 kB / 1.005 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.2952, allocations: 116.1 kB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.2992, allocations: 1.456 MB / 1.007 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.2999, allocations: 0.9378 MB / 1.008 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006609/0.3006, allocations: 80.95 kB / 1.008 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.3009, allocations: 51.42 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of SimCode: time 1.393e-06/0.3009, allocations: 4 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.02314/0.3241, allocations: 6.918 MB / 1.015 GB, free: 6.27 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)