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.815/1.815, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001191/0.001191, allocations: 187.7 kB / 371.9 MB, free: 10.3 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.778/1.778, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.0008362/0.0008362, allocations: 90.92 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 11.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.22, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004802/0.2249, allocations: 3.284 MB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.2281, allocations: 1.241 MB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.2288, allocations: 15.94 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.229, allocations: 59.3 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007032/0.2297, allocations: 148.8 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.2304, allocations: 219.7 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.2312, allocations: 0.5536 MB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.2319, allocations: 367.6 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.2322, allocations: 226.8 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.2325, allocations: 278.3 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/0.2326, allocations: 28 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.2327, allocations: 28 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2328, allocations: 111.4 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.2329, allocations: 157.3 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009037/0.2338, allocations: 1.025 MB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2339, allocations: 0 / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2339, allocations: 0 / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.2339, allocations: 0 / 0.9869 GB, free: 19.97 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.002781/0.2367, allocations: 1.177 MB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2367, allocations: 8.031 kB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.237, allocations: 98.88 kB / 0.9882 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/0.2379, allocations: 0.559 MB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.238, allocations: 58 kB / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.2382, allocations: 72 kB / 0.9889 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.2408, allocations: 0.8423 MB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.2408, allocations: 0 / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.2409, allocations: 35.98 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.241, allocations: 20 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003211/0.2442, allocations: 0.7534 MB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/0.2494, allocations: 2.52 MB / 0.9929 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.2529, allocations: 0.8205 MB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/0.253, allocations: 8.438 kB / 0.9937 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/0.2546, allocations: 413.1 kB / 0.9941 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 4.549e-06/0.2546, allocations: 4 kB / 0.9941 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.004172/0.2588, allocations: 0.9746 MB / 0.9951 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.2589, allocations: 134 kB / 0.9952 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.26, allocations: 0.6134 MB / 0.9958 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.2601, allocations: 37.7 kB / 0.9959 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.2605, allocations: 384 kB / 0.9962 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.2606, allocations: 177.5 kB / 0.9964 GB, free: 10 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.2607, allocations: 12 kB / 0.9964 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2609, allocations: 374.8 kB / 0.9968 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.2622, allocations: 313 kB / 0.9971 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.2636, allocations: 453.1 kB / 0.9975 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.265, allocations: 389.4 kB / 0.9979 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.265, allocations: 0 / 0.9979 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003163/0.2682, allocations: 0.8881 MB / 0.9987 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.2685, allocations: 0.9351 MB / 0.9996 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2685, allocations: 4 kB / 0.9996 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.2685, allocations: 8 kB / 0.9997 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.2697, allocations: 155.8 kB / 0.9998 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.2697, allocations: 11.94 kB / 0.9998 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.2709, allocations: 155.2 kB / 1 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.271, allocations: 23.98 kB / 1 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.271, allocations: 4 kB / 1 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002362/0.2734, allocations: 0.6882 MB / 1.001 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2734, allocations: 4 kB / 1.001 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2735, allocations: 4 kB / 1.001 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/0.2744, allocations: 135.8 kB / 1.001 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2744, allocations: 11.94 kB / 1.001 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.2753, allocations: 107.5 kB / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.2754, allocations: 35.92 kB / 1.001 GB, free: 5.156 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.0005487/0.276, allocations: 302.5 kB / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2761, allocations: 67.16 kB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.2784, allocations: 0.7411 MB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2785, allocations: 4 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2785, allocations: 0 / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2785, allocations: 7.984 kB / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.2791, allocations: 0.7198 MB / 1.003 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2791, allocations: 0 / 1.003 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.2796, allocations: 143.8 kB / 1.003 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2796, allocations: 0 / 1.003 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.2797, allocations: 16 kB / 1.003 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2797, allocations: 0 / 1.003 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2797, allocations: 8 kB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.2819, allocations: 1.108 MB / 1.004 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.282, allocations: 148.2 kB / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.2821, allocations: 15.98 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.2826, allocations: 91.92 kB / 1.004 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2827, allocations: 48.36 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.2827, allocations: 19.98 kB / 1.004 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004376/0.2832, allocations: 435 kB / 1.005 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2832, allocations: 0 / 1.005 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006229/0.2838, allocations: 262.9 kB / 1.005 GB, free: 0.9414 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.0001304/0.2839, allocations: 115.2 kB / 1.005 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002471/0.2864, allocations: 1.245 MB / 1.006 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2864, allocations: 8.109 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.2873, allocations: 350.2 kB / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.2878, allocations: 121 kB / 1.007 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.2902, 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.0004971/0.2907, allocations: 0.9339 MB / 1.009 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.2911, allocations: 80.97 kB / 1.009 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.2913, allocations: 55.42 kB / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.2913, allocations: 0 / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.01266/0.3039, allocations: 6.928 MB / 1.016 GB, free: 5.609 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)