Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 251 MB, free: 13 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.8266/0.8266, allocations: 134 MB / 440.3 MB, free: 196 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 68.73 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.181, allocations: 84.73 MB / 0.6934 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00358/0.1846, allocations: 2.05 MB / 0.6954 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1857, allocations: 0.5415 MB / 0.696 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1858, allocations: 4 kB / 0.696 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1859, allocations: 23.72 kB / 0.696 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.186, allocations: 51.52 kB / 0.6961 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1863, allocations: 59.88 kB / 0.6961 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1866, allocations: 179.3 kB / 0.6963 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1868, allocations: 54.39 kB / 0.6963 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.187, allocations: 75.7 kB / 0.6964 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1871, allocations: 87.61 kB / 0.6965 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.1872, allocations: 16 kB / 0.6965 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.1872, allocations: 12 kB / 0.6965 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1873, allocations: 31.86 kB / 0.6965 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1874, allocations: 87.59 kB / 0.6966 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1876, allocations: 171.3 kB / 0.6968 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1876, allocations: 0 / 0.6968 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1876, allocations: 4 kB / 0.6968 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1877, allocations: 0 / 0.6968 GB, free: 5.562 MB / 0.5137 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.00096/0.1886, allocations: 425.4 kB / 0.6972 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1887, allocations: 12.03 kB / 0.6972 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.1887, allocations: 24.84 kB / 0.6972 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.189, allocations: 147.7 kB / 0.6974 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.1891, allocations: 46.19 kB / 0.6974 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1891, allocations: 12.38 kB / 0.6974 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.1895, allocations: 153.7 kB / 0.6976 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1896, allocations: 3.984 kB / 0.6976 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1896, allocations: 11.98 kB / 0.6976 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1896, allocations: 4 kB / 0.6976 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.1901, allocations: 139.9 kB / 0.6977 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.191, allocations: 0.5026 MB / 0.6982 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1915, allocations: 126.6 kB / 0.6983 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1917, allocations: 80.8 kB / 0.6984 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1917, allocations: 3.938 kB / 0.6984 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1918, allocations: 34.56 kB / 0.6985 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.1918, allocations: 0 / 0.6985 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0008017/0.1926, allocations: 219.4 kB / 0.6987 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1926, allocations: 63.34 kB / 0.6987 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1928, allocations: 152.8 kB / 0.6989 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1928, allocations: 29.7 kB / 0.6989 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.1929, allocations: 136.2 kB / 0.699 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.1929, allocations: 35.69 kB / 0.6991 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.193, allocations: 33.67 kB / 0.6991 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1932, allocations: 326.8 kB / 0.6994 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.1934, allocations: 59.94 kB / 0.6995 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1937, allocations: 89.75 kB / 0.6996 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.1941, allocations: 134.4 kB / 0.6997 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1941, allocations: 3.938 kB / 0.6997 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005471/0.1947, allocations: 193.5 kB / 0.6999 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1947, allocations: 7.984 kB / 0.6999 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1947, allocations: 0 / 0.6999 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1947, allocations: 4 kB / 0.6999 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1949, allocations: 35.91 kB / 0.6999 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1949, allocations: 4 kB / 0.6999 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1951, allocations: 31.94 kB / 0.6999 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1951, allocations: 7.984 kB / 0.7 GB, free: 2.109 MB / 0.5137 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.0001173/0.1952, allocations: 121.8 kB / 0.7001 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1952, allocations: 15.91 kB / 0.7001 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1953, allocations: 16.72 kB / 0.7001 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1953, allocations: 0 / 0.7001 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1953, allocations: 0 / 0.7001 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1953, allocations: 3.984 kB / 0.7001 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1956, allocations: 216.6 kB / 0.7003 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1956, allocations: 0 / 0.7003 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1958, allocations: 39.91 kB / 0.7004 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1958, allocations: 0 / 0.7004 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.1958, allocations: 7.984 kB / 0.7004 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1958, allocations: 3.984 kB / 0.7004 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1958, allocations: 3.938 kB / 0.7004 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.1966, allocations: 339.2 kB / 0.7007 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.1967, allocations: 15.88 kB / 0.7007 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1967, allocations: 0 / 0.7007 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1968, allocations: 28.03 kB / 0.7007 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.1969, allocations: 15.97 kB / 0.7007 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.1969, allocations: 7.938 kB / 0.7008 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.704e-05/0.197, allocations: 120 kB / 0.7009 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.197, allocations: 0 / 0.7009 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002693/0.1973, allocations: 35.94 kB / 0.7009 GB, free: 1.07 MB / 0.5137 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.0001102/0.1974, allocations: 95.25 kB / 0.701 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.1979, allocations: 143.8 kB / 0.7011 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1979, allocations: 0 / 0.7011 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.1982, allocations: 75.88 kB / 0.7012 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1985, allocations: 21.05 kB / 0.7012 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.1994, allocations: 398 kB / 0.7016 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1998, allocations: 0.7157 MB / 0.7023 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.098e-05/0.1998, allocations: 16.48 kB / 0.7023 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.1999, allocations: 15.44 kB / 0.7023 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1999, allocations: 0 / 0.7023 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.004977/0.2049, allocations: 1.669 MB / 0.704 GB, free: 13.89 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.326418896205723] Failed to read output from testmodel.py, exit status != 0: 0.21231141779571772 0.228140308 0.037373535 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9ba99e17b0>