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.001271/0.001271, allocations: 111.9 kB / 16.38 MB, free: 6.484 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.001267/0.001267, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8433/0.8433, allocations: 132.2 MB / 423.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.95 kB / 0.5819 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.147, allocations: 80.2 MB / 0.6603 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003007/0.1501, allocations: 2.022 MB / 0.6622 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.1509, allocations: 0.5376 MB / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.151, allocations: 4 kB / 0.6628 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1511, allocations: 23.72 kB / 0.6628 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1513, allocations: 43.58 kB / 0.6628 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1515, allocations: 59.88 kB / 0.6629 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1517, allocations: 183.2 kB / 0.6631 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1519, allocations: 66.31 kB / 0.6631 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.152, allocations: 79.7 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1522, allocations: 83.61 kB / 0.6633 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1522, allocations: 12 kB / 0.6633 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.857e-05/0.1523, allocations: 19.94 kB / 0.6633 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.1523, allocations: 35.84 kB / 0.6633 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.1524, allocations: 83.59 kB / 0.6634 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1526, allocations: 175.3 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1526, allocations: 4 kB / 0.6636 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1526, allocations: 0 / 0.6636 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1526, allocations: 0 / 0.6636 GB, free: 6.895 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.0007648/0.1534, allocations: 486.8 kB / 0.6641 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1534, allocations: 12.03 kB / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.1534, allocations: 20.75 kB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1536, allocations: 208 kB / 0.6643 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.1537, allocations: 38.27 kB / 0.6643 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.1538, allocations: 12.38 kB / 0.6643 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.1542, allocations: 157.6 kB / 0.6645 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1542, allocations: 0 / 0.6645 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1542, allocations: 8 kB / 0.6645 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.1542, allocations: 8 kB / 0.6645 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1547, allocations: 145.2 kB / 0.6646 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.1555, allocations: 0.5269 MB / 0.6651 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.1559, allocations: 141.4 kB / 0.6653 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.1562, allocations: 84.75 kB / 0.6654 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1562, allocations: 0 / 0.6654 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1562, allocations: 34.56 kB / 0.6654 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1562, allocations: 0 / 0.6654 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007325/0.1569, allocations: 225.3 kB / 0.6656 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.157, allocations: 51.41 kB / 0.6657 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1571, allocations: 155.1 kB / 0.6658 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1572, allocations: 25.7 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.1572, allocations: 132.1 kB / 0.666 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.1573, allocations: 47.33 kB / 0.666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.1573, allocations: 29.72 kB / 0.666 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1575, allocations: 330.8 kB / 0.6663 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.1577, allocations: 55.95 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1579, allocations: 86.52 kB / 0.6665 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.1584, allocations: 144.5 kB / 0.6666 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1584, allocations: 3.938 kB / 0.6666 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004831/0.1589, allocations: 189.3 kB / 0.6668 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1589, allocations: 4 kB / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1589, allocations: 0 / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1589, allocations: 4 kB / 0.6668 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1591, allocations: 39.91 kB / 0.6669 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1591, allocations: 0 / 0.6669 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.1593, allocations: 43.81 kB / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1593, allocations: 4 kB / 0.6669 GB, free: 3.246 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.0001303/0.1594, allocations: 125.8 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1595, allocations: 7.906 kB / 0.667 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.1595, allocations: 20.72 kB / 0.667 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1595, allocations: 0 / 0.667 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1595, allocations: 0 / 0.667 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.1596, allocations: 7.984 kB / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.1598, allocations: 237.4 kB / 0.6673 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1598, allocations: 7.984 kB / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.16, allocations: 35.91 kB / 0.6673 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.16, allocations: 4 kB / 0.6673 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.16, allocations: 4 kB / 0.6673 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1601, allocations: 0 / 0.6673 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1601, allocations: 0 / 0.6673 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.1608, allocations: 335.2 kB / 0.6676 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1609, allocations: 92.89 kB / 0.6677 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1609, allocations: 7.984 kB / 0.6677 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1611, allocations: 15.98 kB / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1611, allocations: 20.03 kB / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1611, allocations: 4 kB / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001007/0.1613, allocations: 111.2 kB / 0.6679 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1613, allocations: 0 / 0.6679 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002562/0.1615, allocations: 35.91 kB / 0.6679 GB, free: 2.094 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 8.453e-05/0.1616, allocations: 103.2 kB / 0.668 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.1621, allocations: 147.8 kB / 0.6682 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1621, allocations: 0 / 0.6682 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1624, allocations: 71.95 kB / 0.6682 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1627, allocations: 26.7 kB / 0.6683 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.1634, allocations: 419.1 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1637, allocations: 0.7119 MB / 0.6693 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.1638, allocations: 15.44 kB / 0.6694 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of SimCode: time 1.724e-06/0.1638, allocations: 0 / 0.6694 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of Templates: time 0.003303/0.1671, allocations: 1.817 MB / 0.6711 GB, free: 14.74 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)