Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 108 kB / 16.41 MB, free: 6.027 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.001283/0.001283, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8444/0.8444, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 70.52 kB / 0.5862 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1844, allocations: 80.93 MB / 0.6653 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.00406/0.1885, allocations: 2.027 MB / 0.6672 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1897, allocations: 0.5454 MB / 0.6678 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1899, allocations: 0 / 0.6678 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.1901, allocations: 23.73 kB / 0.6678 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1903, allocations: 39.58 kB / 0.6678 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1906, allocations: 55.86 kB / 0.6679 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1909, allocations: 187.2 kB / 0.6681 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1911, allocations: 68.39 kB / 0.6681 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1913, allocations: 79.7 kB / 0.6682 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1915, allocations: 83.61 kB / 0.6683 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.1915, allocations: 16 kB / 0.6683 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.556e-05/0.1916, allocations: 12 kB / 0.6683 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.1916, allocations: 31.86 kB / 0.6683 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.1917, allocations: 83.53 kB / 0.6684 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.192, allocations: 179.3 kB / 0.6686 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.192, allocations: 0 / 0.6686 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.192, allocations: 0 / 0.6686 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.192, allocations: 4 kB / 0.6686 GB, free: 2.5 MB / 0.4981 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.0009731/0.193, allocations: 490.8 kB / 0.6691 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1931, allocations: 9.109 kB / 0.6691 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.1931, allocations: 16.75 kB / 0.6691 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1934, allocations: 211.3 kB / 0.6693 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.1935, allocations: 42.25 kB / 0.6693 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1936, allocations: 16.38 kB / 0.6694 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.194, allocations: 159 kB / 0.6695 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.194, allocations: 0 / 0.6695 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1941, allocations: 11.92 kB / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1941, allocations: 4 kB / 0.6695 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.1946, allocations: 147.9 kB / 0.6697 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.1955, allocations: 0.5269 MB / 0.6702 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.196, allocations: 138.6 kB / 0.6703 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.1963, allocations: 76.8 kB / 0.6704 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1963, allocations: 4 kB / 0.6704 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1963, allocations: 38.56 kB / 0.6704 GB, free: 472 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.1963, allocations: 0 / 0.6704 GB, free: 472 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0008192/0.1972, allocations: 225.2 kB / 0.6706 GB, free: 240 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1972, allocations: 55.41 kB / 0.6707 GB, free: 172 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1974, allocations: 150.2 kB / 0.6708 GB, free: 12 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.1974, allocations: 25.7 kB / 0.6709 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.1975, allocations: 124.2 kB / 0.671 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.1976, allocations: 43.39 kB / 0.671 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.1977, allocations: 29.7 kB / 0.671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.198, allocations: 326.8 kB / 0.6714 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.1982, allocations: 59.95 kB / 0.6714 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.1984, allocations: 85.47 kB / 0.6715 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.1989, allocations: 146.4 kB / 0.6716 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.1989, allocations: 3.938 kB / 0.6716 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000513/0.1994, allocations: 189.3 kB / 0.6718 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1994, allocations: 13.94 kB / 0.6718 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.1994, allocations: 0 / 0.6718 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1995, allocations: 0 / 0.6718 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1997, allocations: 35.97 kB / 0.6719 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.1997, allocations: 0 / 0.6719 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1998, allocations: 31.81 kB / 0.6719 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1999, allocations: 7.938 kB / 0.6719 GB, free: 14.86 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.0001379/0.2, allocations: 141.7 kB / 0.672 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.2001, allocations: 11.91 kB / 0.672 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.2001, allocations: 16.7 kB / 0.6721 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2001, allocations: 4 kB / 0.6721 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2001, allocations: 0 / 0.6721 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2001, allocations: 0 / 0.6721 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.2005, allocations: 245.4 kB / 0.6723 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2005, allocations: 4 kB / 0.6723 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.2008, allocations: 31.97 kB / 0.6723 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2008, allocations: 0 / 0.6723 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2008, allocations: 4 kB / 0.6723 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2008, allocations: 0 / 0.6723 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2008, allocations: 3.938 kB / 0.6723 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.2017, allocations: 347.6 kB / 0.6727 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.2018, allocations: 88.86 kB / 0.6728 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2018, allocations: 4 kB / 0.6728 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.202, allocations: 19.97 kB / 0.6728 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.202, allocations: 11.98 kB / 0.6728 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.2021, allocations: 4 kB / 0.6728 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.454e-05/0.2022, allocations: 112.1 kB / 0.6729 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2022, allocations: 4.062 kB / 0.6729 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002746/0.2024, allocations: 32 kB / 0.6729 GB, free: 13.71 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.0001302/0.2026, allocations: 99.19 kB / 0.673 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2031, allocations: 147.3 kB / 0.6732 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2031, allocations: 8.062 kB / 0.6732 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.2034, allocations: 75.88 kB / 0.6733 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.2038, allocations: 19.94 kB / 0.6733 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2048, allocations: 418.8 kB / 0.6737 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.2053, allocations: 0.7197 MB / 0.6744 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.2053, allocations: 11.44 kB / 0.6744 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2053, allocations: 4 kB / 0.6744 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of Templates: time 0.004241/0.2096, allocations: 1.811 MB / 0.6762 GB, free: 10.34 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)