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.001015/0.001015, allocations: 99.03 kB / 16.02 MB, free: 76 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.00151/0.00151, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9569/0.9569, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 4.938 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1713, allocations: 82.32 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002491/0.1738, allocations: 1.731 MB / 0.5903 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.1748, allocations: 0.5105 MB / 0.5908 GB, free: 396 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.175, allocations: 4 kB / 0.5908 GB, free: 392 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1751, allocations: 11.86 kB / 0.5908 GB, free: 380 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1753, allocations: 39.7 kB / 0.5908 GB, free: 340 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1756, allocations: 51.88 kB / 0.5909 GB, free: 288 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.1759, allocations: 175.3 kB / 0.5911 GB, free: 112 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.176, allocations: 61.83 kB / 0.5911 GB, free: 48 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.1762, allocations: 67.7 kB / 0.5912 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1764, allocations: 67.69 kB / 0.5913 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.1764, allocations: 4 kB / 0.5913 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.1764, allocations: 8 kB / 0.5913 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.1765, allocations: 23.86 kB / 0.5913 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1767, allocations: 97.3 kB / 0.5914 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1768, allocations: 123.9 kB / 0.5915 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1768, allocations: 4 kB / 0.5915 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1768, allocations: 0 / 0.5915 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1768, allocations: 0 / 0.5915 GB, free: 15.65 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.0008594/0.1777, allocations: 474.9 kB / 0.592 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1778, allocations: 8.031 kB / 0.592 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.1778, allocations: 20.66 kB / 0.592 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1781, allocations: 208.1 kB / 0.5922 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.1782, allocations: 42.19 kB / 0.5922 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.1782, allocations: 16.38 kB / 0.5922 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.1787, allocations: 169.7 kB / 0.5924 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1787, allocations: 7.844 kB / 0.5924 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1787, allocations: 4 kB / 0.5924 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1787, allocations: 4 kB / 0.5924 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.1793, allocations: 175.8 kB / 0.5926 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/0.1802, allocations: 0.5425 MB / 0.5931 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.1807, allocations: 150.6 kB / 0.5933 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.1809, allocations: 96.8 kB / 0.5933 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.181, allocations: 0 / 0.5933 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.181, allocations: 34.56 kB / 0.5934 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 8.92e-07/0.181, allocations: 0 / 0.5934 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0008068/0.1818, allocations: 257.4 kB / 0.5936 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1819, allocations: 59.34 kB / 0.5937 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.182, allocations: 153.8 kB / 0.5938 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1821, allocations: 29.7 kB / 0.5939 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.1822, allocations: 128.1 kB / 0.594 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1822, allocations: 51.3 kB / 0.594 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1823, allocations: 17.72 kB / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1824, allocations: 322.8 kB / 0.5944 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.1827, allocations: 75.95 kB / 0.5944 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.1829, allocations: 97.75 kB / 0.5945 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.1834, allocations: 174.4 kB / 0.5947 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1834, allocations: 3.938 kB / 0.5947 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005668/0.184, allocations: 208.6 kB / 0.5949 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.184, allocations: 4 kB / 0.5949 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.184, allocations: 0 / 0.5949 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.184, allocations: 8.062 kB / 0.5949 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1842, allocations: 43.97 kB / 0.5949 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1843, allocations: 3.984 kB / 0.5949 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1844, allocations: 39.83 kB / 0.595 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1845, allocations: 8 kB / 0.595 GB, free: 11.82 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.0001274/0.1846, allocations: 130.2 kB / 0.5951 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.1846, allocations: 15.81 kB / 0.5951 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1847, allocations: 12.72 kB / 0.5951 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1847, allocations: 4 kB / 0.5951 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1847, allocations: 3.938 kB / 0.5952 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1847, allocations: 0 / 0.5952 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.185, allocations: 241.5 kB / 0.5954 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.185, allocations: 4 kB / 0.5954 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.1852, allocations: 39.97 kB / 0.5954 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1852, allocations: 0 / 0.5954 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1853, allocations: 4 kB / 0.5954 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1853, allocations: 0 / 0.5954 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1853, allocations: 7.922 kB / 0.5954 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.1861, allocations: 379.1 kB / 0.5958 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.1862, allocations: 85.05 kB / 0.5959 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1862, allocations: 4 kB / 0.5959 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1864, allocations: 39.91 kB / 0.5959 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.1865, allocations: 15.97 kB / 0.5959 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1865, allocations: 8 kB / 0.5959 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.55e-05/0.1866, allocations: 111.2 kB / 0.596 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1866, allocations: 0 / 0.596 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002717/0.1869, allocations: 39.91 kB / 0.5961 GB, free: 10.61 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.0001217/0.187, allocations: 99.25 kB / 0.5962 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.1875, allocations: 167 kB / 0.5963 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1876, allocations: 0 / 0.5963 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.1878, allocations: 91.95 kB / 0.5964 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1882, allocations: 19.92 kB / 0.5964 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009317/0.1891, allocations: 0.515 MB / 0.5969 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.1897, allocations: 0.716 MB / 0.5976 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1897, allocations: 15.44 kB / 0.5977 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.1898, allocations: 0 / 0.5977 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.00415/0.1939, allocations: 1.786 MB / 0.5994 GB, free: 7.141 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)