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.001019/0.001019, allocations: 80.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.001246/0.001246, allocations: 161 kB / 24.16 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 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.5 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 2.024/2.024, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.633e-06/1.633e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.64e-05, allocations: 3.406 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004349/0.004376, allocations: 2.924 MB / 0.778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.006247, allocations: 1.163 MB / 0.7792 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.006498, allocations: 19.88 kB / 0.7792 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.006713, allocations: 75.14 kB / 0.7792 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.006859, allocations: 88.7 kB / 0.7793 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.007462, allocations: 354.6 kB / 0.7797 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.008035, allocations: 0.7299 MB / 0.7804 GB, free: 72 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.008494, allocations: 409.1 kB / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.008771, allocations: 367.3 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.00895, allocations: 183.4 kB / 0.7813 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.009007, allocations: 68 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.009102, allocations: 75.53 kB / 0.7814 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.009189, allocations: 147.5 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.009293, allocations: 167.6 kB / 0.7817 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.009671, allocations: 462.2 kB / 0.7822 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.009675, allocations: 0 / 0.7822 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.303e-06/0.009676, allocations: 0 / 0.7822 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.009682, allocations: 0 / 0.7822 GB, free: 14.22 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.0008275/0.01051, allocations: 0.7535 MB / 0.7829 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.01054, allocations: 13.34 kB / 0.7829 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.01075, allocations: 93.59 kB / 0.783 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.01112, allocations: 320.5 kB / 0.7833 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.01115, allocations: 41.94 kB / 0.7834 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.0112, allocations: 52.31 kB / 0.7834 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.0116, allocations: 415.3 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01161, allocations: 1.906 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.01163, allocations: 20.38 kB / 0.7838 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.01164, allocations: 15.94 kB / 0.7838 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.01181, allocations: 128.4 kB / 0.784 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01292, allocations: 1.273 MB / 0.7852 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.01319, allocations: 175.2 kB / 0.7854 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.01327, allocations: 62.64 kB / 0.7854 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.0133, allocations: 8 kB / 0.7854 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.0135, allocations: 164 kB / 0.7856 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 2.785e-06/0.0135, allocations: 5.406 kB / 0.7856 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0002958/0.0138, allocations: 192.6 kB / 0.7858 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.01385, allocations: 89.03 kB / 0.7859 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.01405, allocations: 327.8 kB / 0.7862 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.01408, allocations: 41.7 kB / 0.7862 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.01417, allocations: 225.1 kB / 0.7864 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.01423, allocations: 112.2 kB / 0.7865 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01433, allocations: 110 kB / 0.7866 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.01442, allocations: 350.7 kB / 0.787 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.0145, allocations: 75.3 kB / 0.7871 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.01462, allocations: 183.5 kB / 0.7872 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.01483, allocations: 256.1 kB / 0.7875 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01483, allocations: 0 / 0.7875 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000291/0.01512, allocations: 307.9 kB / 0.7878 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.01515, allocations: 37.64 kB / 0.7878 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01516, allocations: 9.438 kB / 0.7878 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.01518, allocations: 4 kB / 0.7878 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01538, allocations: 75.89 kB / 0.7879 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01538, allocations: 11.88 kB / 0.7879 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.01552, allocations: 65.05 kB / 0.788 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.01553, allocations: 12 kB / 0.788 GB, free: 7.949 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.0001137/0.01565, allocations: 155.3 kB / 0.7881 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.01569, allocations: 37.56 kB / 0.7882 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.01574, allocations: 44.05 kB / 0.7882 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01574, allocations: 4 kB / 0.7882 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01574, allocations: 0 / 0.7882 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01575, allocations: 5.75 kB / 0.7882 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.01625, allocations: 477.8 kB / 0.7887 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01625, allocations: 0 / 0.7887 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.01638, allocations: 43.91 kB / 0.7887 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01638, allocations: 7.094 kB / 0.7887 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.0164, allocations: 7.938 kB / 0.7887 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.0164, allocations: 11.97 kB / 0.7887 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0164, allocations: 0 / 0.7887 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.01669, allocations: 326.3 kB / 0.789 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.01675, allocations: 39.7 kB / 0.7891 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.01678, allocations: 15.92 kB / 0.7891 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.0169, allocations: 22.73 kB / 0.7891 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.01697, allocations: 39.92 kB / 0.7892 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01698, allocations: 8 kB / 0.7892 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.01706, allocations: 108.6 kB / 0.7893 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01706, allocations: 3.938 kB / 0.7893 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002273/0.01729, allocations: 101 kB / 0.7894 GB, free: 6.473 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 0.0001089/0.0174, allocations: 107.9 kB / 0.7895 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.01766, allocations: 268.6 kB / 0.7897 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01767, allocations: 4 kB / 0.7897 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01777, allocations: 94.05 kB / 0.7898 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01805, allocations: 89.81 kB / 0.7899 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.01884, allocations: 0.6814 MB / 0.7906 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.056e-05/0.01891, allocations: 109.8 kB / 0.7907 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.01903, allocations: 44.67 kB / 0.7907 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.0192, allocations: 128.3 kB / 0.7908 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.0192, allocations: 0 / 0.7908 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of Templates: time 0.007371/0.02657, allocations: 5.075 MB / 0.7958 GB, free: 20 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1352482149377465]