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.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.001863/0.001863, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.0025/0.0025, allocations: 213.1 kB / 22.25 MB, free: 5.242 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.656/1.656, allocations: 230.6 MB / 256 MB, free: 7.812 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.893/0.893, allocations: 134 MB / 446.4 MB, free: 9.914 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_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: 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.00222/0.00222, allocations: 71.48 kB / 0.6189 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1724, allocations: 85.92 MB / 0.7028 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003731/0.1761, allocations: 1.99 MB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1773, allocations: 0.5649 MB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1775, allocations: 7.938 kB / 0.7053 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.1776, allocations: 15.8 kB / 0.7054 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1777, allocations: 47.58 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.178, allocations: 71.84 kB / 0.7055 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.1783, allocations: 191.2 kB / 0.7056 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1785, allocations: 55.14 kB / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1787, allocations: 79.7 kB / 0.7058 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1788, allocations: 71.62 kB / 0.7058 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1789, allocations: 12 kB / 0.7059 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.1789, allocations: 24 kB / 0.7059 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.179, allocations: 43.83 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.1791, allocations: 63.67 kB / 0.706 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.1794, allocations: 183.2 kB / 0.7062 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1794, allocations: 0 / 0.7062 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1794, allocations: 0 / 0.7062 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1794, allocations: 0 / 0.7062 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.0008458/0.1802, allocations: 421.5 kB / 0.7066 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1803, allocations: 12.03 kB / 0.7066 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.1804, allocations: 32.78 kB / 0.7066 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1807, allocations: 154.2 kB / 0.7067 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.1808, allocations: 63.97 kB / 0.7068 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.1809, allocations: 12.38 kB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.1813, allocations: 169.6 kB / 0.707 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1813, allocations: 0 / 0.707 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1813, allocations: 8 kB / 0.707 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1813, allocations: 4 kB / 0.707 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.1819, allocations: 135.9 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.1827, allocations: 392 kB / 0.7075 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.1831, allocations: 130.6 kB / 0.7076 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.1834, allocations: 80.73 kB / 0.7077 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1834, allocations: 3.984 kB / 0.7077 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1834, allocations: 34.56 kB / 0.7077 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.1834, allocations: 4 kB / 0.7077 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007658/0.1842, allocations: 225.3 kB / 0.708 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1843, allocations: 55.41 kB / 0.708 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1844, allocations: 151.3 kB / 0.7082 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1844, allocations: 29.7 kB / 0.7082 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1845, allocations: 136.2 kB / 0.7083 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.1846, allocations: 43.64 kB / 0.7084 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.1847, allocations: 29.7 kB / 0.7084 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1848, allocations: 322.8 kB / 0.7087 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.185, allocations: 59.94 kB / 0.7087 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.1853, allocations: 82.53 kB / 0.7088 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.1857, allocations: 142.4 kB / 0.709 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1857, allocations: 0 / 0.709 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005329/0.1862, allocations: 201.1 kB / 0.7092 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1862, allocations: 4 kB / 0.7092 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1863, allocations: 0 / 0.7092 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1863, allocations: 4 kB / 0.7092 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.1865, allocations: 43.95 kB / 0.7092 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1865, allocations: 3.938 kB / 0.7092 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1866, allocations: 31.94 kB / 0.7092 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1867, allocations: 11.94 kB / 0.7092 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.0001251/0.1868, allocations: 125.8 kB / 0.7094 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.1868, allocations: 15.84 kB / 0.7094 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1869, allocations: 21.34 kB / 0.7094 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1869, allocations: 0 / 0.7094 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1869, allocations: 0 / 0.7094 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.1869, allocations: 0 / 0.7094 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1871, allocations: 161.3 kB / 0.7096 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1871, allocations: 3.984 kB / 0.7096 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.1873, allocations: 47.84 kB / 0.7096 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1873, allocations: 0 / 0.7096 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1873, allocations: 0 / 0.7096 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1873, allocations: 4 kB / 0.7096 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1873, allocations: 0 / 0.7096 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.1881, allocations: 333.7 kB / 0.7099 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.1882, allocations: 23.81 kB / 0.7099 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1882, allocations: 7.984 kB / 0.71 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1884, allocations: 11.98 kB / 0.71 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.1884, allocations: 15.97 kB / 0.71 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1884, allocations: 4 kB / 0.71 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.452e-05/0.1885, allocations: 120.9 kB / 0.7101 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1885, allocations: 0 / 0.7101 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002762/0.1888, allocations: 35.94 kB / 0.7101 GB, free: 8.832 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.0001213/0.1889, allocations: 103.2 kB / 0.7102 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004985/0.1894, allocations: 139.8 kB / 0.7104 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1894, allocations: 0 / 0.7104 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.1897, allocations: 76.06 kB / 0.7104 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.19, allocations: 10.34 kB / 0.7105 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.1908, allocations: 401.3 kB / 0.7108 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1909, allocations: 107.3 kB / 0.7109 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.88e-05/0.191, allocations: 12.48 kB / 0.7109 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.1911, allocations: 19.38 kB / 0.711 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1911, allocations: 0 / 0.711 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.00529/0.1963, allocations: 1.78 MB / 0.7127 GB, free: 6.172 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.829669324681163] Failed to read output from testmodel.py, exit status != 0: 0.20463794842362404 0.22121216500000002 0.038412317 Calling exit ...