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.001279/0.001279, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001189/0.001189, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.167/1.167, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.8177/0.8177, allocations: 154.9 MB / 415.1 MB, free: 236 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.583e-06/1.583e-06, allocations: 0.9844 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.239e-05, allocations: 2.312 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001944/0.001956, allocations: 1.631 MB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002559/0.002212, allocations: 121.5 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.002255, allocations: 4.547 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.002357, allocations: 9.422 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.002382, allocations: 7.656 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.002557, allocations: 29.2 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.002636, allocations: 61.31 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.448e-05/0.002711, allocations: 19.92 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.002763, allocations: 31.22 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.002818, allocations: 29.92 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.002831, allocations: 7.188 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.002893, allocations: 8 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.002928, allocations: 15.16 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.002954, allocations: 23.92 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.52e-05/0.003049, allocations: 47.81 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-06/0.003051, allocations: 0 / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.003052, allocations: 4 kB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.003056, allocations: 0 / 482.5 MB, free: 4.5 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.0002549/0.00331, allocations: 270.7 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.003338, allocations: 8.031 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.003356, allocations: 5.812 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.003461, allocations: 133.6 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.003468, allocations: 9.219 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.003475, allocations: 384 / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.003586, allocations: 82.31 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-06/0.003591, allocations: 192 / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.003599, allocations: 6.312 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003602, allocations: 1 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.003628, allocations: 15.88 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.00385, allocations: 187.1 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.0039, allocations: 30.61 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.003916, allocations: 9.484 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.00394, allocations: 4.859 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.00396, allocations: 42.5 kB / 483.2 MB, free: 3.621 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.003961, allocations: 0.625 kB / 483.2 MB, free: 3.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 8.314e-05/0.004044, allocations: 39.09 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.004066, allocations: 57.12 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.004118, allocations: 118.7 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.004126, allocations: 25.7 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.004157, allocations: 103.9 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.004172, allocations: 4.859 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.004194, allocations: 13.72 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.004276, allocations: 318.8 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.004288, allocations: 8.719 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.004298, allocations: 4 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.004321, allocations: 16.3 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.004322, allocations: 0.9688 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.387e-05/0.004366, allocations: 42.62 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.004377, allocations: 7.938 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.00438, allocations: 1.219 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.004387, allocations: 0 / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.004441, allocations: 11.94 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.004444, allocations: 5.172 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.004462, allocations: 7.938 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.004474, allocations: 5.031 kB / 484 MB, free: 2.789 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.53e-05/0.004519, allocations: 108.7 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.004536, allocations: 11.92 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.004603, allocations: 46.56 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.004606, allocations: 1.078 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.004607, allocations: 1.344 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00461, allocations: 3.984 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.182e-05/0.004692, allocations: 77.89 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.004692, allocations: 1.438 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.00472, allocations: 11.98 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004721, allocations: 3.938 kB / 484.3 MB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.004725, allocations: 0 / 484.3 MB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004726, allocations: 4.906 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.004727, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.004793, allocations: 136.2 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.0048, allocations: 8.984 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.004807, allocations: 0 / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.004842, allocations: 8.719 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.00487, allocations: 7.984 kB / 484.4 MB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.004876, allocations: 8.594 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.397e-05/0.00489, allocations: 20.83 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00489, allocations: 1.219 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001182/0.005008, allocations: 11.94 kB / 484.5 MB, free: 2.277 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.08e-05/0.005079, allocations: 77.36 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.005156, allocations: 72.36 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.005158, allocations: 1.406 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.005175, allocations: 8.859 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.005296, allocations: 8 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.00552, allocations: 161.5 kB / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.005553, allocations: 61 kB / 484.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.824e-05/0.005571, allocations: 7.938 kB / 484.9 MB, free: 1.832 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.005614, allocations: 51.38 kB / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.005615, allocations: 0.5938 kB / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of Templates: time 0.002069/0.007683, allocations: 0.7656 MB / 485.7 MB, free: 1.062 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.791501940228045]