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.0007124/0.0007124, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009934/0.001706, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0007049/0.0007049, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009043/0.001609, allocations: 479.5 kB / 11.82 MB, free: 2.34 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 0.9822/0.9822, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08657/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.953/1.953, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.527/2.48, allocations: 127.1 MB / 0.7435 GB, free: 4.566 MB / 0.7136 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.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.904e-06/1.904e-06, allocations: 0 / 0.7448 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.404e-05, allocations: 5.734 kB / 0.7448 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002756/0.00278, allocations: 1.861 MB / 0.7466 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.003571, allocations: 0.7017 MB / 0.7473 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.587e-05/0.003647, allocations: 7.938 kB / 0.7473 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.53e-05/0.003733, allocations: 21 kB / 0.7473 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.003784, allocations: 35.05 kB / 0.7473 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.004209, allocations: 257.2 kB / 0.7476 GB, free: 432 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.00454, allocations: 416.8 kB / 0.748 GB, free: 32 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.004767, allocations: 212.6 kB / 0.7482 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.00492, allocations: 207.6 kB / 0.7484 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005056, allocations: 103.7 kB / 0.7485 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.005098, allocations: 40 kB / 0.7485 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.005194, allocations: 55.92 kB / 0.7486 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.005251, allocations: 55.88 kB / 0.7486 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.005323, allocations: 86.28 kB / 0.7487 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.005567, allocations: 239.2 kB / 0.7489 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.005579, allocations: 0 / 0.7489 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/0.00558, allocations: 0 / 0.7489 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.005592, allocations: 3.938 kB / 0.7489 GB, free: 15.05 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.0005898/0.006182, allocations: 0.5059 MB / 0.7494 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.00621, allocations: 8.031 kB / 0.7494 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.006429, allocations: 134 kB / 0.7496 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.006617, allocations: 164.2 kB / 0.7497 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.006644, allocations: 28.88 kB / 0.7498 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.006676, allocations: 32.38 kB / 0.7498 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.00687, allocations: 207.9 kB / 0.75 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006879, allocations: 192 / 0.75 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.006896, allocations: 16.36 kB / 0.75 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.006905, allocations: 8.375 kB / 0.75 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.357e-05/0.006989, allocations: 70.16 kB / 0.7501 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.007525, allocations: 0.5312 MB / 0.7506 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.007657, allocations: 106.5 kB / 0.7507 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.007697, allocations: 40.84 kB / 0.7507 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.007712, allocations: 7.938 kB / 0.7507 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.007829, allocations: 115.5 kB / 0.7509 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.313e-06/0.00783, allocations: 0 / 0.7509 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0001802/0.008011, allocations: 153.6 kB / 0.751 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.008046, allocations: 63.34 kB / 0.7511 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.008127, allocations: 164.8 kB / 0.7512 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.008154, allocations: 41.69 kB / 0.7513 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.008213, allocations: 137.4 kB / 0.7514 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.008249, allocations: 68.14 kB / 0.7515 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.008325, allocations: 89.61 kB / 0.7515 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.008396, allocations: 339.4 kB / 0.7519 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.008464, allocations: 73.67 kB / 0.7519 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.008554, allocations: 141.4 kB / 0.7521 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.008687, allocations: 188.3 kB / 0.7522 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.00869, allocations: 0 / 0.7522 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002056/0.008895, allocations: 264.4 kB / 0.7525 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.008925, allocations: 34.44 kB / 0.7525 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.008929, allocations: 4 kB / 0.7525 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008942, allocations: 5.531 kB / 0.7525 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.009053, allocations: 39.92 kB / 0.7526 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.009056, allocations: 0 / 0.7526 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.009159, allocations: 48.25 kB / 0.7526 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.009176, allocations: 16.59 kB / 0.7526 GB, free: 11 MB / 0.7292 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 7.975e-05/0.009255, allocations: 148 kB / 0.7528 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.009273, allocations: 19.98 kB / 0.7528 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.009304, allocations: 21.97 kB / 0.7528 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.009305, allocations: 0.6562 kB / 0.7528 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.009306, allocations: 0 / 0.7528 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00931, allocations: 9.656 kB / 0.7528 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.009628, allocations: 367.5 kB / 0.7532 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.00963, allocations: 3.984 kB / 0.7532 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.009681, allocations: 23.98 kB / 0.7532 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.009693, allocations: 16.66 kB / 0.7532 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.009695, allocations: 0 / 0.7532 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.009705, allocations: 16.44 kB / 0.7532 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.009708, allocations: 4.734 kB / 0.7532 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009709, allocations: 3.938 kB / 0.7533 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.00983, allocations: 219.7 kB / 0.7535 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.009846, allocations: 4 kB / 0.7535 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.009889, allocations: 8 kB / 0.7535 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.00994, allocations: 31.88 kB / 0.7535 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.009947, allocations: 4.875 kB / 0.7535 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.009968, allocations: 27.33 kB / 0.7535 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.009968, allocations: 0.5312 kB / 0.7535 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001666/0.01013, allocations: 67.88 kB / 0.7536 GB, free: 9.992 MB / 0.7292 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.0001044/0.01024, allocations: 102.6 kB / 0.7537 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.01044, allocations: 242.7 kB / 0.7539 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.01045, allocations: 1.094 kB / 0.7539 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.01052, allocations: 86.08 kB / 0.754 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01074, allocations: 263.2 kB / 0.7543 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.01128, allocations: 348.7 kB / 0.7546 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.01133, allocations: 84.31 kB / 0.7547 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.21e-05/0.01138, allocations: 21.02 kB / 0.7547 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.01149, allocations: 103.3 kB / 0.7548 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.01149, allocations: 0 / 0.7548 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of Templates: time 0.004388/0.01588, allocations: 3.048 MB / 0.7578 GB, free: 5.762 MB / 0.7292 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 -lv LOG_STATS > Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.101426771841943]