Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.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.001283/0.001283, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001247/0.001247, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.714/1.714, allocations: 207.6 MB / 231.3 MB, free: 3.41 MB / 174.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.5882/0.5882, allocations: 55.7 MB / 339.1 MB, free: 11.94 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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average") translateModel(Annex60.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average") [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.002265/0.002265, allocations: 72.39 kB / 479.9 MB, free: 36.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1465, allocations: 62.85 MB / 0.53 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Average): time 0.002941/0.1494, allocations: 1.526 MB / 0.5315 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.1498, allocations: 103.7 kB / 0.5316 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.1498, allocations: 0 / 0.5316 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.15, allocations: 3.938 kB / 0.5316 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.15, allocations: 11.88 kB / 0.5316 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1503, allocations: 27.95 kB / 0.5316 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1504, allocations: 59.78 kB / 0.5317 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1505, allocations: 23.91 kB / 0.5317 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.1506, allocations: 19.92 kB / 0.5317 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.1507, allocations: 31.91 kB / 0.5317 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1507, allocations: 4 kB / 0.5317 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.1507, allocations: 12 kB / 0.5318 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.1508, allocations: 15.92 kB / 0.5318 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1508, allocations: 23.86 kB / 0.5318 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.151, allocations: 59.73 kB / 0.5319 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.151, allocations: 0 / 0.5319 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.151, allocations: 4 kB / 0.5319 GB, free: 9.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.151, allocations: 7.938 kB / 0.5319 GB, free: 9.727 MB / 398.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.0006141/0.1516, allocations: 379.2 kB / 0.5322 GB, free: 9.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1517, allocations: 11.97 kB / 0.5322 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1517, allocations: 8.891 kB / 0.5322 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1519, allocations: 184.3 kB / 0.5324 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1519, allocations: 384 / 0.5324 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1519, allocations: 4.375 kB / 0.5324 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.1522, allocations: 97.56 kB / 0.5325 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1522, allocations: 0 / 0.5325 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1522, allocations: 4 kB / 0.5325 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1523, allocations: 0 / 0.5325 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1526, allocations: 79.86 kB / 0.5326 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.1532, allocations: 328.7 kB / 0.5329 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.1534, allocations: 58.56 kB / 0.533 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1535, allocations: 44.86 kB / 0.533 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.1536, allocations: 4 kB / 0.533 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1536, allocations: 34.56 kB / 0.533 GB, free: 8.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1536, allocations: 0 / 0.533 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005827/0.1542, allocations: 137.7 kB / 0.5332 GB, free: 8.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1542, allocations: 55.41 kB / 0.5332 GB, free: 8.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1544, allocations: 125.7 kB / 0.5334 GB, free: 8.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1544, allocations: 25.7 kB / 0.5334 GB, free: 7.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.1544, allocations: 100.1 kB / 0.5335 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1545, allocations: 11.89 kB / 0.5335 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1545, allocations: 13.72 kB / 0.5335 GB, free: 7.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1547, allocations: 318.8 kB / 0.5338 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.1548, allocations: 35.95 kB / 0.5338 GB, free: 7.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1549, allocations: 39.94 kB / 0.5339 GB, free: 7.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1552, allocations: 68.78 kB / 0.5339 GB, free: 7.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1552, allocations: 0 / 0.5339 GB, free: 7.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003388/0.1556, allocations: 113.5 kB / 0.534 GB, free: 7.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1556, allocations: 4 kB / 0.5341 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1556, allocations: 8 kB / 0.5341 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1556, allocations: 3.984 kB / 0.5341 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1557, allocations: 11.98 kB / 0.5341 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1557, allocations: 0 / 0.5341 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.1558, allocations: 19.92 kB / 0.5341 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1558, allocations: 4 kB / 0.5341 GB, free: 7.215 MB / 398.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 9.024e-05/0.1559, allocations: 117.8 kB / 0.5342 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.156, allocations: 3.953 kB / 0.5342 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.1563, allocations: 109.5 kB / 0.5343 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1563, allocations: 7.938 kB / 0.5343 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1563, allocations: 0 / 0.5343 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.1563, allocations: 3.938 kB / 0.5343 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1565, allocations: 173.6 kB / 0.5345 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1565, allocations: 0 / 0.5345 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.1566, allocations: 19.97 kB / 0.5345 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1566, allocations: 0 / 0.5345 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1566, allocations: 4 kB / 0.5345 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1566, allocations: 0 / 0.5345 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1566, allocations: 4 kB / 0.5345 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.157, allocations: 199.4 kB / 0.5347 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.1571, allocations: 89 kB / 0.5348 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1571, allocations: 0 / 0.5348 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1572, allocations: 15.98 kB / 0.5348 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1573, allocations: 7.922 kB / 0.5348 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1573, allocations: 7.938 kB / 0.5348 GB, free: 6.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.1573, allocations: 95.2 kB / 0.5349 GB, free: 6.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 0.5349 GB, free: 6.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1575, allocations: 8 kB / 0.5349 GB, free: 6.258 MB / 398.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.0001508/0.1577, allocations: 103.2 kB / 0.535 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.1581, allocations: 75.92 kB / 0.5351 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1581, allocations: 0 / 0.5351 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1582, allocations: 39.95 kB / 0.5351 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1585, allocations: 6.031 kB / 0.5351 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.1589, allocations: 165.3 kB / 0.5353 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1592, allocations: 0.6889 MB / 0.536 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.654e-05/0.1593, allocations: 4 kB / 0.536 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.1593, allocations: 11.44 kB / 0.536 GB, free: 5.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1593, allocations: 0 / 0.536 GB, free: 5.113 MB / 398.1 MB Notification: Performance of Templates: time 0.003503/0.1628, allocations: 0.7755 MB / 0.5367 GB, free: 4.344 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.534482701681554]