Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 200.2 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9483/0.9483, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 59.8 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1807, allocations: 81.03 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003563/0.1843, allocations: 2.077 MB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009252/0.1853, allocations: 0.5221 MB / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.1854, allocations: 0 / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1856, allocations: 19.86 kB / 0.587 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1857, allocations: 39.69 kB / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1859, allocations: 47.89 kB / 0.5871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1862, allocations: 179.2 kB / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.1864, allocations: 74.3 kB / 0.5874 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1865, allocations: 79.69 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1866, allocations: 75.69 kB / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1867, allocations: 16 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.281e-05/0.1867, allocations: 16 kB / 0.5876 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1868, allocations: 39.84 kB / 0.5876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.1869, allocations: 83.58 kB / 0.5877 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1871, allocations: 167.6 kB / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1871, allocations: 4 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1871, allocations: 0 / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1871, allocations: 0 / 0.5878 GB, free: 0.8438 MB / 494.1 MB 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.0009055/0.188, allocations: 486.8 kB / 0.5883 GB, free: 328 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1881, allocations: 8.031 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.1881, allocations: 20.66 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1884, allocations: 219.8 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.1885, allocations: 42.25 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.1886, allocations: 16.38 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.189, allocations: 157.7 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.189, allocations: 0 / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.189, allocations: 4 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.189, allocations: 4 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.1895, allocations: 151.8 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.1904, allocations: 0.523 MB / 0.5894 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.1908, allocations: 142.5 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.1911, allocations: 80.8 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1911, allocations: 4 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1911, allocations: 30.56 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1911, allocations: 0 / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007158/0.1919, allocations: 217 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1919, allocations: 59.41 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1921, allocations: 158.1 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1921, allocations: 33.64 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1922, allocations: 132 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1923, allocations: 43.33 kB / 0.5903 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.1923, allocations: 25.72 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1925, allocations: 326.8 kB / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.1927, allocations: 63.94 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.1929, allocations: 89.33 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.1933, allocations: 134.5 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1933, allocations: 3.938 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004726/0.1938, allocations: 193.4 kB / 0.5911 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1938, allocations: 4 kB / 0.5911 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.1939, allocations: 3.984 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1939, allocations: 4 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.1941, allocations: 31.97 kB / 0.5911 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1941, allocations: 4 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1943, allocations: 27.81 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1943, allocations: 8.062 kB / 0.5911 GB, free: 13.2 MB / 0.4981 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.0001261/0.1944, allocations: 133.7 kB / 0.5913 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.1945, allocations: 11.81 kB / 0.5913 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1945, allocations: 16.72 kB / 0.5913 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1945, allocations: 0 / 0.5913 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1945, allocations: 0 / 0.5913 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1946, allocations: 7.984 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.1949, allocations: 237.5 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1949, allocations: 0 / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.1951, allocations: 39.95 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1951, allocations: 4 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1951, allocations: 4 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1951, allocations: 0 / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1951, allocations: 0 / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.1959, allocations: 347 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1959, allocations: 92.97 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.196, allocations: 3.984 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1961, allocations: 15.98 kB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.1962, allocations: 19.97 kB / 0.592 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1962, allocations: 4.062 kB / 0.592 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.9e-05/0.1963, allocations: 115.2 kB / 0.5921 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1963, allocations: 0 / 0.5921 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002581/0.1966, allocations: 35.91 kB / 0.5922 GB, free: 12.04 MB / 0.4981 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.0001175/0.1967, allocations: 95.25 kB / 0.5923 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.1972, allocations: 163.7 kB / 0.5924 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1972, allocations: 3.938 kB / 0.5924 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.1975, allocations: 75.94 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1978, allocations: 15.94 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.1988, allocations: 457.1 kB / 0.593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1992, allocations: 0.7158 MB / 0.5937 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.839e-05/0.1992, allocations: 16.53 kB / 0.5937 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.1993, allocations: 15.44 kB / 0.5937 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1993, allocations: 0 / 0.5937 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.00453/0.2038, allocations: 1.424 MB / 0.5951 GB, free: 9.031 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)