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.001368/0.001368, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.004554/0.004554, allocations: 173.8 kB / 25.18 MB, free: 9.109 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.9385/0.9385, allocations: 177.1 MB / 205.6 MB, free: 5.004 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.89/1.89, allocations: 389.6 MB / 0.6364 GB, free: 12.24 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 2.034e-06/2.034e-06, allocations: 0 / 0.7755 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.963e-05, allocations: 4.844 kB / 0.7755 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003701/0.00373, allocations: 1.853 MB / 0.7773 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.00511, allocations: 0.7042 MB / 0.778 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.005253, allocations: 7.938 kB / 0.778 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.005426, allocations: 25.95 kB / 0.7781 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.636e-05/0.005522, allocations: 31 kB / 0.7781 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.006323, allocations: 257.9 kB / 0.7783 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.006866, allocations: 423.5 kB / 0.7787 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.007202, allocations: 210.8 kB / 0.7789 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.007428, allocations: 201.2 kB / 0.7791 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.00763, allocations: 103.7 kB / 0.7792 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.007692, allocations: 40 kB / 0.7793 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.007838, allocations: 59.92 kB / 0.7793 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.00792, allocations: 75.8 kB / 0.7794 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.008035, allocations: 98.55 kB / 0.7795 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.008382, allocations: 283 kB / 0.7798 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.008385, allocations: 0 / 0.7798 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.253e-06/0.008386, allocations: 0 / 0.7798 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.008394, allocations: 4 kB / 0.7798 GB, free: 1.703 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.0005944/0.008988, allocations: 457.3 kB / 0.7802 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.009033, allocations: 12.81 kB / 0.7802 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.00927, allocations: 52.89 kB / 0.7803 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.009507, allocations: 173.4 kB / 0.7804 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.009535, allocations: 28.86 kB / 0.7804 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.009567, allocations: 32.38 kB / 0.7805 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.009778, allocations: 204 kB / 0.7807 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.009786, allocations: 192 / 0.7807 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.009801, allocations: 8.375 kB / 0.7807 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.009808, allocations: 9.781 kB / 0.7807 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.009893, allocations: 71.33 kB / 0.7808 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.01065, allocations: 0.5274 MB / 0.7813 GB, free: 72 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.01085, allocations: 103 kB / 0.7814 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.01092, allocations: 54.03 kB / 0.7814 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.01094, allocations: 7.938 kB / 0.7814 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.01112, allocations: 114.1 kB / 0.7815 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.794e-06/0.01113, allocations: 0.6562 kB / 0.7815 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0002791/0.0114, allocations: 158.2 kB / 0.7817 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.01145, allocations: 56.53 kB / 0.7817 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.01157, allocations: 162.4 kB / 0.7819 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.01164, allocations: 45.69 kB / 0.7819 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.01172, allocations: 137.9 kB / 0.7821 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.01177, allocations: 71.45 kB / 0.7821 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.01189, allocations: 90.11 kB / 0.7822 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01199, allocations: 334.7 kB / 0.7825 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.0121, allocations: 74.45 kB / 0.7826 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01223, allocations: 144.7 kB / 0.7828 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.01244, allocations: 198 kB / 0.7829 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.01244, allocations: 0 / 0.7829 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003246/0.01277, allocations: 259.2 kB / 0.7832 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.01281, allocations: 42.34 kB / 0.7832 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01282, allocations: 0 / 0.7832 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.01283, allocations: 5.312 kB / 0.7832 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01298, allocations: 31.92 kB / 0.7833 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01298, allocations: 4 kB / 0.7833 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.01314, allocations: 52.28 kB / 0.7833 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.01317, allocations: 12.62 kB / 0.7833 GB, free: 13.8 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.0001219/0.01329, allocations: 151.5 kB / 0.7835 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.01332, allocations: 19.98 kB / 0.7835 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.01336, allocations: 27.45 kB / 0.7835 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01336, allocations: 0 / 0.7835 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01337, allocations: 0 / 0.7835 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.01337, allocations: 0 / 0.7835 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.01394, allocations: 372.8 kB / 0.7839 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01394, allocations: 0 / 0.7839 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.01401, allocations: 15.98 kB / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01402, allocations: 5.094 kB / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01403, allocations: 4 kB / 0.7839 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01403, allocations: 0 / 0.7839 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.01404, allocations: 17.08 kB / 0.7839 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.01422, allocations: 220.4 kB / 0.7841 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.01424, allocations: 15.84 kB / 0.7841 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.01427, allocations: 13.02 kB / 0.7842 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.01433, allocations: 4 kB / 0.7842 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.0144, allocations: 27.88 kB / 0.7842 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.01442, allocations: 13.31 kB / 0.7842 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.01445, allocations: 26.23 kB / 0.7842 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01445, allocations: 0 / 0.7842 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002814/0.01473, allocations: 64.92 kB / 0.7843 GB, free: 12.79 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.0001558/0.01488, allocations: 101.7 kB / 0.7844 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.01518, allocations: 239.7 kB / 0.7846 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.01518, allocations: 4 kB / 0.7846 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.01527, allocations: 68.75 kB / 0.7847 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.0155, allocations: 33.89 kB / 0.7847 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.01605, allocations: 377.4 kB / 0.7851 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.01616, allocations: 129.3 kB / 0.7852 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.01632, allocations: 95.34 kB / 0.7853 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01632, allocations: 0 / 0.7853 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of Templates: time 0.005161/0.02148, allocations: 2.914 MB / 0.7881 GB, free: 8.895 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 > Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.827642339281738]