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.0009203/0.0009203, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.001072/0.001072, allocations: 169.5 kB / 25.18 MB, free: 8.926 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.9951/0.9951, allocations: 177.1 MB / 205.6 MB, free: 5.398 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.884/1.884, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.824e-06/1.824e-06, allocations: 0 / 0.7755 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.952e-05, allocations: 3.219 kB / 0.7755 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004924/0.004954, allocations: 2.915 MB / 0.7784 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.007601, allocations: 1.159 MB / 0.7795 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.007981, allocations: 15.88 kB / 0.7795 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.008461, allocations: 84.8 kB / 0.7796 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.008873, allocations: 87.94 kB / 0.7797 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.009749, allocations: 347.4 kB / 0.78 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.01031, allocations: 0.7299 MB / 0.7807 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.01073, allocations: 413.1 kB / 0.7811 GB, free: 260 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.01102, allocations: 367.2 kB / 0.7815 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.01124, allocations: 186.1 kB / 0.7816 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.01133, allocations: 68 kB / 0.7817 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.01147, allocations: 72 kB / 0.7818 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.01159, allocations: 135.6 kB / 0.7819 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.01171, allocations: 179.5 kB / 0.7821 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.0122, allocations: 458.2 kB / 0.7825 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01221, allocations: 0 / 0.7825 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.01221, allocations: 1.688 kB / 0.7825 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.01221, allocations: 0 / 0.7825 GB, free: 14.82 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.0008755/0.01309, allocations: 0.7646 MB / 0.7833 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.01313, allocations: 9.875 kB / 0.7833 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.01335, allocations: 92.86 kB / 0.7834 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.01377, allocations: 316.9 kB / 0.7837 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/0.01381, allocations: 42.81 kB / 0.7837 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.01386, allocations: 48.38 kB / 0.7837 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.01431, allocations: 414.9 kB / 0.7841 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01432, allocations: 192 / 0.7841 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.01435, allocations: 21.06 kB / 0.7842 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.01436, allocations: 15.94 kB / 0.7842 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.01453, allocations: 124.5 kB / 0.7843 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.01564, allocations: 1.282 MB / 0.7855 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.0159, allocations: 183.9 kB / 0.7857 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.01597, allocations: 63.56 kB / 0.7858 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.01599, allocations: 4 kB / 0.7858 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.01619, allocations: 171 kB / 0.7859 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.01619, allocations: 0.8125 kB / 0.7859 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0002759/0.01647, allocations: 201.2 kB / 0.7861 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.01651, allocations: 81.11 kB / 0.7862 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.01671, allocations: 323.6 kB / 0.7865 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.01674, allocations: 45.7 kB / 0.7866 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01685, allocations: 226 kB / 0.7868 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.01692, allocations: 107.1 kB / 0.7869 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.01702, allocations: 114 kB / 0.787 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01713, allocations: 351.7 kB / 0.7873 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.01721, allocations: 70.67 kB / 0.7874 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01734, allocations: 187.8 kB / 0.7876 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.01755, allocations: 253 kB / 0.7878 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01755, allocations: 3.984 kB / 0.7878 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002923/0.01784, allocations: 307.2 kB / 0.7881 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.01788, allocations: 37.7 kB / 0.7882 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.01789, allocations: 7.938 kB / 0.7882 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01791, allocations: 4.938 kB / 0.7882 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.01811, allocations: 79.83 kB / 0.7882 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.01812, allocations: 12.88 kB / 0.7883 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01825, allocations: 60.36 kB / 0.7883 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.01827, allocations: 16 kB / 0.7883 GB, free: 8.531 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.0001179/0.01839, allocations: 147.8 kB / 0.7885 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.01842, allocations: 31.97 kB / 0.7885 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.01847, allocations: 44.06 kB / 0.7885 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01848, allocations: 9.734 kB / 0.7885 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01848, allocations: 4 kB / 0.7886 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.01849, allocations: 7.938 kB / 0.7886 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.01897, allocations: 476.6 kB / 0.789 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01897, allocations: 4 kB / 0.789 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.01909, allocations: 39.91 kB / 0.7891 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01909, allocations: 4 kB / 0.7891 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01911, allocations: 11.94 kB / 0.7891 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.01911, allocations: 0 / 0.7891 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01911, allocations: 0 / 0.7891 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.0194, allocations: 336.2 kB / 0.7894 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.01946, allocations: 35.7 kB / 0.7894 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.01949, allocations: 15.92 kB / 0.7894 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.01959, allocations: 20.92 kB / 0.7895 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.01966, allocations: 39.92 kB / 0.7895 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.01968, allocations: 12.72 kB / 0.7895 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.703e-05/0.01975, allocations: 104.6 kB / 0.7896 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01975, allocations: 0.5938 kB / 0.7896 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000212/0.01997, allocations: 107.7 kB / 0.7897 GB, free: 7.059 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.0001236/0.02009, allocations: 100.6 kB / 0.7898 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.02035, allocations: 264.7 kB / 0.7901 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.02036, allocations: 7.031 kB / 0.7901 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.02046, allocations: 96.61 kB / 0.7902 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.02073, allocations: 81.45 kB / 0.7902 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.02152, allocations: 0.709 MB / 0.7909 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.02168, allocations: 219.1 kB / 0.7911 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.02186, allocations: 135.3 kB / 0.7913 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of SimCode: time 1.142e-06/0.02186, allocations: 4.875 kB / 0.7913 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of Templates: time 0.005291/0.02715, allocations: 5.636 MB / 0.7968 GB, free: 15.86 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 > Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.774266614578664]