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.001171/0.001171, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.0009572/0.0009572, allocations: 172.3 kB / 25.05 MB, free: 9.211 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 0.9341/0.9341, allocations: 177.1 MB / 205.5 MB, free: 5.434 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.947/1.947, allocations: 389.6 MB / 0.6363 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 3.306e-06/3.306e-06, allocations: 4 kB / 0.7761 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.143e-05, allocations: 2.906 kB / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004836/0.004867, allocations: 2.908 MB / 0.7789 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.00744, allocations: 1.164 MB / 0.7801 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.007795, allocations: 23.81 kB / 0.7801 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.008112, allocations: 77.89 kB / 0.7802 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.008339, allocations: 79.2 kB / 0.7803 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.009205, allocations: 353 kB / 0.7806 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.01006, allocations: 0.7299 MB / 0.7813 GB, free: 20 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006629/0.01072, allocations: 418.2 kB / 0.7817 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.01113, allocations: 363.2 kB / 0.7821 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.01141, allocations: 183.9 kB / 0.7822 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.0115, allocations: 68.94 kB / 0.7823 GB, free: 15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.01163, allocations: 71.98 kB / 0.7824 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.01174, allocations: 143.5 kB / 0.7825 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.0119, allocations: 172.4 kB / 0.7827 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.01253, allocations: 458.2 kB / 0.7831 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01254, allocations: 1.438 kB / 0.7831 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01254, allocations: 0 / 0.7831 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.01255, allocations: 4 kB / 0.7831 GB, free: 14.17 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.001186/0.01373, allocations: 0.7619 MB / 0.7839 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.01377, allocations: 9.344 kB / 0.7839 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.01407, allocations: 89.83 kB / 0.7839 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.01459, allocations: 320 kB / 0.7843 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.01464, allocations: 46.03 kB / 0.7843 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.01471, allocations: 44.38 kB / 0.7843 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.01526, allocations: 415.1 kB / 0.7847 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01528, allocations: 4.938 kB / 0.7847 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.01531, allocations: 20.38 kB / 0.7848 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.01533, allocations: 20.62 kB / 0.7848 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.01558, allocations: 124.6 kB / 0.7849 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01708, allocations: 1.27 MB / 0.7861 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.01741, allocations: 176.4 kB / 0.7863 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.0175, allocations: 68.91 kB / 0.7864 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.01753, allocations: 8.812 kB / 0.7864 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.01776, allocations: 168 kB / 0.7865 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 2.565e-06/0.01776, allocations: 0 / 0.7865 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0003725/0.01813, allocations: 201.5 kB / 0.7867 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.01819, allocations: 85.11 kB / 0.7868 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.01846, allocations: 315.5 kB / 0.7871 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.0185, allocations: 49.69 kB / 0.7872 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.01865, allocations: 227.1 kB / 0.7874 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-05/0.01873, allocations: 107.1 kB / 0.7875 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.01886, allocations: 110.1 kB / 0.7876 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01898, allocations: 354.7 kB / 0.7879 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.0191, allocations: 74.67 kB / 0.788 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.01928, allocations: 183.8 kB / 0.7882 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.01956, allocations: 256.9 kB / 0.7884 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01956, allocations: 0 / 0.7884 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004081/0.01997, allocations: 314.4 kB / 0.7887 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.02001, allocations: 36.86 kB / 0.7887 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.02002, allocations: 4 kB / 0.7888 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.02003, allocations: 8.938 kB / 0.7888 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.02032, allocations: 79.83 kB / 0.7888 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.02032, allocations: 8.844 kB / 0.7888 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.02053, allocations: 56.81 kB / 0.7889 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.02056, allocations: 19.98 kB / 0.7889 GB, free: 7.891 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.000156/0.02071, allocations: 151.5 kB / 0.7891 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.02076, allocations: 35.97 kB / 0.7891 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.02083, allocations: 46.81 kB / 0.7891 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.02084, allocations: 4 kB / 0.7891 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.02084, allocations: 0 / 0.7891 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.02084, allocations: 7.922 kB / 0.7892 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.02154, allocations: 477.8 kB / 0.7896 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.02154, allocations: 0 / 0.7896 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.02171, allocations: 45.75 kB / 0.7897 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.02172, allocations: 3.984 kB / 0.7897 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.02174, allocations: 11.94 kB / 0.7897 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.02174, allocations: 4 kB / 0.7897 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02174, allocations: 0 / 0.7897 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.02215, allocations: 327.3 kB / 0.79 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.02225, allocations: 43.69 kB / 0.79 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.02229, allocations: 12.66 kB / 0.79 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.02246, allocations: 26.81 kB / 0.7901 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.02256, allocations: 39.92 kB / 0.7901 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.02258, allocations: 8 kB / 0.7901 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001212/0.0227, allocations: 108.6 kB / 0.7902 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.0227, allocations: 0 / 0.7902 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003863/0.02308, allocations: 99.73 kB / 0.7903 GB, free: 6.418 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.0001487/0.02323, allocations: 99.66 kB / 0.7904 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.02361, allocations: 274.8 kB / 0.7907 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.02362, allocations: 4 kB / 0.7907 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.02376, allocations: 92.62 kB / 0.7908 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.02417, allocations: 92.62 kB / 0.7908 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.02531, allocations: 0.6836 MB / 0.7915 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.528e-05/0.0254, allocations: 110.8 kB / 0.7916 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.02558, allocations: 49.28 kB / 0.7917 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.0258, allocations: 123.3 kB / 0.7918 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of SimCode: time 1.263e-06/0.02581, allocations: 0 / 0.7918 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.0103/0.03611, allocations: 5.067 MB / 0.7967 GB, free: 15.96 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: 4.990193216130137]