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.0008831/0.0008831, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001157/0.001157, allocations: 169.3 kB / 24.25 MB, free: 204 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.9925/0.9925, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.901/1.901, allocations: 389.6 MB / 0.6355 GB, free: 12.29 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.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.803e-06/1.803e-06, allocations: 0 / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.611e-05, allocations: 7.094 kB / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002701/0.002727, allocations: 1.852 MB / 0.7772 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.003716, allocations: 0.6982 MB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.003815, allocations: 7.938 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.003954, allocations: 32.77 kB / 0.7779 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.004009, allocations: 20.42 kB / 0.7779 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.00453, allocations: 267.9 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.004879, allocations: 415.7 kB / 0.7785 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.005112, allocations: 208.8 kB / 0.7787 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.005269, allocations: 203.6 kB / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.00541, allocations: 103.7 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.005447, allocations: 40 kB / 0.7791 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.005546, allocations: 51.98 kB / 0.7791 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.005612, allocations: 80.55 kB / 0.7792 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.005688, allocations: 99.8 kB / 0.7793 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.00596, allocations: 275.6 kB / 0.7796 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.005964, allocations: 4 kB / 0.7796 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005965, allocations: 0.75 kB / 0.7796 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005969, allocations: 0 / 0.7796 GB, free: 1.012 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.0004915/0.00646, allocations: 467.9 kB / 0.78 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.006498, allocations: 9.344 kB / 0.78 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.006689, allocations: 56.88 kB / 0.7801 GB, free: 476 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.006893, allocations: 169.5 kB / 0.7802 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.006919, allocations: 24.88 kB / 0.7803 GB, free: 256 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.006948, allocations: 31.12 kB / 0.7803 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.007158, allocations: 204 kB / 0.7805 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.007168, allocations: 4.172 kB / 0.7805 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.007182, allocations: 8.375 kB / 0.7805 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.00719, allocations: 8.469 kB / 0.7805 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.007275, allocations: 75.34 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.007873, allocations: 0.5374 MB / 0.7811 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.008018, allocations: 94.52 kB / 0.7812 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.008064, allocations: 53.91 kB / 0.7812 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.008081, allocations: 4 kB / 0.7812 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.008205, allocations: 113.9 kB / 0.7814 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.008207, allocations: 4.5 kB / 0.7814 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0001914/0.008398, allocations: 155.1 kB / 0.7815 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.008435, allocations: 55.41 kB / 0.7816 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.008528, allocations: 161.7 kB / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.008557, allocations: 41.7 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.008622, allocations: 141.5 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.008661, allocations: 71.44 kB / 0.782 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.00874, allocations: 86.34 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.008831, allocations: 340.1 kB / 0.7824 GB, free: 14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.008908, allocations: 69.69 kB / 0.7824 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.009005, allocations: 152.7 kB / 0.7826 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.009154, allocations: 192.8 kB / 0.7828 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009156, allocations: 0.875 kB / 0.7828 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002167/0.009373, allocations: 263 kB / 0.783 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.009402, allocations: 35.44 kB / 0.783 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.00941, allocations: 8 kB / 0.7831 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.009419, allocations: 4 kB / 0.7831 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.009533, allocations: 39.86 kB / 0.7831 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.009538, allocations: 4 kB / 0.7831 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.009644, allocations: 45.36 kB / 0.7831 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.009664, allocations: 19.92 kB / 0.7832 GB, free: 13.1 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.000102/0.009766, allocations: 147.4 kB / 0.7833 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.009787, allocations: 19.98 kB / 0.7833 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.009821, allocations: 18.78 kB / 0.7833 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.009826, allocations: 7.984 kB / 0.7833 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.009828, allocations: 0.9375 kB / 0.7833 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.009832, allocations: 0 / 0.7833 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.01053, allocations: 368.3 kB / 0.7837 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01053, allocations: 0 / 0.7837 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.01059, allocations: 20.66 kB / 0.7837 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01059, allocations: 3.984 kB / 0.7837 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01061, allocations: 9.219 kB / 0.7837 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01061, allocations: 0 / 0.7837 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01061, allocations: 3.938 kB / 0.7837 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01075, allocations: 222.1 kB / 0.7839 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.01077, allocations: 19.84 kB / 0.784 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.01079, allocations: 4 kB / 0.784 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.01083, allocations: 11.98 kB / 0.784 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.01089, allocations: 36.91 kB / 0.784 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.0109, allocations: 4 kB / 0.784 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.506e-05/0.01092, allocations: 27.48 kB / 0.784 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01092, allocations: 1.031 kB / 0.784 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001754/0.0111, allocations: 59.89 kB / 0.7841 GB, free: 12.09 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.0001258/0.01122, allocations: 97.88 kB / 0.7842 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.01145, allocations: 243.5 kB / 0.7844 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.01145, allocations: 0 / 0.7844 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.01152, allocations: 66 kB / 0.7845 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.0117, allocations: 45.14 kB / 0.7845 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.01209, allocations: 355 kB / 0.7849 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.01214, allocations: 80.33 kB / 0.7849 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.762e-05/0.01219, allocations: 28.61 kB / 0.785 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.0123, allocations: 92.28 kB / 0.7851 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.0123, allocations: 0 / 0.7851 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.004947/0.01725, allocations: 3.004 MB / 0.788 GB, free: 8.195 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 -lv LOG_STATS > Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.021431651897728]