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.001176/0.001176, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001976/0.003152, allocations: 449.7 kB / 10.37 MB, free: 328 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.001428/0.001428, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001857/0.003286, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.114/1.114, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07922/1.193, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.94/1.94, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4977/2.438, allocations: 127.1 MB / 0.7432 GB, free: 4.602 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.844e-06/1.844e-06, allocations: 0 / 0.7445 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.011e-05, allocations: 5.125 kB / 0.7445 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.00236/0.00238, allocations: 1.859 MB / 0.7463 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.003249, allocations: 0.7087 MB / 0.747 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.003335, allocations: 4.766 kB / 0.747 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.332e-05/0.003428, allocations: 33.7 kB / 0.747 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.003485, allocations: 28.81 kB / 0.747 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.00396, allocations: 255.4 kB / 0.7473 GB, free: 492 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.004359, allocations: 412.4 kB / 0.7477 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.004646, allocations: 218.3 kB / 0.7479 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.004828, allocations: 207.6 kB / 0.7481 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.00498, allocations: 103.7 kB / 0.7482 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.005019, allocations: 40 kB / 0.7482 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.005123, allocations: 59.88 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.005182, allocations: 55.86 kB / 0.7483 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.005257, allocations: 75.88 kB / 0.7484 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.005529, allocations: 247.2 kB / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.237e-05/0.005551, allocations: 1.312 kB / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005552, allocations: 0 / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.034e-05/0.005572, allocations: 3.938 kB / 0.7486 GB, free: 15.11 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.0006299/0.006202, allocations: 0.502 MB / 0.7491 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.006233, allocations: 8.031 kB / 0.7491 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.006446, allocations: 130 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.006664, allocations: 170.4 kB / 0.7494 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.006695, allocations: 25.45 kB / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.006725, allocations: 36.31 kB / 0.7495 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.006932, allocations: 201.1 kB / 0.7497 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006942, allocations: 192 / 0.7497 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.006957, allocations: 12.38 kB / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.006965, allocations: 9.781 kB / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.007058, allocations: 67.39 kB / 0.7498 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.007659, allocations: 0.5358 MB / 0.7503 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.007811, allocations: 98.52 kB / 0.7504 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.007856, allocations: 53.28 kB / 0.7504 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.007877, allocations: 5.219 kB / 0.7504 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.008026, allocations: 117.1 kB / 0.7505 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.008027, allocations: 0 / 0.7505 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0002031/0.00823, allocations: 151 kB / 0.7507 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.008266, allocations: 63.33 kB / 0.7507 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.008354, allocations: 165.9 kB / 0.7509 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.008382, allocations: 37.7 kB / 0.7509 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.008452, allocations: 136.8 kB / 0.7511 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.008494, allocations: 76.06 kB / 0.7511 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.008573, allocations: 88.06 kB / 0.7512 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.008648, allocations: 334.7 kB / 0.7515 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.008721, allocations: 77.67 kB / 0.7516 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.008814, allocations: 140.6 kB / 0.7517 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.008952, allocations: 185.2 kB / 0.7519 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.008955, allocations: 0 / 0.7519 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002193/0.009174, allocations: 267.8 kB / 0.7522 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.009209, allocations: 33.7 kB / 0.7522 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.009215, allocations: 1.781 kB / 0.7522 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.009226, allocations: 4 kB / 0.7522 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.009351, allocations: 47.91 kB / 0.7523 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.009357, allocations: 7.984 kB / 0.7523 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.009473, allocations: 44.39 kB / 0.7523 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.009491, allocations: 20.58 kB / 0.7523 GB, free: 11.06 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 9.198e-05/0.009583, allocations: 153 kB / 0.7525 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.009603, allocations: 15.98 kB / 0.7525 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.009633, allocations: 17.97 kB / 0.7525 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.009636, allocations: 4 kB / 0.7525 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.009638, allocations: 0 / 0.7525 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.004e-05/0.009718, allocations: 3.984 kB / 0.7525 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.01007, allocations: 375.2 kB / 0.7529 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01007, allocations: 0 / 0.7529 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.01013, allocations: 20 kB / 0.7529 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.01014, allocations: 23.83 kB / 0.7529 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01014, allocations: 3.938 kB / 0.7529 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.01015, allocations: 3.938 kB / 0.7529 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01016, allocations: 4 kB / 0.7529 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01016, allocations: 0 / 0.7529 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.01029, allocations: 218 kB / 0.7531 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.0103, allocations: 5.062 kB / 0.7531 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.01035, allocations: 11.98 kB / 0.7532 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.01041, allocations: 27.89 kB / 0.7532 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.01041, allocations: 8.484 kB / 0.7532 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.171e-05/0.01044, allocations: 27.98 kB / 0.7532 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01044, allocations: 0 / 0.7532 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001783/0.01061, allocations: 64.39 kB / 0.7533 GB, free: 10.06 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.0001214/0.01074, allocations: 109.5 kB / 0.7534 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01095, allocations: 243.3 kB / 0.7536 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.01096, allocations: 5.625 kB / 0.7536 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.01102, allocations: 61 kB / 0.7537 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.01119, allocations: 48.66 kB / 0.7537 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.01179, allocations: 353 kB / 0.7541 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.01184, allocations: 84.27 kB / 0.7541 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.065e-05/0.0119, allocations: 28.34 kB / 0.7542 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.01201, allocations: 92.22 kB / 0.7543 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/0.01201, allocations: 0 / 0.7543 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of Templates: time 0.004785/0.01679, allocations: 3.087 MB / 0.7573 GB, free: 6.055 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.197428649291396]