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.00149/0.00149, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.00167/0.00167, allocations: 165.3 kB / 24.25 MB, free: 216 kB / 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.9516/0.9516, allocations: 177.2 MB / 204.7 MB, free: 5.438 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.904/1.904, allocations: 389.6 MB / 0.6355 GB, free: 12.23 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 1.352e-06/1.352e-06, allocations: 0 / 0.7754 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.846e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001674/0.001692, allocations: 0.8873 MB / 0.7763 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.00672, allocations: 0.9386 MB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.006774, allocations: 0 / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.006812, allocations: 20.67 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.252e-05/0.006905, allocations: 18.44 kB / 0.7773 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.007078, allocations: 48.8 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.007207, allocations: 122.5 kB / 0.7774 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.007283, allocations: 17.95 kB / 0.7774 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.007466, allocations: 87.73 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.007528, allocations: 34.8 kB / 0.7776 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.007545, allocations: 8 kB / 0.7776 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-05/0.007594, allocations: 8 kB / 0.7776 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.007613, allocations: 23.91 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.007637, allocations: 15.94 kB / 0.7776 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.00775, allocations: 79.59 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.007751, allocations: 0 / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.007752, allocations: 3.531 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.007755, allocations: 0 / 0.7777 GB, free: 2.926 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.0003112/0.008066, allocations: 312.4 kB / 0.778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.008096, allocations: 9.344 kB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.008227, allocations: 24.91 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.008372, allocations: 154.4 kB / 0.7782 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.008385, allocations: 4.375 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.008399, allocations: 12.36 kB / 0.7782 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.008517, allocations: 104.9 kB / 0.7783 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.008527, allocations: 192 / 0.7783 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.008537, allocations: 4.375 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.008542, allocations: 384 / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.008581, allocations: 23.86 kB / 0.7783 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.008852, allocations: 352.5 kB / 0.7786 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.488e-05/0.008937, allocations: 71.72 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003051/0.01199, allocations: 28.41 kB / 0.7787 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.012, allocations: 7.938 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.01203, allocations: 34.56 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.01203, allocations: 0 / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001666/0.0122, allocations: 74.92 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.01224, allocations: 106.7 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.01234, allocations: 152.3 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01236, allocations: 33.7 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.0124, allocations: 100.1 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.01243, allocations: 31.73 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.01247, allocations: 25.7 kB / 0.7793 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.01255, allocations: 318.8 kB / 0.7796 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.01257, allocations: 11.98 kB / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.0126, allocations: 34.5 kB / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.01266, allocations: 49.36 kB / 0.7797 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01266, allocations: 0 / 0.7797 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.825e-05/0.01275, allocations: 69.89 kB / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01276, allocations: 7.938 kB / 0.7798 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01277, allocations: 7.969 kB / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.01278, allocations: 7.938 kB / 0.7798 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.01283, allocations: 8 kB / 0.7798 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01284, allocations: 0.9375 kB / 0.7798 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.01289, allocations: 11.98 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.01289, allocations: 8.562 kB / 0.7798 GB, free: 0.5547 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 6.535e-05/0.01296, allocations: 124.9 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.01301, allocations: 4.938 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.527e-05/0.01308, allocations: 61.95 kB / 0.78 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01309, allocations: 0.5 kB / 0.78 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01309, allocations: 4.875 kB / 0.78 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01309, allocations: 0 / 0.78 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.01329, allocations: 93.8 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01329, allocations: 1.719 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.01333, allocations: 11.94 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01333, allocations: 0 / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01334, allocations: 11.98 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01334, allocations: 0.6875 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01334, allocations: 3.938 kB / 0.7801 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.01349, allocations: 312 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.0135, allocations: 7.953 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.01351, allocations: 4 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01363, allocations: 4 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.01368, allocations: 32.7 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.01369, allocations: 3.984 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.01371, allocations: 37.36 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01371, allocations: 0 / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002502/0.01396, allocations: 12 kB / 0.7805 GB, free: 15.8 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 7.493e-05/0.01404, allocations: 87.58 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.928e-05/0.01413, allocations: 46.16 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01413, allocations: 0 / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.01417, allocations: 34.05 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.01446, allocations: 12 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.01472, allocations: 199.8 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/0.01778, allocations: 68.39 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.944e-05/0.01784, allocations: 13.19 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.01791, allocations: 75.3 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01791, allocations: 1.219 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.005972/0.02388, allocations: 1.207 MB / 0.7822 GB, free: 14.06 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.9427737491205335]