Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table") translateModel(Annex60.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007289/0.007289, allocations: 102 kB / 15.73 MB, free: 6.051 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.001344/0.001344, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4204/0.4204, allocations: 54.95 MB / 324.8 MB, free: 15.96 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.001463/0.001463, allocations: 72.72 kB / 456.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1603, allocations: 59.59 MB / 0.5037 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.Table): time 0.00328/0.1636, allocations: 1.644 MB / 0.5053 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.1645, allocations: 430.3 kB / 0.5057 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.1646, allocations: 5.094 kB / 0.5057 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005806/0.1652, allocations: 179.8 kB / 0.5059 GB, free: 8.172 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1656, allocations: 154 kB / 0.506 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1659, allocations: 181.4 kB / 0.5062 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1662, allocations: 192.9 kB / 0.5064 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1664, allocations: 34.03 kB / 0.5064 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1665, allocations: 82.86 kB / 0.5065 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1668, allocations: 160.2 kB / 0.5066 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.1668, allocations: 12.75 kB / 0.5066 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.167, allocations: 41.28 kB / 0.5067 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1671, allocations: 74.75 kB / 0.5068 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.1672, allocations: 99.62 kB / 0.5069 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.1675, allocations: 269.9 kB / 0.5071 GB, free: 7.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1676, allocations: 0 / 0.5071 GB, free: 7.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1676, allocations: 0 / 0.5071 GB, free: 7.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1676, allocations: 0 / 0.5071 GB, free: 7.398 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008694/0.1685, allocations: 0.5831 MB / 0.5077 GB, free: 6.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1685, allocations: 10.34 kB / 0.5077 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.1686, allocations: 32.91 kB / 0.5077 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.169, allocations: 376.1 kB / 0.5081 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.169, allocations: 4.312 kB / 0.5081 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1691, allocations: 4.375 kB / 0.5081 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1692, allocations: 73.78 kB / 0.5082 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1693, allocations: 0 / 0.5082 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1693, allocations: 0 / 0.5082 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1693, allocations: 8 kB / 0.5082 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1695, allocations: 55.89 kB / 0.5082 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.17, allocations: 424.6 kB / 0.5086 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1701, allocations: 58.64 kB / 0.5087 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.1702, allocations: 20.84 kB / 0.5087 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.1702, allocations: 7.984 kB / 0.5087 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.1703, allocations: 34.56 kB / 0.5087 GB, free: 5.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1703, allocations: 0 / 0.5087 GB, free: 5.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003558/0.1706, allocations: 113.3 kB / 0.5088 GB, free: 5.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1707, allocations: 55.41 kB / 0.5089 GB, free: 5.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.1712, allocations: 0.5093 MB / 0.5094 GB, free: 4.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1712, allocations: 29.7 kB / 0.5094 GB, free: 4.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1713, allocations: 168 kB / 0.5096 GB, free: 4.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1713, allocations: 7.812 kB / 0.5096 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.1714, allocations: 17.72 kB / 0.5096 GB, free: 4.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.1715, allocations: 354.7 kB / 0.51 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.1716, allocations: 15.98 kB / 0.51 GB, free: 4.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.1716, allocations: 19.98 kB / 0.51 GB, free: 4.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1718, allocations: 44.81 kB / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1718, allocations: 0 / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001901/0.172, allocations: 101.6 kB / 0.5101 GB, free: 4.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.172, allocations: 4 kB / 0.5101 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.172, allocations: 4 kB / 0.5101 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.172, allocations: 0 / 0.5101 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.1721, allocations: 11.98 kB / 0.5101 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1721, allocations: 0 / 0.5101 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1722, allocations: 11.84 kB / 0.5102 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1722, allocations: 0 / 0.5102 GB, free: 4.168 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.000121/0.1723, allocations: 173.8 kB / 0.5103 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.1724, allocations: 27.7 kB / 0.5103 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.1725, allocations: 38.42 kB / 0.5104 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1725, allocations: 3.938 kB / 0.5104 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1725, allocations: 0 / 0.5104 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1725, allocations: 3.938 kB / 0.5104 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.1727, allocations: 261.5 kB / 0.5106 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1727, allocations: 0 / 0.5106 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.1728, allocations: 11.98 kB / 0.5107 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1728, allocations: 0 / 0.5107 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1728, allocations: 4 kB / 0.5107 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1728, allocations: 0 / 0.5107 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1728, allocations: 4 kB / 0.5107 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1731, allocations: 203 kB / 0.5109 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1731, allocations: 108.7 kB / 0.511 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1732, allocations: 0 / 0.511 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.1733, allocations: 7.984 kB / 0.511 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1733, allocations: 4 kB / 0.511 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1733, allocations: 15.92 kB / 0.511 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002862/0.1736, allocations: 383.1 kB / 0.5113 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1736, allocations: 0 / 0.5113 GB, free: 2.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1738, allocations: 20 kB / 0.5114 GB, free: 2.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007927/0.1746, allocations: 350.8 kB / 0.5117 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.1749, allocations: 47.89 kB / 0.5117 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1749, allocations: 0 / 0.5117 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.175, allocations: 19.97 kB / 0.5118 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.1754, allocations: 41.11 kB / 0.5118 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.1761, allocations: 468.7 kB / 0.5123 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1763, allocations: 0.7749 MB / 0.513 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.1764, allocations: 34.11 kB / 0.513 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.1764, allocations: 23.44 kB / 0.5131 GB, free: 1.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1765, allocations: 4 kB / 0.5131 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Templates: time 0.005863/0.1823, allocations: 2.303 MB / 0.5153 GB, free: 14.86 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.makefile (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe 2>&1)