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.0008829/0.0008829, allocations: 80.81 kB / 21.54 MB, free: 2.953 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.0008503/0.0008503, allocations: 165.7 kB / 24.96 MB, free: 9.184 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.8681/0.8681, allocations: 177.1 MB / 205.4 MB, free: 5.098 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.872/1.872, allocations: 389.6 MB / 0.6362 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 1.332e-06/1.332e-06, allocations: 0 / 0.7759 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.335e-05, allocations: 8.5 kB / 0.7759 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003189/0.003212, allocations: 2.918 MB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.005144, allocations: 1.167 MB / 0.7799 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.005399, allocations: 15.88 kB / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.005616, allocations: 81.33 kB / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.00577, allocations: 87.66 kB / 0.7801 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.006374, allocations: 348.9 kB / 0.7804 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.006982, allocations: 0.7222 MB / 0.7811 GB, free: 96 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.007432, allocations: 418 kB / 0.7815 GB, free: 15.68 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.007717, allocations: 367.2 kB / 0.7819 GB, free: 15.32 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.0079, allocations: 180.7 kB / 0.7821 GB, free: 15.14 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.007958, allocations: 68 kB / 0.7821 GB, free: 15.07 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.008049, allocations: 82.08 kB / 0.7822 GB, free: 15 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.008135, allocations: 139.5 kB / 0.7823 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.008247, allocations: 175.5 kB / 0.7825 GB, free: 14.69 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.008656, allocations: 462.2 kB / 0.7829 GB, free: 14.23 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.008659, allocations: 0 / 0.7829 GB, free: 14.23 MB / 0.7449 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00866, allocations: 0 / 0.7829 GB, free: 14.23 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.008666, allocations: 2.75 kB / 0.7829 GB, free: 14.23 MB / 0.7449 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.000843/0.009509, allocations: 0.7502 MB / 0.7837 GB, free: 13.46 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.009539, allocations: 9.344 kB / 0.7837 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.009741, allocations: 96.83 kB / 0.7838 GB, free: 13.36 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.01012, allocations: 315 kB / 0.7841 GB, free: 13.02 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.01015, allocations: 43.12 kB / 0.7841 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.0102, allocations: 48.31 kB / 0.7842 GB, free: 12.94 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.01061, allocations: 418.2 kB / 0.7846 GB, free: 12.5 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01062, allocations: 1.406 kB / 0.7846 GB, free: 12.5 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.01065, allocations: 20.38 kB / 0.7846 GB, free: 12.48 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01066, allocations: 15.94 kB / 0.7846 GB, free: 12.46 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.01083, allocations: 124.6 kB / 0.7847 GB, free: 12.34 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.0119, allocations: 1.289 MB / 0.786 GB, free: 11.01 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.01214, allocations: 176.5 kB / 0.7861 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.01221, allocations: 57.7 kB / 0.7862 GB, free: 10.76 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.01223, allocations: 4.906 kB / 0.7862 GB, free: 10.75 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.0124, allocations: 168.4 kB / 0.7864 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=35): time 2.003e-06/0.0124, allocations: 0 / 0.7864 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of matching and sorting (n=35): time 0.0002528/0.01266, allocations: 197.4 kB / 0.7866 GB, free: 10.38 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.01269, allocations: 89.05 kB / 0.7866 GB, free: 10.27 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.01311, allocations: 328.3 kB / 0.787 GB, free: 9.938 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.01314, allocations: 41.7 kB / 0.787 GB, free: 9.891 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.01324, allocations: 229.2 kB / 0.7872 GB, free: 9.66 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.01329, allocations: 99.14 kB / 0.7873 GB, free: 9.562 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.01339, allocations: 114 kB / 0.7874 GB, free: 9.445 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.01347, allocations: 355.6 kB / 0.7878 GB, free: 9.09 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.01354, allocations: 70.67 kB / 0.7878 GB, free: 9.012 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.01366, allocations: 180.3 kB / 0.788 GB, free: 8.793 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01386, allocations: 256.1 kB / 0.7882 GB, free: 8.5 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01386, allocations: 0 / 0.7882 GB, free: 8.5 MB / 0.7449 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002614/0.01412, allocations: 306.6 kB / 0.7885 GB, free: 8.184 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.01415, allocations: 38.92 kB / 0.7886 GB, free: 8.141 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01416, allocations: 7.938 kB / 0.7886 GB, free: 8.133 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01417, allocations: 4 kB / 0.7886 GB, free: 8.129 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.01436, allocations: 80.92 kB / 0.7887 GB, free: 8.051 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01436, allocations: 11.88 kB / 0.7887 GB, free: 8.039 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01449, allocations: 60.95 kB / 0.7887 GB, free: 7.98 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01451, allocations: 12 kB / 0.7887 GB, free: 7.969 MB / 0.7449 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.0001078/0.01462, allocations: 152.4 kB / 0.7889 GB, free: 7.812 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.01466, allocations: 35.91 kB / 0.7889 GB, free: 7.777 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.01471, allocations: 52.05 kB / 0.789 GB, free: 7.727 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01472, allocations: 8 kB / 0.789 GB, free: 7.719 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01472, allocations: 1.469 kB / 0.789 GB, free: 7.719 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01472, allocations: 3.938 kB / 0.789 GB, free: 7.715 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.01519, allocations: 473.8 kB / 0.7894 GB, free: 7.227 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.0152, allocations: 0.875 kB / 0.7894 GB, free: 7.227 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.01531, allocations: 47.91 kB / 0.7895 GB, free: 7.18 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01532, allocations: 4.719 kB / 0.7895 GB, free: 7.176 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.01533, allocations: 11.94 kB / 0.7895 GB, free: 7.164 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01534, allocations: 1.812 kB / 0.7895 GB, free: 7.164 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01534, allocations: 7.984 kB / 0.7895 GB, free: 7.156 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.01562, allocations: 322.4 kB / 0.7898 GB, free: 6.816 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.01568, allocations: 42.08 kB / 0.7899 GB, free: 6.777 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.01571, allocations: 15.92 kB / 0.7899 GB, free: 6.762 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01581, allocations: 23.98 kB / 0.7899 GB, free: 6.738 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.01588, allocations: 39.92 kB / 0.7899 GB, free: 6.699 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01589, allocations: 4 kB / 0.7899 GB, free: 6.695 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 7.784e-05/0.01597, allocations: 115 kB / 0.79 GB, free: 6.586 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.01597, allocations: 0 / 0.79 GB, free: 6.586 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002247/0.01619, allocations: 99.73 kB / 0.7901 GB, free: 6.488 MB / 0.7449 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 9.581e-05/0.01629, allocations: 101.3 kB / 0.7902 GB, free: 6.383 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.01654, allocations: 265.8 kB / 0.7905 GB, free: 6.105 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.01655, allocations: 4 kB / 0.7905 GB, free: 6.102 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.01665, allocations: 99.45 kB / 0.7906 GB, free: 6.004 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01691, allocations: 93.38 kB / 0.7907 GB, free: 5.914 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.01766, allocations: 0.6853 MB / 0.7913 GB, free: 5.191 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.01772, allocations: 109.8 kB / 0.7914 GB, free: 5.062 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.01784, allocations: 44.55 kB / 0.7915 GB, free: 5.027 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.01801, allocations: 125.3 kB / 0.7916 GB, free: 4.906 MB / 0.7449 GB Notification: Performance of SimCode: time 7.02e-07/0.01801, allocations: 0 / 0.7916 GB, free: 4.906 MB / 0.7449 GB Notification: Performance of Templates: time 0.007376/0.02539, allocations: 5.067 MB / 0.7966 GB, free: 40 kB / 0.7449 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.763677392154932]