Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009067/0.0009067, allocations: 84.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9085/0.9085, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.863/1.863, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7751 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.115e-05, allocations: 3.188 kB / 0.7751 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002888/0.002899, allocations: 2.872 MB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004311, allocations: 1.16 MB / 0.7791 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.004492, allocations: 19.88 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.004689, allocations: 79.14 kB / 0.7792 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.004824, allocations: 85.45 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.005344, allocations: 352.3 kB / 0.7796 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004945/0.005839, allocations: 0.7347 MB / 0.7803 GB, free: 196 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.006229, allocations: 422.1 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.006559, allocations: 371.2 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.006758, allocations: 179.9 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.006831, allocations: 72.78 kB / 0.7813 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.006913, allocations: 75.94 kB / 0.7814 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.007006, allocations: 149.2 kB / 0.7815 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.007119, allocations: 167.6 kB / 0.7817 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.007479, allocations: 454.3 kB / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.007481, allocations: 0 / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.007481, allocations: 4 kB / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.007486, allocations: 0.5312 kB / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0007953/0.008281, allocations: 0.7628 MB / 0.7828 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.008313, allocations: 9.344 kB / 0.7829 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.008501, allocations: 92.84 kB / 0.7829 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.008865, allocations: 318.9 kB / 0.7832 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.008898, allocations: 41.38 kB / 0.7833 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.008951, allocations: 52.36 kB / 0.7833 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.009337, allocations: 406.2 kB / 0.7837 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.00935, allocations: 4.188 kB / 0.7837 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.009375, allocations: 16.38 kB / 0.7837 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.009386, allocations: 17.12 kB / 0.7838 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.009552, allocations: 135.6 kB / 0.7839 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01059, allocations: 1.274 MB / 0.7851 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.01083, allocations: 171.4 kB / 0.7853 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.0109, allocations: 66.75 kB / 0.7854 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.01092, allocations: 11.98 kB / 0.7854 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.01109, allocations: 167.5 kB / 0.7855 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.01109, allocations: 0.9062 kB / 0.7855 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0002593/0.01135, allocations: 193.9 kB / 0.7857 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.01139, allocations: 93.09 kB / 0.7858 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.01157, allocations: 318.6 kB / 0.7861 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.0116, allocations: 42.52 kB / 0.7861 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.0117, allocations: 225.2 kB / 0.7864 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.01176, allocations: 111.1 kB / 0.7865 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.01185, allocations: 107.5 kB / 0.7866 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.01194, allocations: 354.7 kB / 0.7869 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.01202, allocations: 70.69 kB / 0.787 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.01214, allocations: 196.5 kB / 0.7872 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.01233, allocations: 255 kB / 0.7874 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01234, allocations: 0 / 0.7874 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002606/0.0126, allocations: 305 kB / 0.7877 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01262, allocations: 33.7 kB / 0.7877 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01263, allocations: 5.125 kB / 0.7877 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01264, allocations: 4 kB / 0.7877 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01279, allocations: 71.89 kB / 0.7878 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.0128, allocations: 12.78 kB / 0.7878 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.01293, allocations: 64.42 kB / 0.7879 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.01294, allocations: 12.62 kB / 0.7879 GB, free: 8.059 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.toOn.t_start,$PRE.preHeatCoil.toOn.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,preHeatCoil.stateGraphRoot.suspend,preHeatCoil.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.01306, allocations: 154.8 kB / 0.788 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.01309, allocations: 41.08 kB / 0.7881 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.01314, allocations: 40.06 kB / 0.7881 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01314, allocations: 4 kB / 0.7881 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01314, allocations: 1.406 kB / 0.7881 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01315, allocations: 3.938 kB / 0.7881 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.0136, allocations: 473.8 kB / 0.7886 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0136, allocations: 1.344 kB / 0.7886 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.0137, allocations: 43.91 kB / 0.7886 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01371, allocations: 4 kB / 0.7886 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.01372, allocations: 9.375 kB / 0.7886 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01372, allocations: 4 kB / 0.7886 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01373, allocations: 3.984 kB / 0.7886 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.014, allocations: 323.8 kB / 0.789 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.01406, allocations: 43.64 kB / 0.789 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.01409, allocations: 15.92 kB / 0.789 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01419, allocations: 25.39 kB / 0.789 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.01426, allocations: 35.92 kB / 0.7891 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01427, allocations: 10.81 kB / 0.7891 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.01435, allocations: 112.6 kB / 0.7892 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01435, allocations: 0 / 0.7892 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002086/0.01455, allocations: 99.73 kB / 0.7893 GB, free: 6.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 19 (preHeatCoil.toOn.t_start,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOff.active,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 5 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y,preHeatCoil.toOn.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.127e-05/0.01465, allocations: 102.3 kB / 0.7894 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01488, allocations: 274.2 kB / 0.7896 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01489, allocations: 4 kB / 0.7896 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.015, allocations: 100.5 kB / 0.7897 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01525, allocations: 95.16 kB / 0.7898 GB, free: 6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.01598, allocations: 0.6816 MB / 0.7905 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.01604, allocations: 109.8 kB / 0.7906 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.01615, allocations: 48.91 kB / 0.7906 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.01632, allocations: 127.3 kB / 0.7908 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01632, allocations: 0.625 kB / 0.7908 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.006747/0.02307, allocations: 5.066 MB / 0.7957 GB, free: 132 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.703460535034537]