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.001438/0.001438, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001585/0.001585, allocations: 193 kB / 16.25 MB, free: 6.637 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.25 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1775, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003308/0.1809, allocations: 2.089 MB / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008325/0.1817, allocations: 0.5143 MB / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.1818, allocations: 4 kB / 0.587 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.1819, allocations: 15.86 kB / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.278e-05/0.182, allocations: 43.62 kB / 0.5871 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1822, allocations: 43.95 kB / 0.5871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1824, allocations: 179.2 kB / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1826, allocations: 82.22 kB / 0.5874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.1828, allocations: 71.77 kB / 0.5874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1829, allocations: 79.69 kB / 0.5875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.1829, allocations: 16 kB / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.964e-05/0.183, allocations: 12 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.183, allocations: 43.83 kB / 0.5876 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.1831, allocations: 79.61 kB / 0.5877 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1833, allocations: 171.6 kB / 0.5878 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1833, allocations: 0 / 0.5878 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1833, allocations: 0 / 0.5878 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1833, allocations: 0 / 0.5878 GB, free: 0.8633 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.0007808/0.1841, allocations: 486.8 kB / 0.5883 GB, free: 348 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1842, allocations: 12.03 kB / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.1842, allocations: 20.66 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1845, allocations: 215.8 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.1845, allocations: 42.25 kB / 0.5886 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1846, allocations: 12.38 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.185, allocations: 153.8 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.185, allocations: 0 / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.185, allocations: 8 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1851, allocations: 7.938 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.1856, allocations: 151.8 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.1864, allocations: 0.5269 MB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.1868, allocations: 130.6 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.187, allocations: 88.73 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1871, allocations: 4 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1871, allocations: 30.56 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.1871, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006848/0.1878, allocations: 221.2 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1878, allocations: 55.34 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.188, allocations: 154.4 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.188, allocations: 25.7 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.1881, allocations: 132 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.1881, allocations: 51.33 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.1882, allocations: 25.72 kB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1884, allocations: 326.8 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1886, allocations: 67.88 kB / 0.5907 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.1888, allocations: 78.53 kB / 0.5907 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.1892, allocations: 146.4 kB / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1892, allocations: 3.938 kB / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000463/0.1897, allocations: 185.4 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1897, allocations: 6.344 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1897, allocations: 4 kB / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1898, allocations: 0 / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1899, allocations: 39.95 kB / 0.5911 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.19, allocations: 0 / 0.5911 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1901, allocations: 35.89 kB / 0.5911 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1901, allocations: 4 kB / 0.5911 GB, free: 13.21 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.0001059/0.1902, allocations: 129.7 kB / 0.5913 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.1903, allocations: 19.81 kB / 0.5913 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.1903, allocations: 16.72 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1903, allocations: 0 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1903, allocations: 0 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1903, allocations: 0 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1906, allocations: 241.5 kB / 0.5915 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1906, allocations: 4 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1908, allocations: 31.97 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1908, allocations: 3.938 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1908, allocations: 7.984 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1909, allocations: 4 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1909, allocations: 3.938 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.1916, allocations: 339.1 kB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.1916, allocations: 88.98 kB / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1917, allocations: 4 kB / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1918, allocations: 24.03 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.1919, allocations: 15.97 kB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1919, allocations: 4 kB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.808e-05/0.192, allocations: 107.3 kB / 0.5921 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.192, allocations: 0 / 0.5921 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002462/0.1923, allocations: 39.89 kB / 0.5922 GB, free: 12.06 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.0001063/0.1924, allocations: 103.2 kB / 0.5923 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.1929, allocations: 155.8 kB / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1929, allocations: 0 / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1931, allocations: 67.95 kB / 0.5925 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1934, allocations: 39.92 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.1942, allocations: 441.1 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1945, allocations: 0.7197 MB / 0.5936 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.376e-05/0.1946, allocations: 8.562 kB / 0.5937 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.1946, allocations: 23.42 kB / 0.5937 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1946, allocations: 3.938 kB / 0.5937 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.004235/0.1989, allocations: 1.422 MB / 0.5951 GB, free: 9.055 MB / 0.4981 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)