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.0009011/0.0009011, allocations: 80.81 kB / 21.54 MB, free: 2.953 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.0009998/0.0009998, allocations: 160.5 kB / 24.96 MB, free: 8.746 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.9188/0.9188, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.86/1.86, allocations: 389.6 MB / 0.6362 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.974e-06/1.974e-06, allocations: 0 / 0.7759 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.567e-05, allocations: 3.188 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002355/0.00238, allocations: 1.861 MB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003441, allocations: 0.7121 MB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-05/0.003538, allocations: 4.906 kB / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.003674, allocations: 32.55 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.003734, allocations: 22.36 kB / 0.7785 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.004267, allocations: 265.4 kB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.004618, allocations: 418.7 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.004847, allocations: 218.6 kB / 0.7794 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.004996, allocations: 203.6 kB / 0.7796 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.005138, allocations: 101.4 kB / 0.7797 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.005175, allocations: 36 kB / 0.7797 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.005278, allocations: 63.92 kB / 0.7798 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.005336, allocations: 67.81 kB / 0.7798 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.005411, allocations: 104.6 kB / 0.7799 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.005675, allocations: 283 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005677, allocations: 0 / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005678, allocations: 0.75 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.005682, allocations: 0 / 0.7802 GB, free: 1.059 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.000541/0.006223, allocations: 460.2 kB / 0.7806 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.00626, allocations: 9.344 kB / 0.7806 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.006451, allocations: 56.88 kB / 0.7807 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.006658, allocations: 169.4 kB / 0.7809 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.006688, allocations: 28.88 kB / 0.7809 GB, free: 308 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.006716, allocations: 31.12 kB / 0.7809 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.006924, allocations: 203.9 kB / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.006933, allocations: 192 / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.006949, allocations: 12.38 kB / 0.7811 GB, free: 52 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.006957, allocations: 12.36 kB / 0.7811 GB, free: 40 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.485e-05/0.007052, allocations: 63.41 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.007612, allocations: 0.5333 MB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.007742, allocations: 99.73 kB / 0.7818 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.007783, allocations: 48.69 kB / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.007802, allocations: 4 kB / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.007917, allocations: 122 kB / 0.782 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.007919, allocations: 1.75 kB / 0.782 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0001821/0.008101, allocations: 150.3 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.008137, allocations: 67.33 kB / 0.7822 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.008217, allocations: 154.5 kB / 0.7823 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.008242, allocations: 42.3 kB / 0.7824 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.008303, allocations: 148.7 kB / 0.7825 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.008336, allocations: 64.45 kB / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.008559, allocations: 93.61 kB / 0.7827 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.008633, allocations: 334.7 kB / 0.783 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.008699, allocations: 70.2 kB / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.00879, allocations: 145.9 kB / 0.7832 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.008927, allocations: 197 kB / 0.7834 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.008929, allocations: 0 / 0.7834 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002066/0.009136, allocations: 259.5 kB / 0.7836 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.009166, allocations: 41.64 kB / 0.7837 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009171, allocations: 1.438 kB / 0.7837 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.009185, allocations: 4 kB / 0.7837 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.009292, allocations: 31.92 kB / 0.7837 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.009297, allocations: 4 kB / 0.7837 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.009401, allocations: 49.06 kB / 0.7838 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.009418, allocations: 15.94 kB / 0.7838 GB, free: 13.16 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 8.326e-05/0.009501, allocations: 147.8 kB / 0.7839 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.00952, allocations: 19.98 kB / 0.7839 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.009554, allocations: 22.59 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.009556, allocations: 3.938 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.009558, allocations: 0.6875 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.009563, allocations: 3.984 kB / 0.784 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.009882, allocations: 368.6 kB / 0.7843 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009883, allocations: 0.75 kB / 0.7843 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.00993, allocations: 15.98 kB / 0.7843 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.009934, allocations: 4.906 kB / 0.7843 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.009943, allocations: 4 kB / 0.7843 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.009944, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.009947, allocations: 8.969 kB / 0.7843 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01008, allocations: 224.4 kB / 0.7846 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.01009, allocations: 15.84 kB / 0.7846 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.01011, allocations: 4.719 kB / 0.7846 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.01015, allocations: 4.938 kB / 0.7846 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.0102, allocations: 35.86 kB / 0.7846 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01021, allocations: 8 kB / 0.7846 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.01022, allocations: 29.33 kB / 0.7847 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 0.7847 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001689/0.01039, allocations: 71.81 kB / 0.7847 GB, free: 12.15 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.0001115/0.0105, allocations: 93.45 kB / 0.7848 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.01071, allocations: 239.2 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01072, allocations: 1.625 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.01078, allocations: 72.75 kB / 0.7851 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.01094, allocations: 25.2 kB / 0.7851 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.0114, allocations: 351.8 kB / 0.7855 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.01144, allocations: 84.28 kB / 0.7856 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.0115, allocations: 28.42 kB / 0.7856 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.0116, allocations: 96.22 kB / 0.7857 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.0116, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.004586/0.01619, allocations: 3.014 MB / 0.7886 GB, free: 8.258 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.881224119104445]