Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9781/0.9781, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.738/0.738, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.088e-05, allocations: 2.312 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.00165/0.001661, allocations: 1.589 MB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.001901, allocations: 121.5 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.001941, allocations: 3.938 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.782e-05/0.002039, allocations: 9.859 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.354e-05/0.002062, allocations: 10.89 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.002268, allocations: 25.56 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.002353, allocations: 57.59 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.611e-05/0.002429, allocations: 20.58 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.002484, allocations: 31 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.002537, allocations: 29.5 kB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.002552, allocations: 9.484 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.78e-05/0.0026, allocations: 13.08 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.002632, allocations: 13.84 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.002659, allocations: 18.17 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.002751, allocations: 57.84 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.002753, allocations: 0 / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002753, allocations: 0 / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.002756, allocations: 0 / 482.4 MB, free: 4.582 MB / 442.7 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.0002578/0.003014, allocations: 272.7 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.575e-05/0.00304, allocations: 8.938 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.003064, allocations: 8.938 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.003162, allocations: 126.7 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-06/0.003168, allocations: 384 / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.003179, allocations: 4.375 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.003289, allocations: 79.62 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.003294, allocations: 192 / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.003301, allocations: 4.375 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003306, allocations: 5 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.003329, allocations: 8.562 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.003546, allocations: 194.4 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.622e-05/0.003592, allocations: 33.33 kB / 483.1 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.003612, allocations: 9.453 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.003635, allocations: 4 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.003652, allocations: 35.09 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.003653, allocations: 0.8125 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 8.937e-05/0.003742, allocations: 45.81 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002703/0.004012, allocations: 52.75 kB / 483.2 MB, free: 3.602 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.272e-05/0.004065, allocations: 122.6 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004074, allocations: 25.7 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.004103, allocations: 100 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.004117, allocations: 8.547 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.004137, allocations: 10.62 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.004203, allocations: 322.8 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.004214, allocations: 4 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.004223, allocations: 5 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.00425, allocations: 23.61 kB / 483.9 MB, free: 2.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004251, allocations: 0 / 483.9 MB, free: 2.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.665e-05/0.004298, allocations: 38.31 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.004308, allocations: 9.25 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004312, allocations: 4 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.004323, allocations: 7.938 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.004381, allocations: 12.52 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.004383, allocations: 0 / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.004403, allocations: 5.344 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.004416, allocations: 0 / 483.9 MB, free: 2.879 MB / 442.7 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 4.859e-05/0.004464, allocations: 113.7 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.004477, allocations: 7.938 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.004555, allocations: 53.61 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.004557, allocations: 4.812 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.004559, allocations: 0 / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.004562, allocations: 0 / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.434e-05/0.004647, allocations: 78.69 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004647, allocations: 0 / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.004674, allocations: 8.594 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.004676, allocations: 5.422 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.004681, allocations: 0 / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.004683, allocations: 3.938 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004685, allocations: 4 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.769e-05/0.004753, allocations: 132.3 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.004759, allocations: 11.89 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.004766, allocations: 0.75 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.004801, allocations: 11.92 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.004828, allocations: 10 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.004833, allocations: 0 / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.621e-05/0.004849, allocations: 24.55 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004849, allocations: 0 / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001182/0.004967, allocations: 11.94 kB / 484.4 MB, free: 2.359 MB / 442.7 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 7.276e-05/0.00504, allocations: 82.41 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.021e-05/0.0051, allocations: 63.59 kB / 484.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005102, allocations: 0 / 484.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.005119, allocations: 16.8 kB / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005228, allocations: 10.55 kB / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.00543, allocations: 157.6 kB / 484.7 MB, free: 2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.122e-05/0.005461, allocations: 60.06 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.516e-05/0.005487, allocations: 8.688 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.005527, allocations: 51.38 kB / 484.8 MB, free: 1.863 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005527, allocations: 4.906 kB / 484.8 MB, free: 1.859 MB / 442.7 MB Notification: Performance of Templates: time 0.001957/0.007484, allocations: 0.7624 MB / 485.6 MB, free: 1.148 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5278640217147768]