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.001822/0.001822, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002272/0.002272, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.198/1.198, allocations: 154.8 MB / 414.3 MB, free: 464 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 178] 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 2.996e-06/2.996e-06, allocations: 0 / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.645e-05/3.944e-05, allocations: 4 kB / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.005185/0.005224, allocations: 1.553 MB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006002/0.005825, allocations: 124.4 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.005919, allocations: 0 / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.006112, allocations: 12.42 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.006165, allocations: 9.5 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.006524, allocations: 27.95 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.006709, allocations: 63.77 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.006844, allocations: 9.25 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.006954, allocations: 27.97 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.007066, allocations: 35.89 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.007093, allocations: 4 kB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.007183, allocations: 12.48 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.007243, allocations: 13.02 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.0073, allocations: 15.94 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.007553, allocations: 67.72 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.007559, allocations: 0.9688 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.007561, allocations: 0 / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.007567, allocations: 0 / 0.5218 GB, free: 364 kB / 490.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.0009026/0.00847, allocations: 307.3 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.008521, allocations: 13.38 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.008599, allocations: 8.891 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.008908, allocations: 129.6 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.008926, allocations: 384 / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.00895, allocations: 6.188 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.009437, allocations: 90.14 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.009451, allocations: 192 / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.009467, allocations: 2.094 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.00948, allocations: 4.359 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.01009, allocations: 84.61 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009025/0.01099, allocations: 261.8 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.01138, allocations: 59.88 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.01169, allocations: 42.52 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.01175, allocations: 3.984 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/0.01182, allocations: 42.59 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.01182, allocations: 0 / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.001115/0.01294, allocations: 131.8 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.01301, allocations: 51.97 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.01321, allocations: 114.4 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.01324, allocations: 29.7 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.01335, allocations: 93.02 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.01341, allocations: 19.84 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.01348, allocations: 14.25 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002829/0.01376, allocations: 318.8 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.01406, allocations: 33.38 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.01436, allocations: 32.89 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.01491, allocations: 79.97 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01491, allocations: 0 / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006783/0.01559, allocations: 109.8 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.01562, allocations: 9.844 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.01563, allocations: 48 / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.01566, allocations: 7.922 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.0159, allocations: 15.98 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.01591, allocations: 0 / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01606, allocations: 11.98 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.01609, allocations: 1.5 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB 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 0.0001808/0.01627, allocations: 121.8 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.01634, allocations: 11.89 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.01709, allocations: 112.7 kB / 0.5241 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.0171, allocations: 3.984 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01711, allocations: 0 / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.01712, allocations: 4 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.01744, allocations: 117.3 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01744, allocations: 2.438 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.01762, allocations: 19.97 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.01764, allocations: 3.938 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01765, allocations: 0 / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01765, allocations: 0 / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01765, allocations: 0 / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007315/0.01838, allocations: 205 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.01841, allocations: 8.969 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.01843, allocations: 0 / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.01863, allocations: 12.92 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.01871, allocations: 7.984 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.01873, allocations: 4 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001209/0.01885, allocations: 90.58 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01885, allocations: 0 / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004602/0.01931, allocations: 15.94 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB 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.0002624/0.01957, allocations: 101.6 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006875/0.02026, allocations: 71.86 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.02026, allocations: 6.375 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.02058, allocations: 39.95 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.02118, allocations: 7.938 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.02189, allocations: 161.7 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.02204, allocations: 75.19 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.323e-05/0.02212, allocations: 5.281 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.02218, allocations: 16.5 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.02218, allocations: 0.6562 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.006622/0.0288, allocations: 0.8151 MB / 0.5258 GB, free: 12.04 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.749088503071107]