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.001582/0.001582, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.0012/0.0012, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.853/0.853, allocations: 135.2 MB / 426.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 66.34 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1681, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003575/0.1716, allocations: 2.027 MB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.1726, allocations: 0.5337 MB / 0.6678 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.1727, allocations: 4 kB / 0.6678 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1728, allocations: 19.73 kB / 0.6679 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1729, allocations: 39.58 kB / 0.6679 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1732, allocations: 59.86 kB / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1734, allocations: 191.2 kB / 0.6681 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1736, allocations: 60.12 kB / 0.6682 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1737, allocations: 75.77 kB / 0.6683 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1739, allocations: 83.55 kB / 0.6683 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1739, allocations: 16 kB / 0.6684 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.194e-05/0.1739, allocations: 16 kB / 0.6684 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.174, allocations: 27.92 kB / 0.6684 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1741, allocations: 83.53 kB / 0.6685 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1743, allocations: 179.2 kB / 0.6686 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1744, allocations: 0 / 0.6686 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1744, allocations: 0 / 0.6686 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1744, allocations: 3.938 kB / 0.6686 GB, free: 2.344 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.0008831/0.1752, allocations: 494.6 kB / 0.6691 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1753, allocations: 9.109 kB / 0.6691 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.1753, allocations: 28.8 kB / 0.6692 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1756, allocations: 207.7 kB / 0.6694 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/0.1757, allocations: 50.2 kB / 0.6694 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.1757, allocations: 12.38 kB / 0.6694 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.1761, allocations: 159 kB / 0.6696 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1762, allocations: 0 / 0.6696 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1762, allocations: 8 kB / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1762, allocations: 0 / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1767, allocations: 147.9 kB / 0.6697 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.1776, allocations: 0.5308 MB / 0.6702 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.178, allocations: 134.6 kB / 0.6704 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.1783, allocations: 76.8 kB / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1783, allocations: 4 kB / 0.6704 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1783, allocations: 34.56 kB / 0.6705 GB, free: 308 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1783, allocations: 0 / 0.6705 GB, free: 308 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007509/0.1791, allocations: 221.4 kB / 0.6707 GB, free: 80 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.1791, allocations: 55.41 kB / 0.6707 GB, free: 12 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1793, allocations: 150.3 kB / 0.6709 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1793, allocations: 29.7 kB / 0.6709 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.1794, allocations: 124.2 kB / 0.671 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.1795, allocations: 43.62 kB / 0.6711 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.1795, allocations: 33.7 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1797, allocations: 322.8 kB / 0.6714 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1799, allocations: 59.95 kB / 0.6715 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1801, allocations: 82.52 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.1805, allocations: 146.4 kB / 0.6717 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1805, allocations: 3.938 kB / 0.6717 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005292/0.181, allocations: 192.9 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1811, allocations: 12 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1811, allocations: 0 / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1811, allocations: 0 / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1813, allocations: 43.84 kB / 0.6719 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1813, allocations: 3.984 kB / 0.6719 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1814, allocations: 27.88 kB / 0.672 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1815, allocations: 4 kB / 0.672 GB, free: 14.7 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.0001257/0.1816, allocations: 129.8 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1816, allocations: 15.91 kB / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.1817, allocations: 20.7 kB / 0.6721 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1817, allocations: 4 kB / 0.6721 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1817, allocations: 0 / 0.6721 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1817, allocations: 0 / 0.6721 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.182, allocations: 237.4 kB / 0.6723 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.182, allocations: 4 kB / 0.6724 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1822, allocations: 39.91 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1822, allocations: 4 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1822, allocations: 4 kB / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1822, allocations: 0 / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1822, allocations: 0 / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.183, allocations: 347.2 kB / 0.6727 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.183, allocations: 88.95 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1831, allocations: 4 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1832, allocations: 19.97 kB / 0.6728 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.1833, allocations: 19.92 kB / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1833, allocations: 0 / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.628e-05/0.1834, allocations: 112.2 kB / 0.673 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1834, allocations: 4 kB / 0.673 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002609/0.1836, allocations: 36 kB / 0.673 GB, free: 13.54 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.0001281/0.1838, allocations: 95.25 kB / 0.6731 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.1843, allocations: 136 kB / 0.6732 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1843, allocations: 11.94 kB / 0.6732 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.1845, allocations: 71.88 kB / 0.6733 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1849, allocations: 27.92 kB / 0.6733 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.1857, allocations: 415.3 kB / 0.6737 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1861, allocations: 0.7197 MB / 0.6744 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.1862, allocations: 23.42 kB / 0.6744 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1862, allocations: 0 / 0.6744 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.003951/0.1901, allocations: 1.819 MB / 0.6762 GB, free: 10.17 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)