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.0009743/0.0009743, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.00216, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007655/0.0007655, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009782/0.001744, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.082/1.082, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09473/1.177, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8048/0.8048, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2867/1.091, allocations: 49.13 MB / 448.4 MB, free: 6.055 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.493e-06/1.493e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.754 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.987e-05, allocations: 4.422 kB / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.00201/0.00203, allocations: 1.634 MB / 451.3 MB, free: 3.137 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.002212, allocations: 111.7 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.002254, allocations: 8.594 kB / 451.5 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.9e-05/0.002313, allocations: 10.16 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.003e-05/0.002333, allocations: 7.219 kB / 451.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.002477, allocations: 32.39 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.905e-05/0.002566, allocations: 57.77 kB / 451.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.002659, allocations: 20.08 kB / 451.6 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.002741, allocations: 46 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.0028, allocations: 22.48 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.002816, allocations: 4 kB / 451.7 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.002887, allocations: 12.67 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.002918, allocations: 10.84 kB / 451.7 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.002942, allocations: 16.7 kB / 451.7 MB, free: 2.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.00305, allocations: 48.31 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.003065, allocations: 0 / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003066, allocations: 0 / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.003083, allocations: 0 / 451.7 MB, free: 2.773 MB / 426.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.0003652/0.003448, allocations: 283 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.003476, allocations: 8.656 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.003503, allocations: 8.922 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.00363, allocations: 123.8 kB / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.00364, allocations: 8.375 kB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.003648, allocations: 4.375 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.003777, allocations: 79.64 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.003784, allocations: 2.109 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.003791, allocations: 384 / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003796, allocations: 384 / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.003825, allocations: 15.92 kB / 452.3 MB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.004063, allocations: 195.9 kB / 452.5 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/0.004115, allocations: 22.58 kB / 452.5 MB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.004132, allocations: 8.859 kB / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.004167, allocations: 4 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.004188, allocations: 43.23 kB / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.004189, allocations: 0 / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001017/0.004291, allocations: 46.38 kB / 452.6 MB, free: 1.844 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.004317, allocations: 51.41 kB / 452.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.004369, allocations: 121 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004379, allocations: 29.64 kB / 452.8 MB, free: 1.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.004408, allocations: 92.69 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.004423, allocations: 11.91 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004448, allocations: 19.22 kB / 452.9 MB, free: 1.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.004522, allocations: 322.8 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.004532, allocations: 0 / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.004543, allocations: 5.359 kB / 453.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.004569, allocations: 21.7 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004571, allocations: 0 / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.656e-05/0.004618, allocations: 41.69 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.00463, allocations: 7.938 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.004634, allocations: 0 / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.004641, allocations: 0.9062 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.004711, allocations: 8 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.004715, allocations: 8.984 kB / 453.3 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.004737, allocations: 8 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.00475, allocations: 0 / 453.3 MB, free: 1.059 MB / 426.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.889e-05/0.004799, allocations: 109.5 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.004816, allocations: 11.92 kB / 453.4 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.00489, allocations: 55.88 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.004892, allocations: 0 / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.004894, allocations: 4 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.004898, allocations: 4.703 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.004982, allocations: 69.89 kB / 453.6 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.004983, allocations: 0.9062 kB / 453.6 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.005015, allocations: 11.98 kB / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.005023, allocations: 8.953 kB / 453.6 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.005026, allocations: 0.9375 kB / 453.6 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.005031, allocations: 4.562 kB / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.005033, allocations: 3.984 kB / 453.6 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005034, allocations: 1.312 kB / 453.6 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.98e-05/0.005114, allocations: 143.5 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.005123, allocations: 0 / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.00516, allocations: 8.438 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.005189, allocations: 11.92 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.005196, allocations: 3.109 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.005213, allocations: 23.47 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005213, allocations: 0 / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001253/0.005339, allocations: 13 kB / 453.8 MB, free: 0.5352 MB / 426.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 9.224e-05/0.005431, allocations: 76.42 kB / 453.9 MB, free: 464 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.005513, allocations: 64.3 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.005521, allocations: 4 kB / 453.9 MB, free: 392 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.005539, allocations: 13.7 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.005687, allocations: 12.59 kB / 454 MB, free: 364 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.006041, allocations: 160.2 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.122e-05/0.006072, allocations: 63.2 kB / 454.2 MB, free: 96 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.006094, allocations: 0.7812 kB / 454.2 MB, free: 96 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.006138, allocations: 60.81 kB / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006138, allocations: 0 / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of Templates: time 0.002255/0.008394, allocations: 0.7852 MB / 455 MB, free: 15.3 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.6145118018612266]