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.00238/0.00238, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.003275/0.003275, allocations: 212 kB / 23.02 MB, free: 2.957 MB / 13.93 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.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 9.562 MB / 202.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.329/3.329, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 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 0.003774/0.003774, allocations: 63.91 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8997/0.9035, allocations: 180 MB / 1.353 GB, free: 1.594 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.005107/0.9086, allocations: 2.8 MB / 1.356 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.9112, allocations: 1.103 MB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.9115, allocations: 15.88 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.9118, allocations: 87.12 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.912, allocations: 83.2 kB / 1.357 GB, free: 13.49 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008881/0.9129, allocations: 349 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0009593/0.9138, allocations: 0.7262 MB / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.9145, allocations: 387.9 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.9148, allocations: 255.1 kB / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.9152, allocations: 222.7 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.9153, allocations: 72 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.9155, allocations: 80 kB / 1.359 GB, free: 11.42 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.9156, allocations: 135.6 kB / 1.359 GB, free: 11.29 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.9159, allocations: 218.9 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009917/0.9169, allocations: 0.7549 MB / 1.36 GB, free: 10.31 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.9169, allocations: 3.984 kB / 1.36 GB, free: 10.31 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9169, allocations: 3.938 kB / 1.36 GB, free: 10.3 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.9169, allocations: 0 / 1.36 GB, free: 10.3 MB / 1.042 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.001802/0.9187, allocations: 0.8189 MB / 1.361 GB, free: 9.445 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.9187, allocations: 12.92 kB / 1.361 GB, free: 9.434 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.919, allocations: 76.48 kB / 1.361 GB, free: 9.359 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.9198, allocations: 383 kB / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.9198, allocations: 41.36 kB / 1.361 GB, free: 8.918 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.9199, allocations: 48.38 kB / 1.361 GB, free: 8.871 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.9211, allocations: 0.5606 MB / 1.362 GB, free: 8.273 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.9211, allocations: 4 kB / 1.362 GB, free: 8.27 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.9212, allocations: 20 kB / 1.362 GB, free: 8.25 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.9212, allocations: 8 kB / 1.362 GB, free: 8.242 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.9223, allocations: 399.6 kB / 1.362 GB, free: 7.852 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.9247, allocations: 1.583 MB / 1.364 GB, free: 6.215 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009905/0.9257, allocations: 345.2 kB / 1.364 GB, free: 5.859 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.9261, allocations: 161.6 kB / 1.364 GB, free: 5.695 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.9262, allocations: 7.938 kB / 1.364 GB, free: 5.688 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005987/0.9268, allocations: 243.2 kB / 1.365 GB, free: 5.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.9268, allocations: 0 / 1.365 GB, free: 5.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=35): time 0.001356/0.9281, allocations: 476.2 kB / 1.365 GB, free: 4.961 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.9282, allocations: 89.09 kB / 1.365 GB, free: 4.855 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.9287, allocations: 356.2 kB / 1.365 GB, free: 4.496 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.9287, allocations: 45.81 kB / 1.365 GB, free: 4.445 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.929, allocations: 252.6 kB / 1.366 GB, free: 4.195 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.9291, allocations: 107.2 kB / 1.366 GB, free: 4.09 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.9293, allocations: 110.1 kB / 1.366 GB, free: 3.977 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.9295, allocations: 346.8 kB / 1.366 GB, free: 3.629 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.9299, allocations: 178.6 kB / 1.366 GB, free: 3.445 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.9305, allocations: 287 kB / 1.367 GB, free: 3.117 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009068/0.9314, allocations: 411.4 kB / 1.367 GB, free: 2.668 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9314, allocations: 0 / 1.367 GB, free: 2.668 MB / 1.042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001203/0.9326, allocations: 0.54 MB / 1.368 GB, free: 2.109 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.9327, allocations: 41.62 kB / 1.368 GB, free: 2.062 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.9327, allocations: 4 kB / 1.368 GB, free: 2.059 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.9327, allocations: 8 kB / 1.368 GB, free: 2.051 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.933, allocations: 76.23 kB / 1.368 GB, free: 1.977 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.9331, allocations: 4 kB / 1.368 GB, free: 1.973 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.9334, allocations: 71.62 kB / 1.368 GB, free: 1.902 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.9335, allocations: 20 kB / 1.368 GB, free: 1.883 MB / 1.042 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.0002903/0.9338, allocations: 205.7 kB / 1.368 GB, free: 1.672 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.9338, allocations: 43.7 kB / 1.368 GB, free: 1.629 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.9339, allocations: 44.06 kB / 1.368 GB, free: 1.582 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.9339, allocations: 4 kB / 1.368 GB, free: 1.578 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.9339, allocations: 0 / 1.368 GB, free: 1.578 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.934, allocations: 7.922 kB / 1.368 GB, free: 1.57 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.9357, allocations: 0.8085 MB / 1.369 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9357, allocations: 0 / 1.369 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.936, allocations: 47.89 kB / 1.369 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.936, allocations: 4 kB / 1.369 GB, free: 0.6719 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.936, allocations: 4 kB / 1.369 GB, free: 0.668 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.936, allocations: 4 kB / 1.369 GB, free: 0.6641 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.936, allocations: 0 / 1.369 GB, free: 0.6641 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.9374, allocations: 0.6437 MB / 1.37 GB, free: 0 / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.9376, allocations: 71.69 kB / 1.37 GB, free: 15.93 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.9377, allocations: 8 kB / 1.37 GB, free: 15.92 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.938, allocations: 36.02 kB / 1.37 GB, free: 15.89 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.9381, allocations: 43.94 kB / 1.37 GB, free: 15.84 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.9381, allocations: 11.98 kB / 1.37 GB, free: 15.83 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003125/0.9385, allocations: 227.1 kB / 1.37 GB, free: 15.61 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/0.9385, allocations: 0 / 1.37 GB, free: 15.61 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0004566/0.9389, allocations: 99.73 kB / 1.37 GB, free: 15.52 MB / 1.057 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.000184/0.9391, allocations: 123.5 kB / 1.37 GB, free: 15.39 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.9402, allocations: 452.7 kB / 1.371 GB, free: 14.93 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9402, allocations: 4 kB / 1.371 GB, free: 14.93 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.9406, allocations: 164.6 kB / 1.371 GB, free: 14.77 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.9412, allocations: 92.22 kB / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.9428, allocations: 0.739 MB / 1.372 GB, free: 13.9 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.9431, allocations: 228.6 kB / 1.372 GB, free: 13.65 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.9433, allocations: 43.27 kB / 1.372 GB, free: 13.61 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.9434, allocations: 31.44 kB / 1.372 GB, free: 13.58 MB / 1.057 GB Notification: Performance of SimCode: time 6.21e-07/0.9434, allocations: 0 / 1.372 GB, free: 13.58 MB / 1.057 GB Notification: Performance of Templates: time 0.01176/0.9552, allocations: 5.151 MB / 1.377 GB, free: 8.527 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.273730443790555]