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.001357/0.001357, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001596/0.001596, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 1.01/1.01, allocations: 150 MB / 463.1 MB, free: 10.46 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.002101/0.002101, allocations: 74.66 kB / 0.6418 GB, free: 9.793 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2237, allocations: 89.17 MB / 0.7289 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002726/0.2264, allocations: 0.8345 MB / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2279, allocations: 0.9326 MB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.2279, allocations: 0 / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.228, allocations: 11.88 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.2281, allocations: 15.8 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.2284, allocations: 47.88 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.2285, allocations: 115.7 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2287, allocations: 17.3 kB / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.2289, allocations: 59.78 kB / 0.7308 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.229, allocations: 55.75 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.229, allocations: 12 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.2291, allocations: 16 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.2291, allocations: 23.91 kB / 0.7309 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.2292, allocations: 55.66 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.2294, allocations: 119.5 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2294, allocations: 0 / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2294, allocations: 4 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2295, allocations: 0 / 0.7311 GB, free: 14.35 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.0007664/0.2302, allocations: 373.6 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2303, allocations: 12.03 kB / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.2305, allocations: 24.88 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.231, allocations: 199.2 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.2311, allocations: 4.375 kB / 0.7317 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.2311, allocations: 12.38 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.2314, allocations: 112.8 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2314, allocations: 3.938 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2314, allocations: 3.984 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2314, allocations: 7.938 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.2317, allocations: 71.92 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.2324, allocations: 480.1 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.2326, allocations: 111.8 kB / 0.7325 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2328, allocations: 54.55 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2328, allocations: 7.938 kB / 0.7325 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.2329, allocations: 34.5 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.2329, allocations: 0 / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006157/0.2335, allocations: 165.4 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.2335, allocations: 106.8 kB / 0.7328 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2337, allocations: 149.5 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2337, allocations: 33.95 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.2338, allocations: 112.2 kB / 0.7331 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.2339, allocations: 27.78 kB / 0.7331 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.2339, allocations: 25.72 kB / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2341, allocations: 322.8 kB / 0.7335 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2342, allocations: 47.95 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2344, allocations: 86.38 kB / 0.7336 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.2346, allocations: 90.5 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2346, allocations: 0 / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003555/0.235, allocations: 137.5 kB / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.235, allocations: 8 kB / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.235, allocations: 0 / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.235, allocations: 0 / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2352, allocations: 27.91 kB / 0.7338 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2352, allocations: 0 / 0.7338 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.2353, allocations: 19.94 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2353, allocations: 11.98 kB / 0.7339 GB, free: 11.26 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.0001112/0.2354, allocations: 123.8 kB / 0.734 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.2355, allocations: 7.953 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.2358, allocations: 94.25 kB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2358, allocations: 4.031 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2358, allocations: 4 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.2358, allocations: 11.92 kB / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.2361, allocations: 172.7 kB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2361, allocations: 0 / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.2362, allocations: 15.98 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2362, allocations: 0 / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2362, allocations: 7.984 kB / 0.7343 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2362, allocations: 0 / 0.7343 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2362, allocations: 0 / 0.7343 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.2368, allocations: 377.9 kB / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.2368, allocations: 15.95 kB / 0.7347 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.2368, allocations: 4 kB / 0.7347 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.237, allocations: 19.97 kB / 0.7347 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.2371, allocations: 23.95 kB / 0.7347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.2371, allocations: 4 kB / 0.7347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001/0.2372, allocations: 121.8 kB / 0.7348 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2372, allocations: 4 kB / 0.7348 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003047/0.2375, allocations: 15.95 kB / 0.7349 GB, free: 10.17 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.0001528/0.2377, allocations: 107.2 kB / 0.735 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.238, allocations: 95.92 kB / 0.7351 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.238, allocations: 3.938 kB / 0.7351 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.2382, allocations: 47.95 kB / 0.7351 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.2387, allocations: 8 kB / 0.7351 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.2392, allocations: 215.5 kB / 0.7353 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.2395, allocations: 0.6963 MB / 0.736 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.256e-05/0.2396, allocations: 16.64 kB / 0.736 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.2396, allocations: 19.42 kB / 0.736 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/0.2396, allocations: 0 / 0.736 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of Templates: time 0.004631/0.2443, allocations: 1.404 MB / 0.7374 GB, free: 7.508 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: 6.249500023666769] Failed to read output from testmodel.py, exit status != 0: 0.2541828160174191 0.27056019400000003 0.037825618000000005 Calling exit ...