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.004758/0.004758, allocations: 96.53 kB / 15.73 MB, free: 6.047 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.001126/0.001126, allocations: 196.8 kB / 16.67 MB, free: 5.977 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7125/0.7125, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.12 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1657, allocations: 80.2 MB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002881/0.1686, allocations: 2.026 MB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.1694, allocations: 0.5415 MB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.1695, allocations: 0 / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.1697, allocations: 27.73 kB / 0.6622 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/0.1698, allocations: 47.56 kB / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.17, allocations: 55.92 kB / 0.6623 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1702, allocations: 187.1 kB / 0.6624 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1704, allocations: 75.06 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1705, allocations: 71.75 kB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1707, allocations: 83.62 kB / 0.6627 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.1707, allocations: 16 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.738e-05/0.1707, allocations: 12 kB / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.1708, allocations: 35.91 kB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.1709, allocations: 87.53 kB / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1711, allocations: 175.1 kB / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1711, allocations: 4 kB / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1711, allocations: 0 / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1711, allocations: 0 / 0.663 GB, free: 10.1 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.0007722/0.1719, allocations: 498.6 kB / 0.6635 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1719, allocations: 8.031 kB / 0.6635 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.172, allocations: 20.84 kB / 0.6635 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1722, allocations: 212.1 kB / 0.6637 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/0.1723, allocations: 38.25 kB / 0.6637 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.1724, allocations: 16.38 kB / 0.6637 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.1728, allocations: 157.7 kB / 0.6639 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1728, allocations: 0 / 0.6639 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1728, allocations: 4 kB / 0.6639 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.1728, allocations: 4 kB / 0.6639 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.1733, allocations: 149.2 kB / 0.664 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.1741, allocations: 0.5308 MB / 0.6646 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.1745, allocations: 130.6 kB / 0.6647 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1747, allocations: 80.8 kB / 0.6648 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1747, allocations: 7.938 kB / 0.6648 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1748, allocations: 30.56 kB / 0.6648 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1748, allocations: 0 / 0.6648 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007021/0.1755, allocations: 225.4 kB / 0.665 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1755, allocations: 51.41 kB / 0.6651 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1757, allocations: 152.4 kB / 0.6652 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1757, allocations: 33.7 kB / 0.6652 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.1758, allocations: 132.2 kB / 0.6654 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.1758, allocations: 43.62 kB / 0.6654 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.1759, allocations: 29.67 kB / 0.6654 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.176, allocations: 326.8 kB / 0.6657 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.1762, allocations: 59.94 kB / 0.6658 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.1765, allocations: 89.55 kB / 0.6659 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.1769, allocations: 138.4 kB / 0.666 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1769, allocations: 3.938 kB / 0.666 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004803/0.1774, allocations: 187.4 kB / 0.6662 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1774, allocations: 11.94 kB / 0.6662 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1774, allocations: 0 / 0.6662 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1774, allocations: 0 / 0.6662 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.1776, allocations: 47.89 kB / 0.6663 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1776, allocations: 8.062 kB / 0.6663 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1778, allocations: 23.88 kB / 0.6663 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1778, allocations: 4 kB / 0.6663 GB, free: 6.449 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.0001089/0.1779, allocations: 136.3 kB / 0.6664 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.178, allocations: 15.91 kB / 0.6664 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.178, allocations: 12.72 kB / 0.6665 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.178, allocations: 4 kB / 0.6665 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.178, allocations: 4 kB / 0.6665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.178, allocations: 0 / 0.6665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1783, allocations: 241.5 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1783, allocations: 0 / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.1785, allocations: 39.97 kB / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1785, allocations: 0 / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1785, allocations: 0 / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1785, allocations: 3.984 kB / 0.6667 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1785, allocations: 4 kB / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.1793, allocations: 343.1 kB / 0.6671 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.1793, allocations: 92.98 kB / 0.6672 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1794, allocations: 4 kB / 0.6672 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1795, allocations: 20.03 kB / 0.6672 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.1796, allocations: 15.98 kB / 0.6672 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-06/0.1796, allocations: 0 / 0.6672 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.566e-05/0.1797, allocations: 115.2 kB / 0.6673 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1797, allocations: 0 / 0.6673 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002413/0.1799, allocations: 36 kB / 0.6673 GB, free: 5.285 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.0001036/0.18, allocations: 95.23 kB / 0.6674 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.1805, allocations: 147.8 kB / 0.6676 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1805, allocations: 0 / 0.6676 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1808, allocations: 75.83 kB / 0.6676 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1811, allocations: 31.33 kB / 0.6677 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.1819, allocations: 392.8 kB / 0.668 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1822, allocations: 0.7158 MB / 0.6687 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.1822, allocations: 8.562 kB / 0.6687 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.1823, allocations: 23.38 kB / 0.6688 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of SimCode: time 1.81e-07/0.1823, allocations: 0 / 0.6688 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of Templates: time 0.003877/0.1862, allocations: 1.596 MB / 0.6703 GB, free: 2.172 MB / 0.4981 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)