Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0071/0.0071, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001337/0.001337, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8042/0.8042, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 58.69 kB / 0.5813 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1639, allocations: 80.21 MB / 0.6596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003729/0.1677, allocations: 2.023 MB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1688, allocations: 0.5454 MB / 0.6621 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.1689, allocations: 4 kB / 0.6622 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.169, allocations: 23.73 kB / 0.6622 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.1691, allocations: 43.58 kB / 0.6622 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1694, allocations: 51.92 kB / 0.6623 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1696, allocations: 191.2 kB / 0.6624 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.1698, allocations: 74.31 kB / 0.6625 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.17, allocations: 67.77 kB / 0.6626 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1701, allocations: 83.62 kB / 0.6627 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1702, allocations: 12 kB / 0.6627 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.1702, allocations: 16 kB / 0.6627 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.1702, allocations: 31.91 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.1703, allocations: 83.53 kB / 0.6628 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1706, allocations: 179.3 kB / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1706, allocations: 0 / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1706, allocations: 4 kB / 0.663 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.1706, allocations: 0 / 0.663 GB, free: 6.828 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.00088/0.1715, allocations: 486.8 kB / 0.6634 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1715, allocations: 12.03 kB / 0.6635 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.1716, allocations: 20.73 kB / 0.6635 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1718, allocations: 216 kB / 0.6637 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/0.1719, allocations: 38.27 kB / 0.6637 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.1719, allocations: 12.38 kB / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.1724, allocations: 157.7 kB / 0.6639 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1724, allocations: 4 kB / 0.6639 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1724, allocations: 4 kB / 0.6639 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1724, allocations: 4 kB / 0.6639 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.1729, allocations: 145.2 kB / 0.664 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.1738, allocations: 0.5307 MB / 0.6645 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.1742, allocations: 130.6 kB / 0.6647 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1744, allocations: 76.81 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1745, allocations: 11.92 kB / 0.6648 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1745, allocations: 34.56 kB / 0.6648 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.635e-06/0.1745, allocations: 0 / 0.6648 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007391/0.1752, allocations: 227.5 kB / 0.665 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1753, allocations: 51.41 kB / 0.6651 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1755, allocations: 155.1 kB / 0.6652 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1755, allocations: 29.7 kB / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.1756, allocations: 124.2 kB / 0.6653 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.1756, allocations: 43.39 kB / 0.6654 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.1757, allocations: 29.7 kB / 0.6654 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1759, allocations: 330.8 kB / 0.6657 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1761, allocations: 59.95 kB / 0.6658 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1763, allocations: 86.45 kB / 0.6659 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.1767, allocations: 146.4 kB / 0.666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1767, allocations: 3.938 kB / 0.666 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004824/0.1772, allocations: 185.3 kB / 0.6662 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1772, allocations: 4 kB / 0.6662 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1772, allocations: 4 kB / 0.6662 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1773, allocations: 0 / 0.6662 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.1775, allocations: 47.91 kB / 0.6662 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1775, allocations: 0 / 0.6662 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1776, allocations: 27.81 kB / 0.6663 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1777, allocations: 12.06 kB / 0.6663 GB, free: 3.18 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.0001338/0.1778, allocations: 129.7 kB / 0.6664 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1778, allocations: 7.906 kB / 0.6664 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.1779, allocations: 20.7 kB / 0.6664 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1779, allocations: 0 / 0.6664 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1779, allocations: 4 kB / 0.6664 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1779, allocations: 0 / 0.6664 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1782, allocations: 241.4 kB / 0.6667 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1782, allocations: 0 / 0.6667 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.1784, allocations: 39.97 kB / 0.6667 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1784, allocations: 4 kB / 0.6667 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1784, allocations: 0 / 0.6667 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1785, allocations: 0 / 0.6667 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1785, allocations: 0 / 0.6667 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.1793, allocations: 343.1 kB / 0.667 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1794, allocations: 92.89 kB / 0.6671 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1794, allocations: 8 kB / 0.6671 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1796, allocations: 15.97 kB / 0.6671 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.1796, allocations: 15.98 kB / 0.6672 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1796, allocations: 0 / 0.6672 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.904e-05/0.1797, allocations: 119.3 kB / 0.6673 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1797, allocations: 0 / 0.6673 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002524/0.18, allocations: 35.91 kB / 0.6673 GB, free: 2.023 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.0001114/0.1801, allocations: 99.23 kB / 0.6674 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.1806, allocations: 148 kB / 0.6675 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1806, allocations: 3.938 kB / 0.6676 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.1808, allocations: 75.88 kB / 0.6676 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1812, allocations: 28.45 kB / 0.6676 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.1819, allocations: 385.2 kB / 0.668 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1823, allocations: 0.7158 MB / 0.6687 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.771e-05/0.1823, allocations: 16.53 kB / 0.6687 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.1824, allocations: 19.44 kB / 0.6688 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1824, allocations: 0 / 0.6688 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of Templates: time 0.004484/0.1869, allocations: 1.588 MB / 0.6703 GB, free: 14.92 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)