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.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001591/0.001591, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.793 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.8942/0.8942, allocations: 134 MB / 446.4 MB, free: 9.938 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.002088/0.002088, allocations: 72.02 kB / 0.6189 GB, free: 6.406 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1831, allocations: 85.91 MB / 0.7028 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003614/0.1867, allocations: 1.994 MB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1879, allocations: 0.561 MB / 0.7053 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.188, allocations: 4 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1881, allocations: 27.72 kB / 0.7054 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1882, allocations: 43.58 kB / 0.7054 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1885, allocations: 63.86 kB / 0.7055 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1888, allocations: 191.2 kB / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1889, allocations: 58.38 kB / 0.7057 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1891, allocations: 75.77 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1893, allocations: 87.48 kB / 0.7059 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.1893, allocations: 12 kB / 0.7059 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.1894, allocations: 24 kB / 0.7059 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.1894, allocations: 31.86 kB / 0.7059 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.1895, allocations: 63.72 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1898, allocations: 187.2 kB / 0.7062 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1898, allocations: 0 / 0.7062 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1898, allocations: 0 / 0.7062 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1898, allocations: 0 / 0.7062 GB, free: 13.15 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.0008684/0.1906, allocations: 421.5 kB / 0.7066 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1907, allocations: 12.03 kB / 0.7066 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1908, allocations: 32.78 kB / 0.7066 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1912, allocations: 154.2 kB / 0.7067 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.1913, allocations: 63.97 kB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1913, allocations: 12.38 kB / 0.7068 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.1917, allocations: 169.7 kB / 0.707 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1917, allocations: 0 / 0.707 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1918, allocations: 4 kB / 0.707 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1918, allocations: 7.938 kB / 0.707 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.1923, allocations: 135.9 kB / 0.7071 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.1931, allocations: 392 kB / 0.7075 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.1936, allocations: 130.6 kB / 0.7076 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.1938, allocations: 76.75 kB / 0.7077 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1938, allocations: 4 kB / 0.7077 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1939, allocations: 38.55 kB / 0.7077 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1939, allocations: 0 / 0.7077 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007455/0.1946, allocations: 228.8 kB / 0.708 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1947, allocations: 59.34 kB / 0.708 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1948, allocations: 151.3 kB / 0.7082 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1949, allocations: 25.7 kB / 0.7082 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.195, allocations: 128.2 kB / 0.7083 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.195, allocations: 47.62 kB / 0.7083 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.1951, allocations: 29.7 kB / 0.7084 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1952, allocations: 322.8 kB / 0.7087 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1955, allocations: 55.95 kB / 0.7087 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.1957, allocations: 89.19 kB / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.1961, allocations: 142 kB / 0.709 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1961, allocations: 3.938 kB / 0.709 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005134/0.1966, allocations: 201.4 kB / 0.7092 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1966, allocations: 4 kB / 0.7092 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1966, allocations: 4 kB / 0.7092 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.1967, allocations: 4 kB / 0.7092 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.1969, allocations: 35.97 kB / 0.7092 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1969, allocations: 8 kB / 0.7092 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.197, allocations: 31.86 kB / 0.7092 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.197, allocations: 4 kB / 0.7092 GB, free: 9.793 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.0001299/0.1972, allocations: 125.8 kB / 0.7094 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.1972, allocations: 19.84 kB / 0.7094 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.1973, allocations: 21.39 kB / 0.7094 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1973, allocations: 0 / 0.7094 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1973, allocations: 0 / 0.7094 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1973, allocations: 4 kB / 0.7094 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.1975, allocations: 161.3 kB / 0.7096 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1975, allocations: 3.984 kB / 0.7096 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.1977, allocations: 39.91 kB / 0.7096 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1977, allocations: 0 / 0.7096 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1978, allocations: 0 / 0.7096 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1978, allocations: 4 kB / 0.7096 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.1978, allocations: 7.922 kB / 0.7096 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.1986, allocations: 335.2 kB / 0.7099 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.1986, allocations: 15.88 kB / 0.7099 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1986, allocations: 4 kB / 0.71 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1988, allocations: 19.97 kB / 0.71 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.1989, allocations: 15.97 kB / 0.71 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1989, allocations: 4.062 kB / 0.71 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001153/0.199, allocations: 124.9 kB / 0.7101 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.199, allocations: 0 / 0.7101 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002759/0.1993, allocations: 35.94 kB / 0.7101 GB, free: 8.816 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.0001613/0.1994, allocations: 99.19 kB / 0.7102 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.1999, allocations: 136 kB / 0.7104 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1999, allocations: 0 / 0.7104 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2002, allocations: 75.81 kB / 0.7104 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2005, allocations: 20 kB / 0.7105 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.2013, allocations: 401.3 kB / 0.7108 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.2014, allocations: 107.3 kB / 0.7109 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.745e-05/0.2015, allocations: 12.48 kB / 0.711 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.2016, allocations: 11.44 kB / 0.711 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.2016, allocations: 4 kB / 0.711 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.005387/0.207, allocations: 1.773 MB / 0.7127 GB, free: 6.16 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: 5.782993070781231] Failed to read output from testmodel.py, exit status != 0: 0.21533455699682236 0.23171418400000002 0.038599308000000006 Calling exit ...