Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007811/0.007811, allocations: 100.5 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.001363/0.001363, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.664/1.664, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4154/0.4154, allocations: 54.95 MB / 324.9 MB, free: 15.98 MB / 270.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.001607/0.001607, allocations: 66.88 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1474, allocations: 59.59 MB / 0.5037 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresis): time 0.005134/0.1526, allocations: 2.948 MB / 0.5066 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.155, allocations: 1.012 MB / 0.5076 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.1554, allocations: 13.56 kB / 0.5076 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.1557, allocations: 63.45 kB / 0.5076 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1559, allocations: 91.42 kB / 0.5077 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.1565, allocations: 240.7 kB / 0.5079 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.157, allocations: 0.5039 MB / 0.5084 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.1574, allocations: 219.9 kB / 0.5087 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.1577, allocations: 182.9 kB / 0.5088 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1579, allocations: 187 kB / 0.509 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.158, allocations: 47.94 kB / 0.509 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.158, allocations: 44 kB / 0.5091 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.1581, allocations: 87.64 kB / 0.5092 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1583, allocations: 206.9 kB / 0.5094 GB, free: 5.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.1588, allocations: 0.4982 MB / 0.5099 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1588, allocations: 0 / 0.5099 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1588, allocations: 0 / 0.5099 GB, free: 4.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1589, allocations: 4 kB / 0.5099 GB, free: 4.719 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001209/0.1601, allocations: 0.7206 MB / 0.5106 GB, free: 3.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1601, allocations: 8.031 kB / 0.5106 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.1602, allocations: 48.38 kB / 0.5106 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000698/0.1609, allocations: 412.4 kB / 0.511 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.161, allocations: 25.03 kB / 0.511 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.161, allocations: 36.03 kB / 0.5111 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.1615, allocations: 341.1 kB / 0.5114 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1616, allocations: 0 / 0.5114 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.1616, allocations: 16 kB / 0.5114 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1616, allocations: 8 kB / 0.5114 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.1621, allocations: 218.1 kB / 0.5116 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.1634, allocations: 1.186 MB / 0.5128 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.164, allocations: 234.7 kB / 0.513 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1642, allocations: 108.8 kB / 0.5131 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.1642, allocations: 8.375 kB / 0.5131 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1643, allocations: 42.48 kB / 0.5132 GB, free: 1.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.1643, allocations: 0 / 0.5132 GB, free: 1.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006041/0.1649, allocations: 293 kB / 0.5134 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1649, allocations: 110.8 kB / 0.5135 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.1653, allocations: 341.7 kB / 0.5139 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1653, allocations: 29.7 kB / 0.5139 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1654, allocations: 228.1 kB / 0.5141 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1655, allocations: 74.94 kB / 0.5142 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1656, allocations: 53.61 kB / 0.5142 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1658, allocations: 346.8 kB / 0.5146 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.166, allocations: 84.81 kB / 0.5147 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.1662, allocations: 143.6 kB / 0.5148 GB, free: 15.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.1667, allocations: 213.8 kB / 0.515 GB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1667, allocations: 0 / 0.515 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005189/0.1672, allocations: 281.1 kB / 0.5153 GB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1673, allocations: 8 kB / 0.5153 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1673, allocations: 3.938 kB / 0.5153 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.1673, allocations: 7.984 kB / 0.5153 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.1675, allocations: 47.92 kB / 0.5153 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.1675, allocations: 11.92 kB / 0.5153 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1677, allocations: 35.67 kB / 0.5154 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.1678, allocations: 12.19 kB / 0.5154 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002719/0.168, allocations: 192.1 kB / 0.5156 GB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001787/0.1682, allocations: 144.2 kB / 0.5157 GB, free: 14.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002981/0.1685, allocations: 206 kB / 0.5159 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.1685, allocations: 0 / 0.5159 GB, free: 14.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004071/0.169, allocations: 269.1 kB / 0.5162 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.169, allocations: 4 kB / 0.5162 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.169, allocations: 4 kB / 0.5162 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-06/0.169, allocations: 0 / 0.5162 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.1692, allocations: 55.91 kB / 0.5162 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1692, allocations: 4 kB / 0.5162 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1694, allocations: 35.73 kB / 0.5163 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1694, allocations: 4 kB / 0.5163 GB, free: 13.77 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001348/0.1695, allocations: 208.3 kB / 0.5165 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.1696, allocations: 31.62 kB / 0.5165 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.167e-05/0.1697, allocations: 39.36 kB / 0.5165 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1697, allocations: 4 kB / 0.5165 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1697, allocations: 0 / 0.5165 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1697, allocations: 3.938 kB / 0.5165 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.1702, allocations: 401.2 kB / 0.5169 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1702, allocations: 0 / 0.5169 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.1704, allocations: 43.91 kB / 0.517 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1704, allocations: 4 kB / 0.517 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1705, allocations: 8 kB / 0.517 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1705, allocations: 0 / 0.517 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1705, allocations: 0 / 0.517 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.1712, allocations: 430.7 kB / 0.5174 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.1713, allocations: 132.7 kB / 0.5175 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.1714, allocations: 8 kB / 0.5175 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1716, allocations: 15.98 kB / 0.5175 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.1716, allocations: 23.91 kB / 0.5176 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1717, allocations: 4 kB / 0.5176 GB, free: 12.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.1719, allocations: 243.2 kB / 0.5178 GB, free: 12.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1719, allocations: 3.938 kB / 0.5178 GB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004854/0.1724, allocations: 115.6 kB / 0.5179 GB, free: 11.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0002087/0.1727, allocations: 107.2 kB / 0.518 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.1734, allocations: 320.2 kB / 0.5183 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1734, allocations: 0.75 kB / 0.5183 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1736, allocations: 100.8 kB / 0.5184 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.1742, allocations: 95.42 kB / 0.5185 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1754, allocations: 0.7006 MB / 0.5192 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1758, allocations: 0.7996 MB / 0.52 GB, free: 9.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.176, allocations: 46.92 kB / 0.52 GB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.1761, allocations: 27.44 kB / 0.52 GB, free: 9.75 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1761, allocations: 0 / 0.52 GB, free: 9.75 MB / 398.1 MB Notification: Performance of Templates: time 0.008003/0.1841, allocations: 3.463 MB / 0.5234 GB, free: 6.309 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)