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.001042/0.001042, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001001/0.001001, allocations: 168.4 kB / 24.97 MB, free: 9.18 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.9708/0.9708, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.939/1.939, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.753e-06/1.753e-06, allocations: 0 / 0.7759 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.72e-05, allocations: 5.828 kB / 0.7759 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003534/0.003561, allocations: 1.869 MB / 0.7778 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.00495, allocations: 0.7083 MB / 0.7785 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.005087, allocations: 4 kB / 0.7785 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.005246, allocations: 35.64 kB / 0.7785 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.005334, allocations: 29.38 kB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.006215, allocations: 256.4 kB / 0.7788 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.006794, allocations: 420 kB / 0.7792 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.007154, allocations: 211.1 kB / 0.7794 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.007401, allocations: 205.4 kB / 0.7796 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.007602, allocations: 99.72 kB / 0.7797 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.007657, allocations: 40 kB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.007801, allocations: 59.92 kB / 0.7798 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.007888, allocations: 79.73 kB / 0.7798 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.008001, allocations: 100.6 kB / 0.7799 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.008404, allocations: 279.1 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.008409, allocations: 4.844 kB / 0.7802 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.008411, allocations: 0 / 0.7802 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.008417, allocations: 3.156 kB / 0.7802 GB, free: 1.121 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.0007368/0.009154, allocations: 461.2 kB / 0.7806 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.009204, allocations: 9.344 kB / 0.7807 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.009503, allocations: 52.89 kB / 0.7807 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.009791, allocations: 172.5 kB / 0.7809 GB, free: 400 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.009829, allocations: 28.86 kB / 0.7809 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.009874, allocations: 39.91 kB / 0.7809 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.0102, allocations: 196 kB / 0.7811 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01021, allocations: 4.188 kB / 0.7811 GB, free: 124 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.01023, allocations: 8.375 kB / 0.7811 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01024, allocations: 8.375 kB / 0.7811 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.01039, allocations: 67.39 kB / 0.7812 GB, free: 40 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.01127, allocations: 0.5312 MB / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.01147, allocations: 98.52 kB / 0.7818 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.01154, allocations: 50.39 kB / 0.7819 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01156, allocations: 4 kB / 0.7819 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.01174, allocations: 123.5 kB / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 3.296e-06/0.01175, allocations: 0 / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0002781/0.01202, allocations: 158.2 kB / 0.7821 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.01206, allocations: 59.34 kB / 0.7822 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01218, allocations: 158.1 kB / 0.7823 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.01222, allocations: 45.69 kB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.01231, allocations: 136.8 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.01236, allocations: 76.5 kB / 0.7826 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.01249, allocations: 85.62 kB / 0.7827 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.01259, allocations: 338.7 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.01271, allocations: 70.17 kB / 0.7831 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.01285, allocations: 141.4 kB / 0.7832 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01307, allocations: 198 kB / 0.7834 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01308, allocations: 0 / 0.7834 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003457/0.01342, allocations: 255.2 kB / 0.7836 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.01347, allocations: 41.69 kB / 0.7837 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01348, allocations: 4 kB / 0.7837 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.0135, allocations: 4.75 kB / 0.7837 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.01366, allocations: 35.92 kB / 0.7837 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01366, allocations: 0.9688 kB / 0.7837 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.01383, allocations: 48.7 kB / 0.7838 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.01386, allocations: 15.98 kB / 0.7838 GB, free: 13.23 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.0001288/0.01399, allocations: 147.5 kB / 0.7839 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.01402, allocations: 19.98 kB / 0.7839 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.01407, allocations: 27.08 kB / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01408, allocations: 0 / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01408, allocations: 0 / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.0141, allocations: 20.7 kB / 0.784 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01413, allocations: 11.94 kB / 0.784 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.01418, allocations: 13.3 kB / 0.784 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.01425, allocations: 19.95 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001978/0.01445, allocations: 185.8 kB / 0.7842 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002194/0.01467, allocations: 298.9 kB / 0.7845 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001886/0.01485, allocations: 57.94 kB / 0.7845 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.01489, allocations: 32.77 kB / 0.7846 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of Backend: time 3.4e-07/0.01489, allocations: 0 / 0.7846 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000559/0.01545, allocations: 291.3 kB / 0.7849 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0008553/0.0163, allocations: 0.8332 MB / 0.7857 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of Templates: time 0.007398/0.0237, allocations: 3.358 MB / 0.7889 GB, free: 8.004 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.163256615400314]