Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.5 MB / 302.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 178.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.375/2.375, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002023/0.002022, allocations: 101.2 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005313, allocations: 17.12 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2502, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001147/0.2514, allocations: 0.5254 MB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.2535, allocations: 1.333 MB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.2537, allocations: 0 / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.2537, allocations: 7.875 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2538, allocations: 19.84 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.2549, allocations: 249.7 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.2554, allocations: 323.4 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.2555, allocations: 29.09 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.2557, allocations: 127.7 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.256, allocations: 131.6 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.2561, allocations: 20 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2562, allocations: 31.98 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.2563, allocations: 51.88 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2564, allocations: 77.62 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.2567, allocations: 239.6 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.2568, allocations: 3.938 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.707e-06/0.2568, allocations: 3.984 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2568, allocations: 0 / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001158/0.258, allocations: 0.5304 MB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.258, allocations: 12.02 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2582, allocations: 27.81 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2594, allocations: 315.1 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.2594, allocations: 20.22 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2596, allocations: 43.98 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.2602, allocations: 255.3 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2602, allocations: 0 / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.2603, allocations: 11.98 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2603, allocations: 4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.2607, allocations: 120.6 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.262, allocations: 0.6132 MB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.2628, allocations: 415.6 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.2632, allocations: 175.4 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.2632, allocations: 0 / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008424/0.2641, allocations: 366.8 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.777e-06/0.2641, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001577/0.2657, allocations: 0.6573 MB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.2657, allocations: 71.34 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2659, allocations: 141.9 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.683e-05/0.266, allocations: 53.69 kB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.2661, allocations: 109 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.2662, allocations: 102.7 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.2663, allocations: 19.94 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.2663, allocations: 338.8 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.2668, allocations: 145.1 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.2673, allocations: 292.7 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.2678, allocations: 208.6 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.2678, allocations: 4 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001327/0.2691, allocations: 0.558 MB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.2692, allocations: 67.41 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2692, allocations: 8 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.2693, allocations: 8.594 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2695, allocations: 47.84 kB / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.2695, allocations: 19.89 kB / 0.987 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.2704, allocations: 111.6 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/0.2705, allocations: 31.98 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.2708, allocations: 178.9 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.2708, allocations: 31.7 kB / 0.9873 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.2709, allocations: 26.31 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.271, allocations: 8 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.271, allocations: 0 / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.271, allocations: 7.938 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.2731, allocations: 0.999 MB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2732, allocations: 0 / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2733, allocations: 23.88 kB / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.2733, allocations: 0 / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.2734, allocations: 23.97 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2734, allocations: 0 / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2734, allocations: 0 / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.2745, allocations: 0.6243 MB / 0.989 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.2746, allocations: 96.77 kB / 0.9891 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2747, allocations: 27.94 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.2751, allocations: 39.89 kB / 0.9892 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.2752, allocations: 43.92 kB / 0.9892 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.2753, allocations: 27.98 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.789e-05/0.2754, allocations: 109 kB / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2754, allocations: 0 / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006454/0.276, allocations: 99.98 kB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.2763, allocations: 151.4 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.2775, allocations: 0.5413 MB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2776, allocations: 0 / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005324/0.2781, allocations: 300.1 kB / 0.9904 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.2787, allocations: 43.55 kB / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2798, allocations: 498.3 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.2801, allocations: 0.7257 MB / 0.9916 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.2802, allocations: 42.95 kB / 0.9917 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2804, allocations: 23.44 kB / 0.9917 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.2804, allocations: 0 / 0.9917 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.0112/0.2916, allocations: 3.735 MB / 0.9953 GB, free: 10.46 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)