Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.001314/0.001314, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001395/0.001395, allocations: 211.8 kB / 22.99 MB, free: 4.945 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8502/0.8502, allocations: 134 MB / 447.2 MB, free: 9.945 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: IDEAS 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.002108/0.002108, allocations: 67.08 kB / 0.6197 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1874, allocations: 85.91 MB / 0.7036 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003466/0.1908, allocations: 1.994 MB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1919, allocations: 0.5688 MB / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.192, allocations: 4 kB / 0.7061 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1921, allocations: 23.72 kB / 0.7061 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1922, allocations: 43.58 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1925, allocations: 67.84 kB / 0.7062 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1927, allocations: 195.2 kB / 0.7064 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1929, allocations: 51.12 kB / 0.7064 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1931, allocations: 83.72 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1932, allocations: 71.62 kB / 0.7066 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1933, allocations: 12 kB / 0.7066 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.1933, allocations: 23.98 kB / 0.7066 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.1934, allocations: 43.84 kB / 0.7067 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.1934, allocations: 63.72 kB / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1937, allocations: 179.2 kB / 0.7069 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1937, allocations: 0 / 0.7069 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1937, allocations: 0 / 0.7069 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1937, allocations: 0 / 0.7069 GB, free: 13.17 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008198/0.1945, allocations: 421.5 kB / 0.7073 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1946, allocations: 12.03 kB / 0.7073 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.1947, allocations: 36.72 kB / 0.7073 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.195, allocations: 154.2 kB / 0.7075 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.1951, allocations: 67.95 kB / 0.7076 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.1951, allocations: 12.38 kB / 0.7076 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.1955, allocations: 157.6 kB / 0.7077 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1955, allocations: 11.98 kB / 0.7077 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1955, allocations: 4 kB / 0.7077 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1955, allocations: 4 kB / 0.7077 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.196, allocations: 139.9 kB / 0.7079 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.1968, allocations: 388 kB / 0.7082 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.1972, allocations: 134.6 kB / 0.7084 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1974, allocations: 72.75 kB / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1975, allocations: 4 kB / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1975, allocations: 34.56 kB / 0.7085 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1975, allocations: 0 / 0.7085 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007121/0.1982, allocations: 229.3 kB / 0.7087 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1982, allocations: 55.41 kB / 0.7087 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1984, allocations: 151.3 kB / 0.7089 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1984, allocations: 33.7 kB / 0.7089 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.1985, allocations: 136.2 kB / 0.7091 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.1986, allocations: 39.62 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.1986, allocations: 29.72 kB / 0.7091 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1988, allocations: 330.8 kB / 0.7094 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.199, allocations: 55.95 kB / 0.7095 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1992, allocations: 82.52 kB / 0.7096 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.1996, allocations: 142.4 kB / 0.7097 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1996, allocations: 0 / 0.7097 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000479/0.2, allocations: 197.4 kB / 0.7099 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2001, allocations: 8 kB / 0.7099 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2001, allocations: 3.938 kB / 0.7099 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2001, allocations: 0 / 0.7099 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.2003, allocations: 35.97 kB / 0.7099 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2003, allocations: 4 kB / 0.7099 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.2004, allocations: 35.92 kB / 0.71 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2004, allocations: 7.938 kB / 0.71 GB, free: 9.797 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001079/0.2005, allocations: 117.8 kB / 0.7101 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.2006, allocations: 19.84 kB / 0.7101 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.2006, allocations: 17.41 kB / 0.7101 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2006, allocations: 0 / 0.7101 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2006, allocations: 3.984 kB / 0.7101 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2006, allocations: 0 / 0.7101 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2008, allocations: 165.3 kB / 0.7103 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2008, allocations: 7.938 kB / 0.7103 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.201, allocations: 39.91 kB / 0.7103 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.201, allocations: 3.938 kB / 0.7103 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.201, allocations: 4 kB / 0.7103 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.201, allocations: 0 / 0.7103 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.201, allocations: 4 kB / 0.7103 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.2018, allocations: 343 kB / 0.7107 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.2018, allocations: 15.88 kB / 0.7107 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.2018, allocations: 0 / 0.7107 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.202, allocations: 23.97 kB / 0.7107 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.2021, allocations: 11.98 kB / 0.7107 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2021, allocations: 7.984 kB / 0.7107 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.223e-05/0.2022, allocations: 112.9 kB / 0.7108 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 0 / 0.7108 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002545/0.2024, allocations: 43.98 kB / 0.7109 GB, free: 8.824 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001114/0.2025, allocations: 103.2 kB / 0.711 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.203, allocations: 135.8 kB / 0.7111 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.203, allocations: 0 / 0.7111 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.2032, allocations: 68.08 kB / 0.7112 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.2035, allocations: 26.27 kB / 0.7112 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.2043, allocations: 419 kB / 0.7116 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2044, allocations: 115.3 kB / 0.7117 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.2045, allocations: 19.44 kB / 0.7117 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2045, allocations: 0 / 0.7117 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.003863/0.2083, allocations: 1.904 MB / 0.7136 GB, free: 6 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.743847846053541] Failed to read output from testmodel.py, exit status != 0: 0.21624613273888826 0.23023078799999996 0.03368520799999994 Calling exit ...