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.0009184/0.0009184, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001526/0.001526, allocations: 164.5 kB / 25.05 MB, free: 9.148 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.9939/0.9939, allocations: 177.1 MB / 205.5 MB, free: 5.453 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.974/1.974, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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.312e-06/1.312e-06, allocations: 0 / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.419e-05, allocations: 2.844 kB / 0.7761 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002963/0.002987, allocations: 1.852 MB / 0.7779 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.003963, allocations: 0.7017 MB / 0.7786 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.004048, allocations: 7.938 kB / 0.7786 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.004174, allocations: 33.36 kB / 0.7786 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.00423, allocations: 30.94 kB / 0.7787 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.004728, allocations: 253.2 kB / 0.7789 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.00506, allocations: 419.6 kB / 0.7793 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.005284, allocations: 211.8 kB / 0.7795 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.005437, allocations: 207.6 kB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.005574, allocations: 101.5 kB / 0.7798 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.005611, allocations: 36 kB / 0.7798 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.005709, allocations: 59.98 kB / 0.7799 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.005764, allocations: 71.75 kB / 0.78 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.005839, allocations: 99.78 kB / 0.7801 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.006102, allocations: 279.8 kB / 0.7803 GB, free: 1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006106, allocations: 0 / 0.7803 GB, free: 1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006107, allocations: 0.6562 kB / 0.7803 GB, free: 1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006111, allocations: 0 / 0.7803 GB, free: 1 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.0004953/0.006607, allocations: 471 kB / 0.7808 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.00664, allocations: 9.344 kB / 0.7808 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.006824, allocations: 56.88 kB / 0.7809 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.007019, allocations: 169.1 kB / 0.781 GB, free: 268 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.007043, allocations: 25.44 kB / 0.781 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.007073, allocations: 28.38 kB / 0.7811 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.007292, allocations: 211.7 kB / 0.7813 GB, free: 16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007302, allocations: 192 / 0.7813 GB, free: 16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.007316, allocations: 12.38 kB / 0.7813 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.007324, allocations: 12.36 kB / 0.7813 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.007415, allocations: 67.34 kB / 0.7814 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.007989, allocations: 0.5312 MB / 0.7819 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.008126, allocations: 102.5 kB / 0.782 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.008168, allocations: 49.5 kB / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.008187, allocations: 7.031 kB / 0.782 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.008305, allocations: 118 kB / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.008307, allocations: 0 / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0001903/0.008497, allocations: 150.2 kB / 0.7823 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.00853, allocations: 63.39 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.008609, allocations: 154.5 kB / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.008636, allocations: 45.7 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.008696, allocations: 137.6 kB / 0.7827 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.008732, allocations: 71.44 kB / 0.7827 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.00881, allocations: 87.22 kB / 0.7828 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.008886, allocations: 338.7 kB / 0.7831 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.008958, allocations: 77.67 kB / 0.7832 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/0.009051, allocations: 140.7 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.009199, allocations: 196.9 kB / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.009202, allocations: 0.6562 kB / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002157/0.009418, allocations: 268.2 kB / 0.7838 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.009447, allocations: 36.36 kB / 0.7838 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.009455, allocations: 4 kB / 0.7838 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.009464, allocations: 4 kB / 0.7838 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.009571, allocations: 36.64 kB / 0.7839 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.009578, allocations: 11.92 kB / 0.7839 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.00994, allocations: 44.83 kB / 0.7839 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.009958, allocations: 20.42 kB / 0.7839 GB, free: 13.08 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 9.072e-05/0.01005, allocations: 147.2 kB / 0.7841 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.01007, allocations: 16.86 kB / 0.7841 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.0101, allocations: 17.97 kB / 0.7841 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.0101, allocations: 4 kB / 0.7841 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.0101, allocations: 1 kB / 0.7841 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.01011, allocations: 3.984 kB / 0.7841 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.01047, allocations: 372.6 kB / 0.7845 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01048, allocations: 0 / 0.7845 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.01053, allocations: 16.88 kB / 0.7845 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01053, allocations: 4 kB / 0.7845 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.01054, allocations: 7.984 kB / 0.7845 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01054, allocations: 0.9375 kB / 0.7845 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01054, allocations: 3.938 kB / 0.7845 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.01067, allocations: 219.1 kB / 0.7847 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.01068, allocations: 23.78 kB / 0.7847 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.0107, allocations: 4 kB / 0.7847 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.01075, allocations: 11.98 kB / 0.7848 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.01079, allocations: 27.89 kB / 0.7848 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.0108, allocations: 7.984 kB / 0.7848 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.01082, allocations: 24.83 kB / 0.7848 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 2.75 kB / 0.7848 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001836/0.01101, allocations: 59.89 kB / 0.7849 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.000137/0.01115, allocations: 104.3 kB / 0.785 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.01137, allocations: 239.2 kB / 0.7852 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01137, allocations: 4 kB / 0.7852 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.01144, allocations: 65.64 kB / 0.7853 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.01161, allocations: 40.8 kB / 0.7853 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.01201, allocations: 356.7 kB / 0.7856 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.01207, allocations: 80.33 kB / 0.7857 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.23e-05/0.01213, allocations: 24.41 kB / 0.7857 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01224, allocations: 92.48 kB / 0.7858 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.01224, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.004821/0.01707, allocations: 2.998 MB / 0.7888 GB, free: 8.191 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: 4.993309771642089]