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.593/2.593, allocations: 287.5 MB / 302.4 MB, free: 8.156 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.002381/0.002381, allocations: 182.2 kB / 371 MB, free: 10.88 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.202/2.202, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009142/0.0009137, allocations: 97.34 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 18.62 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004418/0.2155, allocations: 3.275 MB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.2183, allocations: 1.233 MB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005535/0.2189, allocations: 19.94 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.2192, allocations: 83.16 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.2196, allocations: 83.3 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.2203, allocations: 203.7 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009987/0.2213, allocations: 0.8849 MB / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007311/0.222, allocations: 371.6 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.2224, allocations: 222.8 kB / 0.9846 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.2228, allocations: 286.2 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2229, allocations: 24 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.223, allocations: 24 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2232, allocations: 111.4 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.2233, allocations: 173.1 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.2244, allocations: 1.021 MB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2244, allocations: 0 / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2245, allocations: 0 / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.2245, allocations: 0 / 0.9862 GB, free: 20.36 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.00377/0.2283, allocations: 1.169 MB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.061e-05/0.2284, allocations: 8.031 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.229, allocations: 98.86 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.2303, allocations: 0.559 MB / 0.9879 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/0.2305, allocations: 61.98 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.2306, allocations: 72 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.2333, allocations: 0.8423 MB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.2333, allocations: 4 kB / 0.9889 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.994e-05/0.2334, allocations: 28 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.2335, allocations: 27.94 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.2368, allocations: 0.7495 MB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.2422, allocations: 2.524 MB / 0.9921 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.2453, allocations: 0.797 MB / 0.9929 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.2469, allocations: 389.7 kB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-05/0.247, allocations: 9.453 kB / 0.9933 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/0.2485, allocations: 421 kB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 4.538e-06/0.2486, allocations: 0 / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.004037/0.2526, allocations: 0.9746 MB / 0.9947 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.2527, allocations: 137 kB / 0.9948 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2537, allocations: 0.6095 MB / 0.9954 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.2539, allocations: 41.69 kB / 0.9954 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.2542, allocations: 380.1 kB / 0.9958 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.2544, allocations: 169.5 kB / 0.9959 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.2544, allocations: 8 kB / 0.996 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2546, allocations: 382.7 kB / 0.9963 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.2559, allocations: 313 kB / 0.9966 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.2573, allocations: 461.1 kB / 0.9971 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.2587, allocations: 385.4 kB / 0.9974 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.2588, allocations: 4 kB / 0.9974 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003174/0.262, allocations: 0.8881 MB / 0.9983 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.2621, allocations: 206.4 kB / 0.9985 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2621, allocations: 4 kB / 0.9985 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2622, allocations: 4 kB / 0.9985 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.2633, allocations: 163.8 kB / 0.9987 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.2633, allocations: 4 kB / 0.9987 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.2644, allocations: 171 kB / 0.9988 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.2645, allocations: 23.92 kB / 0.9988 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2645, allocations: 4 kB / 0.9989 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002331/0.2669, allocations: 0.6921 MB / 0.9995 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2669, allocations: 0 / 0.9995 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2669, allocations: 12 kB / 0.9995 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/0.2678, allocations: 131.8 kB / 0.9997 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2679, allocations: 4 kB / 0.9997 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.2688, allocations: 119.5 kB / 0.9998 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.2688, allocations: 16 kB / 0.9998 GB, free: 5.934 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.0004852/0.2693, allocations: 309.4 kB / 1 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2695, allocations: 71.11 kB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.2723, allocations: 0.7372 MB / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.2723, allocations: 8 kB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2724, allocations: 0 / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2724, allocations: 3.984 kB / 1.001 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2734, allocations: 0.7198 MB / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2734, allocations: 0 / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.2745, allocations: 143.8 kB / 1.002 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.2745, allocations: 4 kB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.2746, allocations: 12 kB / 1.002 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.2746, allocations: 0 / 1.002 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2746, allocations: 7.984 kB / 1.002 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.2787, allocations: 1.112 MB / 1.003 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.279, allocations: 144.3 kB / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.2791, allocations: 19.94 kB / 1.003 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.28, allocations: 91.91 kB / 1.003 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.2801, allocations: 48.36 kB / 1.003 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.2802, allocations: 19.98 kB / 1.003 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006678/0.2809, allocations: 435.1 kB / 1.004 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2809, allocations: 0 / 1.004 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009044/0.2818, allocations: 258.9 kB / 1.004 GB, free: 1.711 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.0001701/0.282, allocations: 115.2 kB / 1.004 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004011/0.286, allocations: 1.249 MB / 1.005 GB, free: 304 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.2861, allocations: 0 / 1.005 GB, free: 304 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.2875, allocations: 354.8 kB / 1.005 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2887, allocations: 124.1 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.2926, allocations: 1.456 MB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.2933, allocations: 0.9222 MB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006733/0.294, allocations: 76.89 kB / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.2943, allocations: 55.42 kB / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of SimCode: time 1.163e-06/0.2943, allocations: 0 / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.0229/0.3172, allocations: 6.94 MB / 1.015 GB, free: 6.371 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)