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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 102.7 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 191.7 kB / 19.35 MB, free: 3.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2893/0.2893, allocations: 54.95 MB / 331.6 MB, free: 2.758 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "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.002249/0.002249, allocations: 73.23 kB / 464.9 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1646, allocations: 59.6 MB / 0.5122 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresis): time 0.00557/0.1703, allocations: 2.961 MB / 0.5151 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1727, allocations: 1.002 MB / 0.5161 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.173, allocations: 11.94 kB / 0.5161 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1734, allocations: 67.27 kB / 0.5161 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1736, allocations: 87.17 kB / 0.5162 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.1743, allocations: 243.5 kB / 0.5165 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.1751, allocations: 0.5031 MB / 0.5169 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.1756, allocations: 221.6 kB / 0.5172 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1758, allocations: 183.2 kB / 0.5173 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.1761, allocations: 183 kB / 0.5175 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.1762, allocations: 44 kB / 0.5175 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.1763, allocations: 44 kB / 0.5176 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1764, allocations: 99.62 kB / 0.5177 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.1767, allocations: 202.8 kB / 0.5179 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.1774, allocations: 0.5057 MB / 0.5184 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1774, allocations: 4 kB / 0.5184 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1774, allocations: 0 / 0.5184 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1774, allocations: 0 / 0.5184 GB, free: 14.44 MB / 414.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.001599/0.179, allocations: 0.7319 MB / 0.5191 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.1791, allocations: 12.03 kB / 0.5191 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1792, allocations: 48.66 kB / 0.5192 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.1801, allocations: 408.6 kB / 0.5195 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.1801, allocations: 25.03 kB / 0.5196 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.1802, allocations: 32.12 kB / 0.5196 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.1809, allocations: 349.1 kB / 0.5199 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1809, allocations: 0 / 0.5199 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.181, allocations: 12 kB / 0.5199 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.181, allocations: 7.984 kB / 0.5199 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.1815, allocations: 222.1 kB / 0.5202 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1834, allocations: 1.186 MB / 0.5213 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.1842, allocations: 234.8 kB / 0.5215 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1844, allocations: 124.8 kB / 0.5217 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.1845, allocations: 4.359 kB / 0.5217 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.1846, allocations: 38.5 kB / 0.5217 GB, free: 10.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.1846, allocations: 0 / 0.5217 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008458/0.1854, allocations: 291.2 kB / 0.522 GB, free: 10.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.1856, allocations: 114.7 kB / 0.5221 GB, free: 10.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.186, allocations: 337.7 kB / 0.5224 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.1861, allocations: 29.7 kB / 0.5224 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.1863, allocations: 224.5 kB / 0.5227 GB, free: 9.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.1864, allocations: 83.27 kB / 0.5227 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1865, allocations: 53.7 kB / 0.5228 GB, free: 9.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.1868, allocations: 346.8 kB / 0.5231 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.1871, allocations: 84.77 kB / 0.5232 GB, free: 9.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.1874, allocations: 148.5 kB / 0.5233 GB, free: 9.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.1879, allocations: 209.9 kB / 0.5235 GB, free: 8.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1879, allocations: 0 / 0.5235 GB, free: 8.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006286/0.1885, allocations: 281.1 kB / 0.5238 GB, free: 8.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.1886, allocations: 11.94 kB / 0.5238 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1886, allocations: 0 / 0.5238 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/0.1886, allocations: 4 kB / 0.5238 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.1889, allocations: 60.09 kB / 0.5239 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1889, allocations: 4 kB / 0.5239 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.1891, allocations: 31.83 kB / 0.5239 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1891, allocations: 8 kB / 0.5239 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003165/0.1894, allocations: 196.3 kB / 0.5241 GB, free: 8.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002197/0.1897, allocations: 145 kB / 0.5242 GB, free: 8.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003498/0.19, allocations: 209.8 kB / 0.5244 GB, free: 7.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.19, allocations: 0 / 0.5244 GB, free: 7.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000493/0.1905, allocations: 269.2 kB / 0.5247 GB, free: 7.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1906, allocations: 8 kB / 0.5247 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-06/0.1906, allocations: 0 / 0.5247 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.1906, allocations: 4 kB / 0.5247 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.1908, allocations: 51.91 kB / 0.5248 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1908, allocations: 8.125 kB / 0.5248 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.191, allocations: 31.88 kB / 0.5248 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.191, allocations: 12 kB / 0.5248 GB, free: 7.461 MB / 414.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.0002307/0.1913, allocations: 200.7 kB / 0.525 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.1914, allocations: 35.77 kB / 0.525 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1915, allocations: 43.34 kB / 0.5251 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1915, allocations: 0 / 0.5251 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.1915, allocations: 4 kB / 0.5251 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1916, allocations: 7.875 kB / 0.5251 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.1922, allocations: 397.3 kB / 0.5255 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1922, allocations: 0 / 0.5255 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1924, allocations: 39.97 kB / 0.5255 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1924, allocations: 4 kB / 0.5255 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.1925, allocations: 4 kB / 0.5255 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1925, allocations: 4 kB / 0.5255 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1925, allocations: 0 / 0.5255 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.1933, allocations: 443 kB / 0.5259 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.1935, allocations: 136.8 kB / 0.5261 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.1936, allocations: 4 kB / 0.5261 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1938, allocations: 11.98 kB / 0.5261 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.1939, allocations: 23.91 kB / 0.5261 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1939, allocations: 4 kB / 0.5261 GB, free: 6.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.1942, allocations: 247.2 kB / 0.5263 GB, free: 5.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1942, allocations: 0 / 0.5263 GB, free: 5.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005425/0.1948, allocations: 131.6 kB / 0.5265 GB, free: 5.668 MB / 414.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.0002133/0.195, allocations: 107.1 kB / 0.5266 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.1958, allocations: 316.2 kB / 0.5269 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1958, allocations: 0 / 0.5269 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.196, allocations: 107.8 kB / 0.527 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.1966, allocations: 75.98 kB / 0.5271 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1981, allocations: 0.7074 MB / 0.5277 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.1986, allocations: 0.7918 MB / 0.5285 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.1988, allocations: 38.95 kB / 0.5286 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.1989, allocations: 31.42 kB / 0.5286 GB, free: 3.449 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1989, allocations: 0 / 0.5286 GB, free: 3.449 MB / 414.1 MB Notification: Performance of Templates: time 0.008672/0.2076, allocations: 3.481 MB / 0.532 GB, free: 4 kB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.934077410958707]