Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008121/0.0008121, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009714/0.001783, allocations: 440 kB / 10.41 MB, free: 284 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.0007549/0.0007549, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009732/0.001728, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9477/0.9477, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09333/1.041, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8883/0.8883, allocations: 154.6 MB / 398.8 MB, free: 408 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2962/1.185, allocations: 49.05 MB / 447.8 MB, free: 6.594 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/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_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.126e-05, allocations: 5.156 kB / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.00246/0.002481, allocations: 1.645 MB / 450.8 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.002718, allocations: 116.7 kB / 450.9 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.002758, allocations: 4.922 kB / 450.9 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.518e-05/0.002823, allocations: 7.938 kB / 450.9 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.002852, allocations: 17.81 kB / 451 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.003007, allocations: 27.91 kB / 451 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.003106, allocations: 53.27 kB / 451 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.003191, allocations: 17.64 kB / 451.1 MB, free: 3.422 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.003279, allocations: 38.14 kB / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.003347, allocations: 22.58 kB / 451.1 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.003364, allocations: 4.656 kB / 451.1 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.003435, allocations: 16.83 kB / 451.1 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.003472, allocations: 10.73 kB / 451.1 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.003499, allocations: 16.06 kB / 451.2 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003631, allocations: 43.94 kB / 451.2 MB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/0.003647, allocations: 3.938 kB / 451.2 MB, free: 3.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.003649, allocations: 1.062 kB / 451.2 MB, free: 3.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.003666, allocations: 0 / 451.2 MB, free: 3.285 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.0004049/0.004071, allocations: 282.5 kB / 451.5 MB, free: 2.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.004104, allocations: 9.234 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.004139, allocations: 4.938 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.004274, allocations: 125.7 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004284, allocations: 4.375 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.004296, allocations: 384 / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.004444, allocations: 79.84 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004451, allocations: 4.938 kB / 451.7 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.004461, allocations: 4.375 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004467, allocations: 1.531 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.004495, allocations: 11.94 kB / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.00478, allocations: 195 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.004843, allocations: 26.56 kB / 451.9 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.004863, allocations: 9.484 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.004893, allocations: 1.078 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.004914, allocations: 37.39 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004915, allocations: 4 kB / 452 MB, free: 2.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001177/0.005033, allocations: 41.81 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.005061, allocations: 55.41 kB / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.005129, allocations: 131.2 kB / 452.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.005138, allocations: 27.17 kB / 452.2 MB, free: 2.133 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.005172, allocations: 92.03 kB / 452.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.00519, allocations: 11.88 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.005223, allocations: 21.7 kB / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.005301, allocations: 311.4 kB / 452.7 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.005315, allocations: 4 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.005326, allocations: 1.5 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.005361, allocations: 24.97 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005363, allocations: 0 / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.285e-05/0.005426, allocations: 45.62 kB / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.005439, allocations: 8.844 kB / 452.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005442, allocations: 0 / 452.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.005459, allocations: 0.5312 kB / 452.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.005535, allocations: 12.61 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.005537, allocations: 0 / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.005565, allocations: 9.078 kB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.005582, allocations: 4 kB / 452.8 MB, free: 1.574 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 5.716e-05/0.005639, allocations: 109.9 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.005662, allocations: 11.94 kB / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.005753, allocations: 51.2 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.005754, allocations: 1.188 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.005758, allocations: 4 kB / 453 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.00576, allocations: 0 / 453 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.00587, allocations: 82.91 kB / 453 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005871, allocations: 0 / 453 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.005913, allocations: 11.98 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.005921, allocations: 5.078 kB / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005924, allocations: 4 kB / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.00593, allocations: 3.938 kB / 453.1 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005931, allocations: 1.094 kB / 453.1 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005932, allocations: 0 / 453.1 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.63e-05/0.006018, allocations: 135.5 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.006028, allocations: 2.375 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.006087, allocations: 11.92 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.006119, allocations: 11.98 kB / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.006124, allocations: 0.8438 kB / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.108e-05/0.006145, allocations: 18.88 kB / 453.2 MB, free: 1.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006146, allocations: 0 / 453.2 MB, free: 1.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000181/0.006327, allocations: 12.72 kB / 453.2 MB, free: 1.059 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 0.0001232/0.00645, allocations: 81.28 kB / 453.3 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.449e-05/0.006534, allocations: 68.64 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.00654, allocations: 0 / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.00657, allocations: 17.83 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.006771, allocations: 64.03 kB / 453.5 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.007185, allocations: 160.7 kB / 453.6 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.00723, allocations: 67.88 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.007257, allocations: 0.5625 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.007308, allocations: 55.94 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007308, allocations: 0.875 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of Templates: time 0.002652/0.00996, allocations: 0.7947 MB / 454.5 MB, free: 15.74 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6179615892469883]