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.000842/0.0008419, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009023/0.0009023, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8635/0.8635, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 8 kB / 0.5068 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 82.32 MB / 0.5872 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002279/0.166, allocations: 1.642 MB / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.1669, allocations: 0.4953 MB / 0.5893 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.167, allocations: 4 kB / 0.5893 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.167, allocations: 11.86 kB / 0.5893 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1672, allocations: 47.89 kB / 0.5893 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.1674, allocations: 51.88 kB / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1677, allocations: 119.8 kB / 0.5895 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1678, allocations: 53.77 kB / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.168, allocations: 59.78 kB / 0.5896 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1681, allocations: 71.67 kB / 0.5897 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.1681, allocations: 8 kB / 0.5897 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.456e-05/0.1682, allocations: 8 kB / 0.5897 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.1682, allocations: 19.92 kB / 0.5897 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.1683, allocations: 53.58 kB / 0.5898 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1684, allocations: 120 kB / 0.5899 GB, free: 404 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.1684, allocations: 3.938 kB / 0.5899 GB, free: 400 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1684, allocations: 0 / 0.5899 GB, free: 400 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1684, allocations: 0 / 0.5899 GB, free: 400 kB / 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.0008237/0.1693, allocations: 474.7 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1693, allocations: 8.031 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1694, allocations: 27.72 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1697, allocations: 214.7 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.1698, allocations: 41.69 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1698, allocations: 12 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1702, allocations: 165.6 kB / 0.5908 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1702, allocations: 0 / 0.5908 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1702, allocations: 7.984 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1703, allocations: 4 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.1707, allocations: 172.3 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.1715, allocations: 0.5425 MB / 0.5915 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.1719, allocations: 150.6 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.172, allocations: 0 / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.172, allocations: 30.78 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.172, allocations: 3.938 kB / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006944/0.1727, allocations: 257.5 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1728, allocations: 51.41 kB / 0.592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1729, allocations: 158.5 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1729, allocations: 29.7 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.173, allocations: 128.1 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.173, allocations: 35.41 kB / 0.5923 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.1731, allocations: 11.94 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1732, allocations: 330.8 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1734, allocations: 67.95 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.1736, allocations: 98.52 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1738, allocations: 75.95 kB / 0.5929 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1738, allocations: 4 kB / 0.5929 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004568/0.1743, allocations: 209.4 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1743, allocations: 12.06 kB / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1743, allocations: 0 / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1743, allocations: 0 / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1745, allocations: 51.91 kB / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1745, allocations: 0 / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1747, allocations: 35.88 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1747, allocations: 8 kB / 0.5932 GB, free: 12.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 ($PRE.con.y_boolean,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.1748, allocations: 129.7 kB / 0.5933 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1749, allocations: 11.81 kB / 0.5933 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.1749, allocations: 16.72 kB / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1749, allocations: 7.922 kB / 0.5933 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1749, allocations: 0 / 0.5933 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1749, allocations: 8 kB / 0.5933 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1752, allocations: 237.5 kB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1752, allocations: 0 / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.1754, allocations: 47.91 kB / 0.5936 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1754, allocations: 0 / 0.5936 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1754, allocations: 0 / 0.5936 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1754, allocations: 0 / 0.5936 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1754, allocations: 8 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.1761, allocations: 378.8 kB / 0.594 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1762, allocations: 93.09 kB / 0.5941 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1762, allocations: 4 kB / 0.5941 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1764, allocations: 23.98 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.1764, allocations: 15.97 kB / 0.5941 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1764, allocations: 4 kB / 0.5941 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.1765, allocations: 115.2 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.723e-06/0.1765, allocations: 0 / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002521/0.1768, allocations: 43.78 kB / 0.5943 GB, free: 11.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.71e-05/0.1769, allocations: 100.3 kB / 0.5944 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.1773, allocations: 163.8 kB / 0.5945 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1773, allocations: 0 / 0.5945 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1775, allocations: 96 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.1778, allocations: 19.89 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.1785, allocations: 473.5 kB / 0.5951 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1788, allocations: 0.7199 MB / 0.5958 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.123e-05/0.1788, allocations: 8.547 kB / 0.5958 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.1789, allocations: 19.44 kB / 0.5958 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1789, allocations: 3.938 kB / 0.5958 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.003676/0.1826, allocations: 1.299 MB / 0.5971 GB, free: 8.641 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: