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.001274/0.001274, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001366/0.001366, allocations: 165 kB / 24.25 MB, free: 212 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.9724/0.9724, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.976/1.976, allocations: 389.6 MB / 0.6355 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.773e-06/1.773e-06, allocations: 0 / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.171e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004031/0.004053, allocations: 2.91 MB / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.00596, allocations: 1.163 MB / 0.7793 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.006252, allocations: 19.88 kB / 0.7793 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.006543, allocations: 77.42 kB / 0.7794 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.006702, allocations: 88.52 kB / 0.7795 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.007375, allocations: 351.1 kB / 0.7798 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.007997, allocations: 0.7301 MB / 0.7805 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.008463, allocations: 417 kB / 0.7809 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.008784, allocations: 367.2 kB / 0.7813 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.008995, allocations: 179.4 kB / 0.7815 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.009063, allocations: 68 kB / 0.7815 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.009172, allocations: 74.75 kB / 0.7816 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.009275, allocations: 143.5 kB / 0.7817 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.009401, allocations: 175.6 kB / 0.7819 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.0099, allocations: 462.2 kB / 0.7823 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.009903, allocations: 0 / 0.7823 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.009904, allocations: 0 / 0.7823 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.00991, allocations: 0 / 0.7823 GB, free: 14.14 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.0009953/0.01091, allocations: 0.754 MB / 0.7831 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.01095, allocations: 10.16 kB / 0.7831 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.0112, allocations: 96.84 kB / 0.7832 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.01167, allocations: 316.5 kB / 0.7835 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.01172, allocations: 45.86 kB / 0.7835 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.01178, allocations: 45.25 kB / 0.7836 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.01281, allocations: 411.7 kB / 0.784 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01283, allocations: 4.125 kB / 0.784 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.01286, allocations: 24.36 kB / 0.784 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.01287, allocations: 19.94 kB / 0.784 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.01305, allocations: 124.2 kB / 0.7841 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.01422, allocations: 1.282 MB / 0.7854 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.0145, allocations: 165.9 kB / 0.7855 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/0.01457, allocations: 66.42 kB / 0.7856 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.0146, allocations: 8.594 kB / 0.7856 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.0148, allocations: 169 kB / 0.7858 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.01481, allocations: 0 / 0.7858 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0002886/0.01509, allocations: 196.5 kB / 0.786 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.01515, allocations: 89.73 kB / 0.786 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.01535, allocations: 318.6 kB / 0.7863 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.01539, allocations: 46.47 kB / 0.7864 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01551, allocations: 225.2 kB / 0.7866 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.01557, allocations: 108.1 kB / 0.7867 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01568, allocations: 110 kB / 0.7868 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01579, allocations: 354.7 kB / 0.7871 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.01588, allocations: 71.56 kB / 0.7872 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.01602, allocations: 183 kB / 0.7874 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.01626, allocations: 256.2 kB / 0.7876 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.01626, allocations: 4 kB / 0.7876 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003182/0.01658, allocations: 308.4 kB / 0.7879 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.01663, allocations: 44.03 kB / 0.788 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.01663, allocations: 4 kB / 0.788 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01665, allocations: 5.469 kB / 0.788 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.01686, allocations: 79.83 kB / 0.7881 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01687, allocations: 7.938 kB / 0.7881 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.017, allocations: 60.72 kB / 0.7881 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.01702, allocations: 12 kB / 0.7881 GB, free: 7.867 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.0001366/0.01716, allocations: 159.4 kB / 0.7883 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.01719, allocations: 31.97 kB / 0.7883 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.01726, allocations: 45.09 kB / 0.7884 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.01726, allocations: 7.984 kB / 0.7884 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01726, allocations: 1.156 kB / 0.7884 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.01727, allocations: 7.922 kB / 0.7884 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.01781, allocations: 483.3 kB / 0.7888 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01781, allocations: 0 / 0.7888 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01794, allocations: 39.97 kB / 0.7889 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01794, allocations: 7.938 kB / 0.7889 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.01796, allocations: 10.69 kB / 0.7889 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.01797, allocations: 7.984 kB / 0.7889 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01797, allocations: 0 / 0.7889 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.01828, allocations: 318.4 kB / 0.7892 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.01835, allocations: 43.69 kB / 0.7892 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.01838, allocations: 11.94 kB / 0.7893 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01848, allocations: 26 kB / 0.7893 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.01857, allocations: 39.88 kB / 0.7893 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.01858, allocations: 11.98 kB / 0.7893 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.765e-05/0.01867, allocations: 112.6 kB / 0.7894 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01867, allocations: 0.9375 kB / 0.7894 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002313/0.0189, allocations: 99.73 kB / 0.7895 GB, free: 6.383 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.0001348/0.01904, allocations: 97.45 kB / 0.7896 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.01934, allocations: 272.1 kB / 0.7899 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.01935, allocations: 7.938 kB / 0.7899 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.01947, allocations: 97.12 kB / 0.79 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01976, allocations: 95.47 kB / 0.7901 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.02083, allocations: 0.6847 MB / 0.7907 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.0209, allocations: 109.8 kB / 0.7909 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.02103, allocations: 44.77 kB / 0.7909 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.0212, allocations: 123.3 kB / 0.791 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of SimCode: time 1.113e-06/0.02121, allocations: 1.188 kB / 0.791 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of Templates: time 0.007846/0.02905, allocations: 5.07 MB / 0.796 GB, free: 15.93 MB / 0.7605 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: 5.619213440455496]