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.001748/0.001748, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001951/0.001951, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 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 1.554/1.554, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.155/3.155, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.232e-06/1.232e-06, allocations: 0 / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.653e-05, allocations: 9.656 kB / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00474/0.004766, allocations: 2.796 MB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.007896, allocations: 1.11 MB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.008282, allocations: 19.88 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.008621, allocations: 75.14 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.008877, allocations: 95.17 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.009786, allocations: 346.4 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0009993/0.01078, allocations: 0.7339 MB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.01141, allocations: 389 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.0119, allocations: 371.2 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01218, allocations: 183.4 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.0123, allocations: 76 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.01244, allocations: 75.98 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.0126, allocations: 139.6 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.01282, allocations: 179.5 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009958/0.01381, allocations: 0.7788 MB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01382, allocations: 0 / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.681e-06/0.01382, allocations: 4 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.01383, allocations: 0 / 1.008 GB, free: 5.715 MB / 0.9636 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.001817/0.01565, allocations: 0.815 MB / 1.009 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.01569, allocations: 9.344 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.01599, allocations: 76.55 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.0167, allocations: 386.2 kB / 1.009 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.01675, allocations: 41.36 kB / 1.01 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.01684, allocations: 48.38 kB / 1.01 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.01796, allocations: 0.5608 MB / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.01798, allocations: 192 / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.01802, allocations: 16.38 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.01805, allocations: 19.92 kB / 1.01 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.01911, allocations: 395.6 kB / 1.011 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.02159, allocations: 1.575 MB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.0226, allocations: 337.6 kB / 1.012 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.02302, allocations: 157.6 kB / 1.013 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.02307, allocations: 4 kB / 1.013 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.02367, allocations: 251.1 kB / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=35): time 1.472e-06/0.02367, allocations: 0 / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35): time 0.001372/0.02504, allocations: 492.1 kB / 1.013 GB, free: 380 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.02512, allocations: 81.11 kB / 1.013 GB, free: 280 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.02556, allocations: 348.4 kB / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.02562, allocations: 49.81 kB / 1.014 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.02584, allocations: 260.4 kB / 1.014 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.02595, allocations: 99.17 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.02614, allocations: 110.1 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.02634, allocations: 346.8 kB / 1.014 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.02681, allocations: 178.6 kB / 1.015 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.02738, allocations: 291 kB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.02828, allocations: 407.4 kB / 1.015 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.02829, allocations: 4 kB / 1.015 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001218/0.02951, allocations: 0.5361 MB / 1.016 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.02956, allocations: 44.19 kB / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02957, allocations: 0 / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.02959, allocations: 11.94 kB / 1.016 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.02994, allocations: 76.23 kB / 1.016 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.02996, allocations: 8 kB / 1.016 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.03031, allocations: 63.69 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.03035, allocations: 27.92 kB / 1.016 GB, free: 13.31 MB / 0.9792 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.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,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.preHeaCoiCon.I.trigger_internal) * 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.0002729/0.03063, allocations: 205.6 kB / 1.016 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.03069, allocations: 43.77 kB / 1.016 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.03079, allocations: 40.06 kB / 1.016 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.0308, allocations: 7.938 kB / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.03081, allocations: 0 / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.03081, allocations: 3.984 kB / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.03247, allocations: 0.8019 MB / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.03247, allocations: 3.938 kB / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.03274, allocations: 51.89 kB / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.03275, allocations: 4 kB / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.03278, allocations: 8 kB / 1.017 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.03278, allocations: 0 / 1.017 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.03278, allocations: 3.938 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.03425, allocations: 0.6308 MB / 1.018 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.03439, allocations: 67.62 kB / 1.018 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.03444, allocations: 8 kB / 1.018 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.03476, allocations: 44.02 kB / 1.018 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.0349, allocations: 43.88 kB / 1.018 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.03493, allocations: 15.98 kB / 1.018 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00028/0.03521, allocations: 223.1 kB / 1.018 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.03521, allocations: 0 / 1.018 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005622/0.03577, allocations: 103.7 kB / 1.018 GB, free: 10.95 MB / 0.9792 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 0.0001887/0.03596, allocations: 117.2 kB / 1.018 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.03706, allocations: 449 kB / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.03706, allocations: 0 / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.03754, allocations: 176.9 kB / 1.019 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.03809, allocations: 81.72 kB / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.03963, allocations: 0.7247 MB / 1.02 GB, free: 9.348 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.03991, allocations: 224.5 kB / 1.02 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.04011, allocations: 51.25 kB / 1.02 GB, free: 9.055 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.04022, allocations: 36.5 kB / 1.02 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of SimCode: time 5.71e-07/0.04022, allocations: 4 kB / 1.02 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of Templates: time 0.01125/0.05147, allocations: 4.786 MB / 1.025 GB, free: 4.328 MB / 0.9792 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: 8.93808524031192]