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.00125/0.00125, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.001196/0.001196, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7662/0.7662, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.36 kB / 0.5862 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1584, allocations: 80.93 MB / 0.6653 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.004352/0.1629, allocations: 2.03 MB / 0.6673 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.164, allocations: 0.5376 MB / 0.6678 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.1643, allocations: 4 kB / 0.6678 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1645, allocations: 27.72 kB / 0.6678 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1647, allocations: 39.58 kB / 0.6679 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.165, allocations: 55.86 kB / 0.6679 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.1653, allocations: 183.2 kB / 0.6681 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1655, allocations: 70.31 kB / 0.6681 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1657, allocations: 67.78 kB / 0.6682 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1658, allocations: 87.61 kB / 0.6683 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.1659, allocations: 15.94 kB / 0.6683 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.1659, allocations: 16 kB / 0.6683 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.166, allocations: 31.91 kB / 0.6684 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.1661, allocations: 87.53 kB / 0.6684 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1663, allocations: 167.3 kB / 0.6686 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1663, allocations: 0 / 0.6686 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1663, allocations: 0 / 0.6686 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.1663, allocations: 0 / 0.6686 GB, free: 2.508 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.0008849/0.1672, allocations: 494.7 kB / 0.6691 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1673, allocations: 13.11 kB / 0.6691 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.1674, allocations: 20.75 kB / 0.6691 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1676, allocations: 208 kB / 0.6693 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/0.1677, allocations: 42.25 kB / 0.6693 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.1677, allocations: 12.38 kB / 0.6694 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.1681, allocations: 159 kB / 0.6695 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1682, allocations: 4 kB / 0.6695 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1682, allocations: 4 kB / 0.6695 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1682, allocations: 7.984 kB / 0.6695 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.1687, allocations: 147.8 kB / 0.6697 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.1696, allocations: 0.523 MB / 0.6702 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.17, allocations: 142.6 kB / 0.6703 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.1702, allocations: 72.81 kB / 0.6704 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1703, allocations: 0 / 0.6704 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1703, allocations: 38.56 kB / 0.6704 GB, free: 480 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.1703, allocations: 4 kB / 0.6704 GB, free: 476 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007246/0.171, allocations: 221.3 kB / 0.6706 GB, free: 248 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.1711, allocations: 55.39 kB / 0.6707 GB, free: 180 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1712, allocations: 158.1 kB / 0.6708 GB, free: 12 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1712, allocations: 25.7 kB / 0.6709 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.1713, allocations: 128.1 kB / 0.671 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.1714, allocations: 43.38 kB / 0.671 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.1714, allocations: 37.7 kB / 0.6711 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1716, allocations: 322.8 kB / 0.6714 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.1718, allocations: 59.95 kB / 0.6714 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.172, allocations: 86.52 kB / 0.6715 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.1724, allocations: 146.4 kB / 0.6716 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1724, allocations: 0 / 0.6716 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004646/0.1729, allocations: 193.2 kB / 0.6718 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1729, allocations: 4 kB / 0.6718 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1729, allocations: 7.984 kB / 0.6718 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1729, allocations: 4.062 kB / 0.6718 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1731, allocations: 35.97 kB / 0.6719 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1731, allocations: 0 / 0.6719 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1733, allocations: 31.81 kB / 0.6719 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1733, allocations: 4 kB / 0.6719 GB, free: 14.85 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.0001112/0.1734, allocations: 133.7 kB / 0.672 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1735, allocations: 11.91 kB / 0.6721 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1735, allocations: 24.7 kB / 0.6721 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1735, allocations: 0 / 0.6721 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1735, allocations: 0 / 0.6721 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1736, allocations: 88.92 kB / 0.6722 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.1736, allocations: 0 / 0.6722 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1738, allocations: 19.97 kB / 0.6722 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1738, allocations: 15.92 kB / 0.6722 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005995/0.1744, allocations: 264.8 kB / 0.6724 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007287/0.1752, allocations: 414.5 kB / 0.6728 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002109/0.1754, allocations: 68.62 kB / 0.6729 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.1755, allocations: 112.1 kB / 0.673 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of Backend: time 5.41e-07/0.1755, allocations: 0 / 0.673 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.176, allocations: 169.6 kB / 0.6732 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0008284/0.1769, allocations: 0.8111 MB / 0.674 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.004337/0.1812, allocations: 1.773 MB / 0.6757 GB, free: 10.88 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)