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.00119/0.00119, allocations: 80.94 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.00102/0.00102, allocations: 173.4 kB / 23.35 MB, free: 1.137 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.956/0.956, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.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.7827/0.7827, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 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. " [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.052e-06/1.052e-06, allocations: 0.5469 kB / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.444e-05, allocations: 2.312 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002046/0.00206, allocations: 1.593 MB / 481.6 MB, free: 5.371 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000232/0.002292, allocations: 116.2 kB / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.002328, allocations: 0 / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.461e-05/0.002423, allocations: 16.73 kB / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.402e-05/0.002447, allocations: 9.25 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.002595, allocations: 32.45 kB / 481.8 MB, free: 5.207 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.002657, allocations: 53.48 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.002712, allocations: 27.91 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.002753, allocations: 34.69 kB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.002791, allocations: 24.47 kB / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.0028, allocations: 4 kB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.143e-05/0.002832, allocations: 11.98 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.002856, allocations: 17.95 kB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.002875, allocations: 19.12 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.666e-05/0.002941, allocations: 48.69 kB / 482 MB, free: 4.992 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-06/0.002943, allocations: 0 / 482 MB, free: 4.992 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.002943, allocations: 0.7188 kB / 482 MB, free: 4.992 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.002946, allocations: 4 kB / 482 MB, free: 4.988 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.0002341/0.00318, allocations: 270.4 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.089e-05/0.003201, allocations: 8.656 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.929e-05/0.00322, allocations: 12.03 kB / 482.3 MB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.7e-05/0.003307, allocations: 126.8 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-06/0.003312, allocations: 4.375 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-06/0.003318, allocations: 384 / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.003418, allocations: 85.69 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-06/0.003421, allocations: 192 / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-06/0.003425, allocations: 384 / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-06/0.003427, allocations: 384 / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.003449, allocations: 16.53 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.003638, allocations: 190.8 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.003681, allocations: 27.55 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.003696, allocations: 9.859 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.003717, allocations: 4.078 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.003732, allocations: 39.59 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 5.11e-07/0.003732, allocations: 0 / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 7.12e-05/0.003804, allocations: 46.23 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.003826, allocations: 56.03 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.003871, allocations: 118.7 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.003881, allocations: 26.33 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.003909, allocations: 96.64 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.338e-06/0.003918, allocations: 3.953 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.003941, allocations: 26.27 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.004009, allocations: 314.8 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.004018, allocations: 4.625 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.004025, allocations: 0.625 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.00405, allocations: 20.47 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004051, allocations: 0.8125 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.991e-05/0.004091, allocations: 45.62 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.004103, allocations: 11.41 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.004106, allocations: 0 / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.004116, allocations: 0 / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.004168, allocations: 11.98 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004171, allocations: 0.5 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.00419, allocations: 8.797 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.004201, allocations: 4 kB / 483.6 MB, free: 3.289 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 5.101e-05/0.004252, allocations: 113.7 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.004274, allocations: 11.92 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.004345, allocations: 50.31 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.004346, allocations: 0 / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.004348, allocations: 5.297 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004351, allocations: 3.938 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.555e-05/0.004427, allocations: 73.88 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004427, allocations: 4.625 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.00445, allocations: 4 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.00445, allocations: 5.25 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-06/0.004453, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.004455, allocations: 3.938 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004456, allocations: 1.062 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.176e-05/0.004518, allocations: 139.5 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.004524, allocations: 7.953 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-06/0.004532, allocations: 0.9062 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.004568, allocations: 11.94 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.00459, allocations: 4.703 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.004593, allocations: 0 / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.26e-05/0.004606, allocations: 25.2 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004606, allocations: 5.375 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001162/0.004722, allocations: 15.94 kB / 484 MB, free: 2.766 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 6.827e-05/0.00479, allocations: 76.42 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.515e-05/0.004846, allocations: 68.36 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.004847, allocations: 0 / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.514e-05/0.004863, allocations: 10.86 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.00497, allocations: 4 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.005167, allocations: 174.3 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.005199, allocations: 59.34 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.458e-05/0.005214, allocations: 0.75 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.005254, allocations: 55.88 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.005254, allocations: 0.5938 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of Templates: time 0.00187/0.007125, allocations: 0.7618 MB / 485.2 MB, free: 1.559 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.4506752700544894]