Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0074/0.0074, allocations: 95.16 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.001416/0.001417, allocations: 193.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4116/0.4116, allocations: 54.94 MB / 324.8 MB, free: 24 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 68.73 kB / 456.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1511, allocations: 59.58 MB / 0.5038 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005275/0.1564, allocations: 3.121 MB / 0.5068 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1584, allocations: 1.043 MB / 0.5078 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.1587, allocations: 13.56 kB / 0.5078 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.159, allocations: 75.31 kB / 0.5079 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.1592, allocations: 99.34 kB / 0.508 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005618/0.1598, allocations: 261.5 kB / 0.5083 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.1604, allocations: 0.5624 MB / 0.5088 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.1609, allocations: 266.9 kB / 0.5091 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1611, allocations: 205.2 kB / 0.5093 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.1614, allocations: 214.7 kB / 0.5095 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.1614, allocations: 52 kB / 0.5095 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.1615, allocations: 52 kB / 0.5096 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.1616, allocations: 115.6 kB / 0.5097 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1618, allocations: 234.7 kB / 0.5099 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.1624, allocations: 0.5795 MB / 0.5105 GB, free: 4.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1624, allocations: 0 / 0.5105 GB, free: 4.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1624, allocations: 0 / 0.5105 GB, free: 4.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.1624, allocations: 4 kB / 0.5105 GB, free: 4.016 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001054/0.1635, allocations: 0.785 MB / 0.5112 GB, free: 3.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1636, allocations: 12.03 kB / 0.5112 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.1637, allocations: 60.61 kB / 0.5113 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.1642, allocations: 428.9 kB / 0.5117 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.1643, allocations: 37.3 kB / 0.5117 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/0.1644, allocations: 40.12 kB / 0.5118 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.165, allocations: 401.6 kB / 0.5122 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.165, allocations: 3.938 kB / 0.5122 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.165, allocations: 16 kB / 0.5122 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1651, allocations: 8 kB / 0.5122 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.1655, allocations: 263.8 kB / 0.5124 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1669, allocations: 1.325 MB / 0.5137 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.1675, allocations: 314.6 kB / 0.514 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.1678, allocations: 137.3 kB / 0.5142 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1678, allocations: 0 / 0.5142 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.1682, allocations: 185.4 kB / 0.5143 GB, free: 15.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.1682, allocations: 4 kB / 0.5143 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008365/0.169, allocations: 378 kB / 0.5147 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1691, allocations: 85.11 kB / 0.5148 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.1695, allocations: 353.6 kB / 0.5151 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1695, allocations: 33.7 kB / 0.5152 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1697, allocations: 237.3 kB / 0.5154 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.918e-05/0.1698, allocations: 119 kB / 0.5155 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1699, allocations: 66.08 kB / 0.5156 GB, free: 14.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1701, allocations: 366.7 kB / 0.5159 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.1704, allocations: 110.2 kB / 0.516 GB, free: 14.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.1707, allocations: 173.1 kB / 0.5162 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.1712, allocations: 263.8 kB / 0.5164 GB, free: 13.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1712, allocations: 0 / 0.5164 GB, free: 13.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000619/0.1718, allocations: 354.7 kB / 0.5168 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1719, allocations: 8 kB / 0.5168 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1719, allocations: 0 / 0.5168 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1719, allocations: 8.188 kB / 0.5168 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1722, allocations: 67.84 kB / 0.5169 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1722, allocations: 4 kB / 0.5169 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.1724, allocations: 39.77 kB / 0.5169 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.1725, allocations: 15.98 kB / 0.5169 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003386/0.1728, allocations: 220.8 kB / 0.5171 GB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002345/0.173, allocations: 170.2 kB / 0.5173 GB, free: 12.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000394/0.1734, allocations: 245.8 kB / 0.5175 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.1735, allocations: 4 kB / 0.5175 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0005712/0.174, allocations: 341.4 kB / 0.5178 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1741, allocations: 8 kB / 0.5179 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.1741, allocations: 0 / 0.5179 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1741, allocations: 4 kB / 0.5179 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1743, allocations: 68.09 kB / 0.5179 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1744, allocations: 7.938 kB / 0.5179 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1745, allocations: 31.81 kB / 0.518 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1746, allocations: 12 kB / 0.518 GB, free: 11.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002035/0.1748, allocations: 208.1 kB / 0.5182 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.1748, allocations: 43.72 kB / 0.5182 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.175, allocations: 44.23 kB / 0.5183 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.175, allocations: 8 kB / 0.5183 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.175, allocations: 0 / 0.5183 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.175, allocations: 0 / 0.5183 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1763, allocations: 0.8275 MB / 0.5191 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1763, allocations: 0 / 0.5191 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.1765, allocations: 47.91 kB / 0.5191 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1765, allocations: 0 / 0.5191 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.1766, allocations: 8 kB / 0.5191 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1766, allocations: 4 kB / 0.5191 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1766, allocations: 7.875 kB / 0.5191 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.1774, allocations: 0.5085 MB / 0.5196 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.1776, allocations: 140.8 kB / 0.5198 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.1776, allocations: 7.984 kB / 0.5198 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1778, allocations: 20.05 kB / 0.5198 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.1779, allocations: 27.91 kB / 0.5198 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.178, allocations: 12 kB / 0.5198 GB, free: 9.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.1782, allocations: 243.2 kB / 0.5201 GB, free: 9.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1782, allocations: 0 / 0.5201 GB, free: 9.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005013/0.1787, allocations: 155.6 kB / 0.5202 GB, free: 9.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001481/0.1789, allocations: 119.1 kB / 0.5203 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008089/0.1797, allocations: 420.5 kB / 0.5207 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1797, allocations: 0 / 0.5207 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.18, allocations: 132.4 kB / 0.5209 GB, free: 8.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.1806, allocations: 101.5 kB / 0.5209 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.182, allocations: 0.8163 MB / 0.5217 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1824, allocations: 0.8159 MB / 0.5225 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.1826, allocations: 47.25 kB / 0.5226 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.616e-05/0.1827, allocations: 31.44 kB / 0.5226 GB, free: 7.023 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1827, allocations: 0 / 0.5226 GB, free: 7.023 MB / 398.1 MB Notification: Performance of Templates: time 0.008497/0.1912, allocations: 3.981 MB / 0.5265 GB, free: 3.062 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)