Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001842/0.001842, allocations: 84.17 kB / 20.21 MB, free: 4.207 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.001934/0.001934, allocations: 169.2 kB / 23.53 MB, free: 0.8867 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.021/1.021, allocations: 115 MB / 375.3 MB, free: 7.586 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 480.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.718e-05/4.016e-05, allocations: 3.062 kB / 480.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002961/0.003002, allocations: 0.8236 MB / 481.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.00465, allocations: 0.9258 MB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.004729, allocations: 0 / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.725e-05/0.004776, allocations: 11.16 kB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.004919, allocations: 18.59 kB / 482.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.005196, allocations: 40.86 kB / 482.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.00538, allocations: 117.2 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.005515, allocations: 22.2 kB / 482.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.005791, allocations: 79.42 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005904, allocations: 43.7 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.005946, allocations: 9.906 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.006017, allocations: 16.16 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.00605, allocations: 19.2 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.00611, allocations: 41.56 kB / 483 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.00635, allocations: 130.8 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006353, allocations: 0 / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.006354, allocations: 0.9062 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.00636, allocations: 0 / 483.1 MB, free: 10.39 MB / 410.7 MB 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.0009424/0.007302, allocations: 466.6 kB / 483.6 MB, free: 25.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.007346, allocations: 7.344 kB / 483.6 MB, free: 25.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.00775, allocations: 39.48 kB / 483.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.008237, allocations: 178.7 kB / 483.8 MB, free: 25.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.008267, allocations: 4.281 kB / 483.8 MB, free: 25.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.008296, allocations: 16.5 kB / 483.8 MB, free: 25.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.008638, allocations: 117.2 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.008653, allocations: 4.188 kB / 484 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.008671, allocations: 1.469 kB / 484 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.008679, allocations: 5.312 kB / 484 MB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.008985, allocations: 57.83 kB / 484 MB, free: 25.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.009876, allocations: 0.5755 MB / 484.6 MB, free: 25.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.0102, allocations: 131.6 kB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.0104, allocations: 65.2 kB / 484.8 MB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.01044, allocations: 2.094 kB / 484.8 MB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.01047, allocations: 40.42 kB / 484.8 MB, free: 24.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.01047, allocations: 0 / 484.8 MB, free: 24.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007667/0.01124, allocations: 140.4 kB / 485 MB, free: 24.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.01128, allocations: 108.8 kB / 485.1 MB, free: 24.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.01152, allocations: 220.1 kB / 485.3 MB, free: 24.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.01155, allocations: 31.86 kB / 485.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.0117, allocations: 157.2 kB / 485.5 MB, free: 24.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.01174, allocations: 25 kB / 485.5 MB, free: 24.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.01182, allocations: 33.28 kB / 485.5 MB, free: 24.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003815/0.0122, allocations: 0.5012 MB / 486 MB, free: 23.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.01241, allocations: 32.75 kB / 486.1 MB, free: 23.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.01264, allocations: 172.9 kB / 486.2 MB, free: 23.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.01298, allocations: 88.34 kB / 486.3 MB, free: 23.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01298, allocations: 0.6875 kB / 486.3 MB, free: 23.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004448/0.01343, allocations: 133.1 kB / 486.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.01345, allocations: 5.719 kB / 486.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.01346, allocations: 1.406 kB / 486.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.01348, allocations: 2.688 kB / 486.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.01363, allocations: 13.7 kB / 486.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.01364, allocations: 5.156 kB / 486.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.01377, allocations: 19.05 kB / 486.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.01379, allocations: 3.781 kB / 486.5 MB, free: 23.49 MB / 426.7 MB 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.0001746/0.01397, allocations: 167.5 kB / 486.7 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.01408, allocations: 18.33 kB / 486.7 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.01435, allocations: 76.2 kB / 486.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01436, allocations: 1.125 kB / 486.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01436, allocations: 2.844 kB / 486.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01437, allocations: 1.219 kB / 486.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.01474, allocations: 163.9 kB / 486.9 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01474, allocations: 3.938 kB / 486.9 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.01487, allocations: 20.89 kB / 486.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.01487, allocations: 5 kB / 486.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.01489, allocations: 8.594 kB / 487 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01489, allocations: 1.188 kB / 487 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.0149, allocations: 1.562 kB / 487 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.01556, allocations: 492.8 kB / 487.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.01559, allocations: 20.78 kB / 487.5 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.01562, allocations: 2.531 kB / 487.5 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.01589, allocations: 10.8 kB / 487.5 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.01601, allocations: 28.55 kB / 487.5 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01602, allocations: 2.812 kB / 487.5 MB, free: 22.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.01621, allocations: 161.1 kB / 487.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01621, allocations: 0.5625 kB / 487.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005611/0.01677, allocations: 22.72 kB / 487.7 MB, free: 22.49 MB / 426.7 MB 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.0001725/0.01694, allocations: 99.09 kB / 487.8 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.01743, allocations: 94.3 kB / 487.9 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01743, allocations: 0 / 487.9 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.01765, allocations: 50.61 kB / 487.9 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.01842, allocations: 22.7 kB / 487.9 MB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.01905, allocations: 227.1 kB / 488.2 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.01915, allocations: 85.81 kB / 488.2 MB, free: 22.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.01928, allocations: 23.45 kB / 488.3 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.01938, allocations: 20.03 kB / 488.3 MB, free: 22.05 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01938, allocations: 1.656 kB / 488.3 MB, free: 22.05 MB / 426.7 MB Notification: Performance of Templates: time 0.007424/0.0268, allocations: 1.423 MB / 489.7 MB, free: 21.96 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.76176339504309]