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.0009009/0.0009009, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001264/0.001264, allocations: 161 kB / 24.17 MB, free: 332 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 1.064/1.064, allocations: 177.2 MB / 204.6 MB, free: 5.488 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 2.085/2.085, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.553e-06/1.553e-06, allocations: 0 / 0.7753 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.361e-05, allocations: 3.406 kB / 0.7753 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001637/0.00165, allocations: 0.8942 MB / 0.7762 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.002545, allocations: 0.9351 MB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.002586, allocations: 0.7188 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.002617, allocations: 11.86 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.002702, allocations: 28.19 kB / 0.7771 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.002853, allocations: 50.44 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.00296, allocations: 118.4 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.003033, allocations: 21.94 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.003172, allocations: 83.75 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.003224, allocations: 33.33 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.003236, allocations: 8 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.003279, allocations: 12 kB / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.003295, allocations: 16.56 kB / 0.7774 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.003317, allocations: 27.92 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.817e-05/0.003415, allocations: 72.14 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-06/0.003416, allocations: 1.688 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.41e-07/0.003417, allocations: 0 / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.003419, allocations: 0 / 0.7775 GB, free: 2.973 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.0002888/0.003708, allocations: 312.4 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.003737, allocations: 10.19 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.003852, allocations: 28.91 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.003966, allocations: 150.9 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003978, allocations: 8.375 kB / 0.778 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.003984, allocations: 5.125 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.004082, allocations: 103.7 kB / 0.7781 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-06/0.004086, allocations: 4.188 kB / 0.7781 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.004092, allocations: 384 / 0.7781 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004097, allocations: 384 / 0.7781 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.004132, allocations: 23.86 kB / 0.7781 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.004366, allocations: 355.3 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.737e-05/0.004434, allocations: 83.77 kB / 0.7786 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.004456, allocations: 22.62 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.004467, allocations: 4 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.004485, allocations: 42.5 kB / 0.7786 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 6.92e-07/0.004486, allocations: 2.75 kB / 0.7786 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001223/0.004608, allocations: 69.55 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.004641, allocations: 102.8 kB / 0.7788 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.004709, allocations: 152.9 kB / 0.7789 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.004722, allocations: 25.7 kB / 0.779 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.004757, allocations: 105.8 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.004778, allocations: 31.67 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.004807, allocations: 21.7 kB / 0.7791 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.004879, allocations: 326.8 kB / 0.7794 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.004896, allocations: 12.86 kB / 0.7794 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.004921, allocations: 30.58 kB / 0.7795 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.004961, allocations: 43.69 kB / 0.7795 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.004962, allocations: 4 kB / 0.7795 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.824e-05/0.00503, allocations: 79.3 kB / 0.7796 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.005039, allocations: 7.938 kB / 0.7796 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.005041, allocations: 0 / 0.7796 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.005048, allocations: 7.984 kB / 0.7796 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.005089, allocations: 9.219 kB / 0.7796 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-06/0.00509, allocations: 0 / 0.7796 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.005118, allocations: 7.938 kB / 0.7796 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.005124, allocations: 8.641 kB / 0.7796 GB, free: 0.6055 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 5.984e-05/0.005184, allocations: 121.5 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.005222, allocations: 8 kB / 0.7798 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/0.005289, allocations: 62.45 kB / 0.7798 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.00529, allocations: 0 / 0.7798 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.005291, allocations: 0.5625 kB / 0.7798 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.005293, allocations: 5.109 kB / 0.7798 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.005442, allocations: 93.81 kB / 0.7799 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005443, allocations: 0.625 kB / 0.7799 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.005468, allocations: 8 kB / 0.7799 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.00547, allocations: 4.891 kB / 0.7799 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.005477, allocations: 7.984 kB / 0.7799 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.005479, allocations: 4.875 kB / 0.7799 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.005481, allocations: 3.938 kB / 0.7799 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.005618, allocations: 310.7 kB / 0.7802 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.005627, allocations: 9.578 kB / 0.7802 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.00564, allocations: 4 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.005715, allocations: 4 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.005754, allocations: 27.89 kB / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.005759, allocations: 8.672 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.005784, allocations: 35.41 kB / 0.7803 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005784, allocations: 2.75 kB / 0.7803 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001697/0.005953, allocations: 16 kB / 0.7803 GB, free: 15.84 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 5.562e-05/0.006009, allocations: 84.41 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.006078, allocations: 48.83 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.00608, allocations: 0 / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.006108, allocations: 27.77 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.006302, allocations: 15.98 kB / 0.7805 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.006509, allocations: 202.6 kB / 0.7807 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.00655, allocations: 67.33 kB / 0.7808 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.006594, allocations: 14.41 kB / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.006654, allocations: 63.36 kB / 0.7808 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.006655, allocations: 4 kB / 0.7808 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.002456/0.00911, allocations: 1.221 MB / 0.782 GB, free: 14.1 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.148459960240871]