Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.001295/0.001295, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001472/0.001472, allocations: 161 kB / 24.17 MB, free: 328 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.9907/0.9907, allocations: 177.1 MB / 204.6 MB, free: 5.219 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 2.126/2.126, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.346e-05, allocations: 4.844 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002361/0.002374, allocations: 1.853 MB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.003453, allocations: 0.7092 MB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.003544, allocations: 4 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.003663, allocations: 33.2 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.003729, allocations: 30.22 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.00436, allocations: 261.5 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.004738, allocations: 419.5 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.004998, allocations: 212.2 kB / 0.7786 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.005167, allocations: 207.6 kB / 0.7788 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.005309, allocations: 99.73 kB / 0.7789 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.005346, allocations: 40.84 kB / 0.7789 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.005443, allocations: 55.92 kB / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.005504, allocations: 75.8 kB / 0.7791 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.005586, allocations: 100.3 kB / 0.7792 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.005856, allocations: 283.8 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.005857, allocations: 0 / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005858, allocations: 2.312 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.005863, allocations: 0 / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007838/0.006647, allocations: 457.3 kB / 0.7799 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.00668, allocations: 13.34 kB / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.006863, allocations: 52.89 kB / 0.7799 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.007074, allocations: 172.1 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.007101, allocations: 28.86 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.00713, allocations: 32.38 kB / 0.7801 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.007338, allocations: 204 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.007349, allocations: 192 / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.007363, allocations: 8.375 kB / 0.7803 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.00737, allocations: 4.375 kB / 0.7804 GB, free: 72 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.007474, allocations: 78.28 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.008058, allocations: 0.5313 MB / 0.7809 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.008191, allocations: 98.45 kB / 0.781 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.008235, allocations: 49.5 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.00825, allocations: 7.938 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.008374, allocations: 115.8 kB / 0.7812 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.023e-06/0.008376, allocations: 0 / 0.7812 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0002025/0.008578, allocations: 158.2 kB / 0.7814 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.008607, allocations: 55.41 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.00869, allocations: 161.8 kB / 0.7816 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.008717, allocations: 41.69 kB / 0.7816 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.00878, allocations: 140.8 kB / 0.7817 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.00882, allocations: 76.09 kB / 0.7818 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.008909, allocations: 89.61 kB / 0.7819 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.008987, allocations: 335.8 kB / 0.7822 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.009065, allocations: 73.67 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.009169, allocations: 140.7 kB / 0.7824 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.009332, allocations: 193.2 kB / 0.7826 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.009336, allocations: 4.906 kB / 0.7826 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002601/0.009596, allocations: 255.1 kB / 0.7829 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.00963, allocations: 42.34 kB / 0.7829 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.009638, allocations: 4 kB / 0.7829 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.009656, allocations: 5.688 kB / 0.7829 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.009778, allocations: 31.92 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.009783, allocations: 4 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.009909, allocations: 48.69 kB / 0.783 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.009928, allocations: 12 kB / 0.783 GB, free: 13.19 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.sta.offToOn.enableFire,$PRE.sta.onToOff.enableFire,$whenCondition1,$whenCondition2,sta.onToOff.t_start,$PRE.sta.onToOff.t_start,sta.onToOff.fire,sta.onToOff.enableFire,sta.on.active,sta.on.oldActive,$PRE.sta.on.oldActive,sta.on.newActive,$PRE.sta.on.newActive,sta.on.localActive,$PRE.sta.on.localActive,sta.offToOn.t_start,$PRE.sta.offToOn.t_start,sta.offToOn.fire,sta.offToOn.enableFire,sta.off.active,sta.off.oldActive,$PRE.sta.off.oldActive,sta.off.newActive,$PRE.sta.off.newActive,sta.off.localActive,$PRE.sta.off.localActive,sta.stateGraphRoot.activeSteps,y1.y,$PRE.y1.y,$whenCondition3,$whenCondition4,sta.stateGraphRoot.suspend,sta.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0001124/0.01004, allocations: 150.8 kB / 0.7831 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.01006, allocations: 20.92 kB / 0.7832 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.0101, allocations: 21.95 kB / 0.7832 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.0101, allocations: 4.531 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.0101, allocations: 0 / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01011, allocations: 5.609 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.01046, allocations: 367.7 kB / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01046, allocations: 0 / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.01051, allocations: 21.48 kB / 0.7836 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01051, allocations: 0 / 0.7836 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01052, allocations: 8 kB / 0.7836 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01053, allocations: 3.938 kB / 0.7836 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01053, allocations: 5.219 kB / 0.7836 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.01066, allocations: 220.4 kB / 0.7838 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.01068, allocations: 19.84 kB / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.01069, allocations: 7.984 kB / 0.7838 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.01074, allocations: 8.812 kB / 0.7838 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.01079, allocations: 27.88 kB / 0.7838 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.0108, allocations: 9.125 kB / 0.7839 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.01083, allocations: 27.02 kB / 0.7839 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 0 / 0.7839 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001912/0.01102, allocations: 64.86 kB / 0.7839 GB, free: 12.18 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (sta.offToOn.enableFire,sta.onToOff.enableFire,sta.on.active,sta.off.active,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,y1.y,sta.stateGraphRoot.activeSteps,sta.off.localActive,sta.off.newActive,sta.off.oldActive,sta.offToOn.fire,sta.offToOn.t_start,sta.on.localActive,sta.on.newActive,sta.on.oldActive,sta.onToOff.fire,sta.onToOff.t_start) * Number of discrete states: 2 (sta.off.newActive,sta.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001019/0.01112, allocations: 97.66 kB / 0.784 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.01134, allocations: 243.4 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01134, allocations: 0 / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.0114, allocations: 66.17 kB / 0.7843 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.01157, allocations: 43.44 kB / 0.7844 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.01196, allocations: 351.7 kB / 0.7847 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.012, allocations: 84.34 kB / 0.7848 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.01206, allocations: 24.25 kB / 0.7848 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.01217, allocations: 101.3 kB / 0.7849 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.01217, allocations: 0 / 0.7849 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.00496/0.01713, allocations: 3.002 MB / 0.7878 GB, free: 8.277 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2870382010005414]