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.001274/0.001274, allocations: 105.2 kB / 20.45 MB, free: 1.5 MB / 14.72 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.001444/0.001444, allocations: 219.2 kB / 23.76 MB, free: 4.711 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 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 0.9695/0.9695, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 76.56 kB / 0.6425 GB, free: 9.828 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1986, allocations: 89.17 MB / 0.7296 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002229/0.2009, allocations: 0.8381 MB / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2021, allocations: 0.9327 MB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.2022, allocations: 4 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.2022, allocations: 7.875 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2023, allocations: 15.8 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2026, allocations: 47.88 kB / 0.7314 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.2028, allocations: 111.7 kB / 0.7315 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2029, allocations: 21.3 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2031, allocations: 63.77 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2032, allocations: 55.77 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.2032, allocations: 8 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.2033, allocations: 16 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.2033, allocations: 31.89 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.2034, allocations: 43.73 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2036, allocations: 123.4 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2036, allocations: 0 / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2036, allocations: 0 / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2036, allocations: 4 kB / 0.7319 GB, free: 14.4 MB / 0.5606 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.0007413/0.2043, allocations: 381.6 kB / 0.7322 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2044, allocations: 8.031 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.2046, allocations: 28.88 kB / 0.7323 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.2051, allocations: 194.5 kB / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.2052, allocations: 4.375 kB / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.2052, allocations: 8.375 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.2055, allocations: 112.7 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2055, allocations: 11.92 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2055, allocations: 4 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2055, allocations: 0 / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.2058, allocations: 67.94 kB / 0.7327 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.2065, allocations: 488.1 kB / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.2067, allocations: 115.8 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.2069, allocations: 54.55 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2069, allocations: 0 / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2069, allocations: 42.48 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2069, allocations: 3.938 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006281/0.2076, allocations: 157.4 kB / 0.7335 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.2077, allocations: 110.8 kB / 0.7336 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2078, allocations: 145.3 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.2078, allocations: 33.7 kB / 0.7338 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.2079, allocations: 112.5 kB / 0.7339 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.208, allocations: 27.78 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.208, allocations: 25.72 kB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2082, allocations: 326.8 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.2083, allocations: 43.89 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.2085, allocations: 81.12 kB / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.2088, allocations: 90.5 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2088, allocations: 0 / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003554/0.2091, allocations: 141.5 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2092, allocations: 4 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2092, allocations: 3.938 kB / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2092, allocations: 4 kB / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2093, allocations: 19.97 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.2093, allocations: 3.984 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2095, allocations: 23.94 kB / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2095, allocations: 4 kB / 0.7346 GB, free: 11.31 MB / 0.5606 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.0001121/0.2096, allocations: 121.8 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.2096, allocations: 7.953 kB / 0.7348 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.2099, allocations: 94.25 kB / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2099, allocations: 0 / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2099, allocations: 4 kB / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2099, allocations: 12.02 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.2103, allocations: 176.7 kB / 0.735 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2103, allocations: 0 / 0.735 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.2104, allocations: 19.92 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2104, allocations: 4 kB / 0.7351 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2104, allocations: 8.047 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2104, allocations: 0 / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2104, allocations: 7.938 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.2108, allocations: 365.9 kB / 0.7354 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.2109, allocations: 15.89 kB / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.2109, allocations: 7.984 kB / 0.7354 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2111, allocations: 15.98 kB / 0.7355 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.2112, allocations: 23.95 kB / 0.7355 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2112, allocations: 3.938 kB / 0.7355 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.843e-05/0.2113, allocations: 119.2 kB / 0.7356 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2113, allocations: 0 / 0.7356 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003135/0.2116, allocations: 15.95 kB / 0.7356 GB, free: 10.22 MB / 0.5606 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.0001435/0.2117, allocations: 107.2 kB / 0.7357 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.2121, allocations: 99.86 kB / 0.7358 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2121, allocations: 0 / 0.7358 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2123, allocations: 47.95 kB / 0.7359 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.2127, allocations: 15.94 kB / 0.7359 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.2132, allocations: 237.2 kB / 0.7361 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.2136, allocations: 0.7002 MB / 0.7368 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.2137, allocations: 19.44 kB / 0.7368 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2137, allocations: 0 / 0.7368 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of Templates: time 0.003561/0.2172, allocations: 1.512 MB / 0.7383 GB, free: 7.418 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.883031972916797] Failed to read output from testmodel.py, exit status != 0: 0.22633235482499003 0.24130489100000002 0.034491574000000004 Calling exit ...