Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0009247/0.0009247, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001032/0.001032, allocations: 160 kB / 24.96 MB, free: 9.145 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 1.045/1.045, allocations: 177.1 MB / 205.4 MB, free: 5.504 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.892/1.892, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.776 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.148e-05, allocations: 5.406 kB / 0.776 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001647/0.001678, allocations: 0.8875 MB / 0.7769 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.002666, allocations: 0.9461 MB / 0.7778 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.002724, allocations: 4 kB / 0.7778 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.002759, allocations: 8.641 kB / 0.7778 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.002862, allocations: 24.47 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.003065, allocations: 43.88 kB / 0.7779 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.003183, allocations: 123.2 kB / 0.778 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.003268, allocations: 14.97 kB / 0.778 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.003454, allocations: 93.03 kB / 0.7781 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.003519, allocations: 27.91 kB / 0.7782 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.003536, allocations: 8 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.003591, allocations: 13.44 kB / 0.7782 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.003609, allocations: 15.92 kB / 0.7782 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.003634, allocations: 27.91 kB / 0.7782 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.003761, allocations: 71.61 kB / 0.7783 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003763, allocations: 0.6562 kB / 0.7783 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003764, allocations: 0 / 0.7783 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003767, allocations: 4.562 kB / 0.7783 GB, free: 3.016 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003296/0.004097, allocations: 310.1 kB / 0.7786 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.00413, allocations: 9.344 kB / 0.7786 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.004254, allocations: 24.92 kB / 0.7786 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.004403, allocations: 158.7 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.004422, allocations: 13.19 kB / 0.7788 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.00443, allocations: 4.375 kB / 0.7788 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.004562, allocations: 102.2 kB / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.00457, allocations: 192 / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004577, allocations: 3.188 kB / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004584, allocations: 384 / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/0.00462, allocations: 23.86 kB / 0.7789 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.004904, allocations: 356.5 kB / 0.7793 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.004988, allocations: 78.47 kB / 0.7793 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.005012, allocations: 18.64 kB / 0.7793 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.005031, allocations: 4 kB / 0.7793 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.005056, allocations: 42.55 kB / 0.7794 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.005057, allocations: 0 / 0.7794 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001498/0.005207, allocations: 75.64 kB / 0.7795 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.005245, allocations: 102.8 kB / 0.7796 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.005321, allocations: 153.8 kB / 0.7797 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.005339, allocations: 29.7 kB / 0.7797 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.005374, allocations: 100.1 kB / 0.7798 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.0054, allocations: 28.33 kB / 0.7799 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.005434, allocations: 29.69 kB / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.005509, allocations: 320 kB / 0.7802 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.005526, allocations: 8 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.005557, allocations: 39.42 kB / 0.7802 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/0.005607, allocations: 50.61 kB / 0.7803 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005609, allocations: 0.625 kB / 0.7803 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.779e-05/0.005686, allocations: 78.34 kB / 0.7804 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.005699, allocations: 7.938 kB / 0.7804 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.005704, allocations: 1.75 kB / 0.7804 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005716, allocations: 4 kB / 0.7804 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.005774, allocations: 15.92 kB / 0.7804 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.005777, allocations: 0 / 0.7804 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.005808, allocations: 4.594 kB / 0.7804 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.005814, allocations: 4 kB / 0.7804 GB, free: 0.6523 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001025/0.005917, allocations: 118.8 kB / 0.7805 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.005956, allocations: 8.516 kB / 0.7805 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.818e-05/0.006054, allocations: 67.02 kB / 0.7806 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.006057, allocations: 0 / 0.7806 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.00606, allocations: 4 kB / 0.7806 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006063, allocations: 0.8125 kB / 0.7806 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.006215, allocations: 93.81 kB / 0.7807 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006217, allocations: 0.5312 kB / 0.7807 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.006261, allocations: 11.98 kB / 0.7807 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.006263, allocations: 0.9375 kB / 0.7807 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006269, allocations: 4 kB / 0.7807 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.00627, allocations: 0.5938 kB / 0.7807 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006272, allocations: 3.938 kB / 0.7807 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.006408, allocations: 314.8 kB / 0.781 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.006416, allocations: 8.516 kB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.006431, allocations: 4.875 kB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.006505, allocations: 4 kB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.006555, allocations: 31.89 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.006559, allocations: 0.75 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.006583, allocations: 35.66 kB / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006583, allocations: 0.9062 kB / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001717/0.006754, allocations: 16 kB / 0.7811 GB, free: 15.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001002/0.006855, allocations: 77.45 kB / 0.7812 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.006965, allocations: 46.06 kB / 0.7812 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.00697, allocations: 0 / 0.7812 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.007015, allocations: 31.53 kB / 0.7812 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.007364, allocations: 26.33 kB / 0.7813 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.007701, allocations: 209.6 kB / 0.7815 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.042e-05/0.007762, allocations: 63.34 kB / 0.7815 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.748e-05/0.007829, allocations: 22.5 kB / 0.7815 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.007909, allocations: 67.36 kB / 0.7816 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.00791, allocations: 0 / 0.7816 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.003956/0.01187, allocations: 1.211 MB / 0.7828 GB, free: 14.16 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.959317897446454]