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.001004/0.001004, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 183.2 kB / 16.92 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9275/0.9275, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003486, allocations: 13.02 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 82.3 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002239/0.1704, allocations: 1.735 MB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.1712, allocations: 0.5105 MB / 0.5908 GB, free: 368 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.1713, allocations: 0 / 0.5908 GB, free: 368 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1714, allocations: 15.86 kB / 0.5908 GB, free: 352 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.1715, allocations: 39.64 kB / 0.5908 GB, free: 312 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1717, allocations: 51.94 kB / 0.5909 GB, free: 260 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1719, allocations: 183.2 kB / 0.5911 GB, free: 76 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1721, allocations: 53.89 kB / 0.5911 GB, free: 20 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1722, allocations: 63.89 kB / 0.5912 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1723, allocations: 71.62 kB / 0.5913 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.1724, allocations: 8 kB / 0.5913 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.123e-05/0.1724, allocations: 4 kB / 0.5913 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.1724, allocations: 23.91 kB / 0.5913 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.1725, allocations: 101.2 kB / 0.5914 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1727, allocations: 131.8 kB / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1727, allocations: 0 / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1727, allocations: 0 / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1727, allocations: 0 / 0.5915 GB, free: 15.62 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.0007272/0.1734, allocations: 476.7 kB / 0.592 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1735, allocations: 8.031 kB / 0.592 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.1735, allocations: 24.66 kB / 0.592 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1737, allocations: 207.3 kB / 0.5922 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.1738, allocations: 42.25 kB / 0.5922 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1739, allocations: 16.28 kB / 0.5922 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.1743, allocations: 173.7 kB / 0.5924 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1743, allocations: 0 / 0.5924 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1744, allocations: 4 kB / 0.5924 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1744, allocations: 7.984 kB / 0.5924 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.1749, allocations: 171.9 kB / 0.5926 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007785/0.1757, allocations: 0.5386 MB / 0.5931 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.1761, allocations: 146.6 kB / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.1764, allocations: 100.8 kB / 0.5934 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1764, allocations: 7.984 kB / 0.5934 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1764, allocations: 30.56 kB / 0.5934 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1764, allocations: 0 / 0.5934 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007523/0.1772, allocations: 265.3 kB / 0.5936 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1772, allocations: 51.41 kB / 0.5937 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1774, allocations: 153.5 kB / 0.5938 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1774, allocations: 29.7 kB / 0.5939 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.1775, allocations: 128.1 kB / 0.594 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.1775, allocations: 47.3 kB / 0.594 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.1776, allocations: 17.72 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1777, allocations: 322.8 kB / 0.5944 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.1779, allocations: 75.94 kB / 0.5944 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1782, allocations: 94.53 kB / 0.5945 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.1786, allocations: 170.4 kB / 0.5947 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1786, allocations: 3.938 kB / 0.5947 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005056/0.1791, allocations: 209.1 kB / 0.5949 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1792, allocations: 7.938 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1792, allocations: 4 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1792, allocations: 0 / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.1794, allocations: 52.02 kB / 0.5949 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1794, allocations: 7.938 kB / 0.595 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1796, allocations: 31.83 kB / 0.595 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1796, allocations: 11.98 kB / 0.595 GB, free: 11.79 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.0001085/0.1797, allocations: 130.2 kB / 0.5951 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1797, allocations: 15.81 kB / 0.5951 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.1798, allocations: 16.72 kB / 0.5952 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1798, allocations: 0 / 0.5952 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1798, allocations: 0 / 0.5952 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1798, allocations: 0 / 0.5952 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.1801, allocations: 241.5 kB / 0.5954 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1801, allocations: 0 / 0.5954 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.1803, allocations: 51.91 kB / 0.5954 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1803, allocations: 0 / 0.5954 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1803, allocations: 3.984 kB / 0.5954 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1803, allocations: 0 / 0.5954 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1803, allocations: 0 / 0.5954 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.1811, allocations: 382.6 kB / 0.5958 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1811, allocations: 85.05 kB / 0.5959 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1812, allocations: 4 kB / 0.5959 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.1813, allocations: 35.97 kB / 0.5959 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1814, allocations: 15.97 kB / 0.5959 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1814, allocations: 4 kB / 0.5959 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.1815, allocations: 111.2 kB / 0.596 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1815, allocations: 0 / 0.596 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002498/0.1818, allocations: 35.91 kB / 0.5961 GB, free: 10.59 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 9.861e-05/0.1819, allocations: 107.2 kB / 0.5962 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.1824, allocations: 164 kB / 0.5963 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1824, allocations: 4 kB / 0.5963 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.1826, allocations: 87.89 kB / 0.5964 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.183, allocations: 22.59 kB / 0.5964 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.1837, allocations: 0.515 MB / 0.5969 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.184, allocations: 0.716 MB / 0.5976 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.1841, allocations: 15.44 kB / 0.5977 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1841, allocations: 0 / 0.5977 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of Templates: time 0.003137/0.1872, allocations: 1.775 MB / 0.5994 GB, free: 7.121 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)