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.0009971/0.0009971, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009832/0.0009832, allocations: 173 kB / 23.03 MB, free: 1.543 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.9956/0.9956, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8144/0.8144, allocations: 154.9 MB / 414.8 MB, free: 428 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 2.054e-06/2.054e-06, allocations: 0 / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.083e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.006117/0.006148, allocations: 1.583 MB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.0065, allocations: 123.4 kB / 0.5224 GB, free: 136 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.006555, allocations: 0 / 0.5224 GB, free: 136 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.006694, allocations: 7.922 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.006726, allocations: 11.88 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.01006, allocations: 23.97 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.01017, allocations: 59.81 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.01029, allocations: 16.44 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.01038, allocations: 32.84 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.01046, allocations: 31.95 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.01048, allocations: 4.656 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.01055, allocations: 15.92 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.01059, allocations: 12.95 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.01063, allocations: 19.88 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.01079, allocations: 51.81 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0108, allocations: 0.9688 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/0.0108, allocations: 0 / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.01081, allocations: 0.8125 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB 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.0004653/0.01127, allocations: 392.5 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.01131, allocations: 9 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.01136, allocations: 12.89 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.01153, allocations: 130.2 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.01154, allocations: 384 / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.01156, allocations: 8.375 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.01175, allocations: 78.84 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.01176, allocations: 1.219 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01177, allocations: 4.312 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.01178, allocations: 4.375 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.01183, allocations: 13.16 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.01224, allocations: 307.6 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.01232, allocations: 27.69 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.01235, allocations: 25.25 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.01239, allocations: 4.094 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.01241, allocations: 41.41 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.01241, allocations: 0 / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001803/0.01259, allocations: 50.81 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.01263, allocations: 51.41 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.01576, allocations: 173.1 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01578, allocations: 26.52 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.01584, allocations: 150.8 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.01586, allocations: 9.156 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.0159, allocations: 19.38 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01603, allocations: 496.1 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.01606, allocations: 7.984 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.01608, allocations: 4.719 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.01612, allocations: 19.62 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.01613, allocations: 4.625 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001025/0.01623, allocations: 50.59 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01625, allocations: 8 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01625, allocations: 0 / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01627, allocations: 0.5 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01637, allocations: 12.58 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01637, allocations: 0.75 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.01641, allocations: 4 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.01643, allocations: 3.156 kB / 0.5247 GB, free: 13.55 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 7.856e-05/0.0165, allocations: 164.5 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.01653, allocations: 7.891 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.01666, allocations: 53.69 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01667, allocations: 3.938 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01667, allocations: 0 / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01667, allocations: 8.359 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.01681, allocations: 124.6 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01681, allocations: 0.9375 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.01686, allocations: 11.98 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01687, allocations: 5.688 kB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.01687, allocations: 0 / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01687, allocations: 0 / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01688, allocations: 7.984 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.01701, allocations: 195.8 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.01702, allocations: 9.438 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.01703, allocations: 0 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.0171, allocations: 7.984 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01714, allocations: 4 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.01715, allocations: 6.75 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.0172, allocations: 131.2 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0172, allocations: 0 / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002486/0.01744, allocations: 19.89 kB / 0.5254 GB, free: 12.74 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.000141/0.01759, allocations: 95.23 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01769, allocations: 25.78 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01769, allocations: 0 / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.01772, allocations: 15.67 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01799, allocations: 8 kB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.01834, allocations: 150.9 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.01838, allocations: 67.34 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.01842, allocations: 13.61 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00304/0.02146, allocations: 8.5 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/0.02146, allocations: 0 / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.006357/0.02782, allocations: 0.8695 MB / 0.5266 GB, free: 11.48 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.834824384190142]