Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.777/1.777, allocations: 288.4 MB / 303.4 MB, free: 8.188 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.001057/0.001057, allocations: 176.5 kB / 372 MB, free: 10.28 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.544/1.544, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007281/0.0007279, allocations: 86.36 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 11.56 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003442/0.2324, allocations: 3.283 MB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.2347, allocations: 1.233 MB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006725/0.2354, allocations: 15.94 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.2358, allocations: 87.09 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.2363, allocations: 87.3 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.237, allocations: 199.7 kB / 0.9844 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.2378, allocations: 0.881 MB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.2384, allocations: 375.6 kB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.2387, allocations: 222.8 kB / 0.9858 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.239, allocations: 278.3 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-05/0.2391, allocations: 32 kB / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.2392, allocations: 24 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.2393, allocations: 119.3 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2394, allocations: 153.3 kB / 0.9864 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.2401, allocations: 1.029 MB / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2401, allocations: 0 / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.507e-06/0.2401, allocations: 0 / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.939e-05/0.2402, allocations: 0 / 0.9874 GB, free: 19.64 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.00233/0.2425, allocations: 1.165 MB / 0.9885 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2426, allocations: 12.03 kB / 0.9885 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.2428, allocations: 98.86 kB / 0.9886 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.2435, allocations: 0.563 MB / 0.9892 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.2436, allocations: 53.98 kB / 0.9892 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2437, allocations: 76 kB / 0.9893 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.2453, allocations: 0.8539 MB / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2454, allocations: 0 / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.2454, allocations: 32 kB / 0.9902 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.2454, allocations: 16 kB / 0.9902 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.2471, allocations: 0.7612 MB / 0.9909 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.25, allocations: 2.516 MB / 0.9934 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.2517, allocations: 0.7942 MB / 0.9941 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.2524, allocations: 390 kB / 0.9945 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.2525, allocations: 8.375 kB / 0.9945 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009246/0.2534, allocations: 425.1 kB / 0.9949 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.2534, allocations: 0 / 0.9949 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002278/0.2557, allocations: 0.9707 MB / 0.9959 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.2558, allocations: 140.8 kB / 0.996 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/0.2565, allocations: 0.6134 MB / 0.9966 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.2566, allocations: 41.69 kB / 0.9966 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.2568, allocations: 376.1 kB / 0.997 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.257, allocations: 169.5 kB / 0.9972 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.257, allocations: 16 kB / 0.9972 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2571, allocations: 386.7 kB / 0.9976 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/0.2578, allocations: 305 kB / 0.9978 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.2587, allocations: 450.5 kB / 0.9983 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.2594, allocations: 389.4 kB / 0.9986 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2594, allocations: 0 / 0.9986 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001777/0.2612, allocations: 0.892 MB / 0.9995 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.2614, allocations: 214.3 kB / 0.9997 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2614, allocations: 0 / 0.9997 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/0.2614, allocations: 8 kB / 0.9997 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.262, allocations: 167.8 kB / 0.9999 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.2621, allocations: 8 kB / 0.9999 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.2627, allocations: 147.2 kB / 1 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.2627, allocations: 27.94 kB / 1 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2628, allocations: 4 kB / 1 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/0.264, allocations: 0.692 MB / 1.001 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2641, allocations: 7.984 kB / 1.001 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.2641, allocations: 4 kB / 1.001 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.2646, allocations: 131.9 kB / 1.001 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2646, allocations: 15.94 kB / 1.001 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.2651, allocations: 107.5 kB / 1.001 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.2652, allocations: 24 kB / 1.001 GB, free: 5.219 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.0003644/0.2655, allocations: 301.4 kB / 1.001 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.2656, allocations: 75.09 kB / 1.001 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.2672, allocations: 0.7372 MB / 1.002 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2672, allocations: 8 kB / 1.002 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2672, allocations: 0 / 1.002 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2673, allocations: 3.984 kB / 1.002 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007025/0.268, allocations: 0.7237 MB / 1.003 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.268, allocations: 0 / 1.003 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.2685, allocations: 139.8 kB / 1.003 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.2686, allocations: 3.953 kB / 1.003 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.2686, allocations: 19.94 kB / 1.003 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2686, allocations: 4 kB / 1.003 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2686, allocations: 4 kB / 1.003 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.2708, allocations: 1.101 MB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.271, allocations: 152.2 kB / 1.004 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.2711, allocations: 19.88 kB / 1.004 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.2715, allocations: 91.92 kB / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.2717, allocations: 48.36 kB / 1.004 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.2717, allocations: 15.98 kB / 1.004 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004741/0.2722, allocations: 431.1 kB / 1.005 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2722, allocations: 3.938 kB / 1.005 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007834/0.273, allocations: 262.9 kB / 1.005 GB, free: 0.9961 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.0001436/0.2732, allocations: 121 kB / 1.005 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.2756, allocations: 1.249 MB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2756, allocations: 4.188 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.2765, allocations: 350.2 kB / 1.007 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/0.2775, allocations: 120.7 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.2815, allocations: 1.456 MB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/0.2824, allocations: 0.9183 MB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007891/0.2832, allocations: 84.97 kB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.2836, allocations: 55.36 kB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of SimCode: time 2.685e-06/0.2836, allocations: 0 / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.02017/0.3038, allocations: 6.933 MB / 1.016 GB, free: 5.672 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)