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.0008457/0.0008457, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.002017, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0007893/0.0007893, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001921, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9919/0.9919, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6389/0.6389, allocations: 120.1 MB / 364.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06659/0.7054, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 1.813e-06/1.813e-06, allocations: 3.938 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.787e-05, allocations: 6.25 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001292/0.00131, allocations: 0.8664 MB / 404.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.002192, allocations: 0.9442 MB / 405.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.002229, allocations: 0 / 405.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.002255, allocations: 15.86 kB / 405.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.002307, allocations: 27.67 kB / 405.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.002417, allocations: 43.89 kB / 405.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.002524, allocations: 111.6 kB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.002607, allocations: 29.89 kB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.002778, allocations: 91.67 kB / 405.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.002845, allocations: 39.89 kB / 405.9 MB, free: 8.699 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.002861, allocations: 8 kB / 406 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.081e-05/0.002912, allocations: 8 kB / 406 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.00293, allocations: 11.94 kB / 406 MB, free: 8.672 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.002951, allocations: 19.94 kB / 406 MB, free: 8.652 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.003063, allocations: 63.64 kB / 406.1 MB, free: 8.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.003074, allocations: 4 kB / 406.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003074, allocations: 0 / 406.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.003088, allocations: 3.984 kB / 406.1 MB, free: 8.582 MB / 394.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.0003692/0.003457, allocations: 320.1 kB / 406.4 MB, free: 8.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.00349, allocations: 8.031 kB / 406.4 MB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.003659, allocations: 110 kB / 406.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.003848, allocations: 157.5 kB / 406.6 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.003869, allocations: 4.375 kB / 406.7 MB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.003887, allocations: 8.375 kB / 406.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.00404, allocations: 93.47 kB / 406.7 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.004053, allocations: 4.125 kB / 406.8 MB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.004064, allocations: 8.375 kB / 406.8 MB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.004072, allocations: 384 / 406.8 MB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.004112, allocations: 23.91 kB / 406.8 MB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.004445, allocations: 356.5 kB / 407.1 MB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.004551, allocations: 79.72 kB / 407.2 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.004578, allocations: 18.64 kB / 407.2 MB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.004604, allocations: 8 kB / 407.2 MB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.004631, allocations: 38.62 kB / 407.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.004632, allocations: 0 / 407.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001815/0.004814, allocations: 77.7 kB / 407.4 MB, free: 7.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.004854, allocations: 110.8 kB / 407.5 MB, free: 7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.004927, allocations: 146.5 kB / 407.6 MB, free: 6.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.004943, allocations: 29.7 kB / 407.6 MB, free: 6.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.004978, allocations: 96.11 kB / 407.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.005007, allocations: 31.73 kB / 407.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.005035, allocations: 21.7 kB / 407.8 MB, free: 6.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.005108, allocations: 322.8 kB / 408.1 MB, free: 6.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.005126, allocations: 11.98 kB / 408.1 MB, free: 6.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.005155, allocations: 42.38 kB / 408.1 MB, free: 6.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.0052, allocations: 42.58 kB / 408.2 MB, free: 6.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005201, allocations: 4 kB / 408.2 MB, free: 6.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.962e-05/0.005271, allocations: 73.59 kB / 408.3 MB, free: 6.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.005285, allocations: 7.938 kB / 408.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005289, allocations: 0 / 408.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.005306, allocations: 4 kB / 408.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.005371, allocations: 11.94 kB / 408.3 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.005376, allocations: 3.984 kB / 408.3 MB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.005407, allocations: 7.938 kB / 408.3 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.005414, allocations: 12 kB / 408.3 MB, free: 6.086 MB / 394.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 5.824e-05/0.005472, allocations: 109.8 kB / 408.4 MB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.005503, allocations: 11.98 kB / 408.4 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.005584, allocations: 66.17 kB / 408.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.005585, allocations: 0 / 408.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.005588, allocations: 4 kB / 408.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.005592, allocations: 3.984 kB / 408.5 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.00573, allocations: 85.92 kB / 408.6 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005732, allocations: 4 kB / 408.6 MB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.005763, allocations: 15.98 kB / 408.6 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.005772, allocations: 11.91 kB / 408.6 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005775, allocations: 4 kB / 408.6 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.005781, allocations: 3.938 kB / 408.6 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005782, allocations: 0 / 408.6 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.005784, allocations: 4 kB / 408.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.0059, allocations: 310 kB / 408.9 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.005915, allocations: 4 kB / 408.9 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.005988, allocations: 7.984 kB / 408.9 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.006038, allocations: 27.89 kB / 409 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.006042, allocations: 4 kB / 409 MB, free: 5.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.442e-05/0.006066, allocations: 36.81 kB / 409 MB, free: 5.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006066, allocations: 0 / 409 MB, free: 5.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.006223, allocations: 12 kB / 409 MB, free: 5.316 MB / 394.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 7.881e-05/0.006302, allocations: 92.23 kB / 409.1 MB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.006378, allocations: 36.84 kB / 409.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.006383, allocations: 4 kB / 409.2 MB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.006424, allocations: 44.7 kB / 409.2 MB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.006671, allocations: 57.69 kB / 409.3 MB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.006919, allocations: 210.5 kB / 409.5 MB, free: 4.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.006958, allocations: 63.34 kB / 409.5 MB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.007003, allocations: 16.83 kB / 409.5 MB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.007064, allocations: 67.36 kB / 409.6 MB, free: 4.656 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.007065, allocations: 0 / 409.6 MB, free: 4.656 MB / 394.7 MB Notification: Performance of Templates: time 0.002617/0.009682, allocations: 1.238 MB / 410.8 MB, free: 3.41 MB / 394.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: 3.2303070137277246]