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.001304/0.001304, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001322/0.001322, allocations: 191.9 kB / 22.11 MB, free: 5.156 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.73/1.73, allocations: 207.6 MB / 232.8 MB, free: 10.02 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.3119/0.3119, allocations: 55.67 MB / 340.7 MB, free: 13.97 MB / 286.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.002441/0.002441, allocations: 75.88 kB / 482 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4771, allocations: 62.88 MB / 0.5321 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Average): time 0.003883/0.4809, allocations: 1.516 MB / 0.5336 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004393/0.4814, allocations: 103 kB / 0.5337 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.4814, allocations: 1.25 kB / 0.5337 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.4816, allocations: 6.422 kB / 0.5337 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.085e-05/0.4816, allocations: 13.98 kB / 0.5337 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.482, allocations: 28.7 kB / 0.5338 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.4821, allocations: 59.09 kB / 0.5338 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.4823, allocations: 18.8 kB / 0.5338 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.4824, allocations: 26.34 kB / 0.5339 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.4825, allocations: 29.23 kB / 0.5339 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.4825, allocations: 4.594 kB / 0.5339 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.4826, allocations: 10.31 kB / 0.5339 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.4826, allocations: 24.08 kB / 0.5339 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.4827, allocations: 23.05 kB / 0.534 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.4829, allocations: 60.91 kB / 0.534 GB, free: 6.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4829, allocations: 5.094 kB / 0.534 GB, free: 6.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4829, allocations: 0 / 0.534 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4829, allocations: 0 / 0.534 GB, free: 6.676 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.0006576/0.4836, allocations: 301.5 kB / 0.5343 GB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4836, allocations: 10.44 kB / 0.5343 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.4837, allocations: 11.08 kB / 0.5343 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4839, allocations: 131.2 kB / 0.5345 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4839, allocations: 9.516 kB / 0.5345 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.4839, allocations: 7.938 kB / 0.5345 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.4843, allocations: 88.98 kB / 0.5346 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4843, allocations: 1.094 kB / 0.5346 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4843, allocations: 4 kB / 0.5346 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4844, allocations: 1.156 kB / 0.5346 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.4848, allocations: 84.27 kB / 0.5346 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.4855, allocations: 292.4 kB / 0.5349 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.4858, allocations: 57.2 kB / 0.535 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.4861, allocations: 46.28 kB / 0.535 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.4861, allocations: 2.828 kB / 0.535 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4861, allocations: 31.56 kB / 0.5351 GB, free: 5.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.4861, allocations: 0.7188 kB / 0.5351 GB, free: 5.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008504/0.487, allocations: 142.6 kB / 0.5352 GB, free: 5.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.487, allocations: 53.05 kB / 0.5352 GB, free: 5.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.4871, allocations: 123.5 kB / 0.5354 GB, free: 5.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.4871, allocations: 25.7 kB / 0.5354 GB, free: 5.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.4872, allocations: 97.44 kB / 0.5355 GB, free: 5.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.4872, allocations: 10.09 kB / 0.5355 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.4873, allocations: 13.7 kB / 0.5355 GB, free: 5.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.4873, allocations: 323 kB / 0.5358 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.4876, allocations: 33.38 kB / 0.5358 GB, free: 5.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.4878, allocations: 32.19 kB / 0.5359 GB, free: 5.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.4882, allocations: 75.55 kB / 0.5359 GB, free: 5.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4882, allocations: 0 / 0.5359 GB, free: 5.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005026/0.4887, allocations: 110.7 kB / 0.536 GB, free: 5.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4887, allocations: 5.719 kB / 0.536 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4887, allocations: 0 / 0.536 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.4888, allocations: 1.922 kB / 0.5361 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.489, allocations: 19.17 kB / 0.5361 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.489, allocations: 0.7969 kB / 0.5361 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4891, allocations: 15.53 kB / 0.5361 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.4891, allocations: 1.125 kB / 0.5361 GB, free: 5.043 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.463e-05/0.4892, allocations: 116 kB / 0.5362 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.4893, allocations: 7.125 kB / 0.5362 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005562/0.4898, allocations: 113.3 kB / 0.5363 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4898, allocations: 2.219 kB / 0.5363 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4898, allocations: 7.938 kB / 0.5363 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4898, allocations: 3.984 kB / 0.5363 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.4901, allocations: 158.4 kB / 0.5365 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4901, allocations: 0.6094 kB / 0.5365 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.4902, allocations: 15.47 kB / 0.5365 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4902, allocations: 0.5625 kB / 0.5365 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4902, allocations: 5.062 kB / 0.5365 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4902, allocations: 0.6094 kB / 0.5365 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4902, allocations: 4.938 kB / 0.5365 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.4908, allocations: 198 kB / 0.5367 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.4908, allocations: 6.891 kB / 0.5367 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.4908, allocations: 5.219 kB / 0.5367 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.491, allocations: 11.84 kB / 0.5367 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.491, allocations: 7.438 kB / 0.5367 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.4911, allocations: 2.031 kB / 0.5367 GB, free: 4.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.4911, allocations: 90.98 kB / 0.5368 GB, free: 4.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4911, allocations: 3.938 kB / 0.5368 GB, free: 4.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.4916, allocations: 17.22 kB / 0.5368 GB, free: 4.43 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.0001701/0.4917, allocations: 97.64 kB / 0.5369 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.4923, allocations: 73.77 kB / 0.537 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4923, allocations: 0 / 0.537 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.4925, allocations: 37.39 kB / 0.537 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.493, allocations: 12.38 kB / 0.537 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.4935, allocations: 158.8 kB / 0.5372 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.4937, allocations: 0.6895 MB / 0.5379 GB, free: 3.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.554e-05/0.4938, allocations: 6.203 kB / 0.5379 GB, free: 3.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.4938, allocations: 9.688 kB / 0.5379 GB, free: 3.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4938, allocations: 0 / 0.5379 GB, free: 3.48 MB / 398.1 MB Notification: Performance of Templates: time 0.005248/0.4991, allocations: 0.79 MB / 0.5387 GB, free: 3.387 MB / 398.1 MB " [Timeout remaining time 659] 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.678103533573449] Failed to read output from testmodel.py, exit status != 0: 0.5094621367752552 0.533848994 0.046706937000000004 Calling exit ...