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.001472/0.001472, 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.001555/0.001555, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.278/1.278, allocations: 154.6 MB / 414.2 MB, free: 0.6094 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 178] 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 2.054e-06/2.054e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.302e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.004733/0.004766, allocations: 1.545 MB / 0.5211 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005642/0.005331, allocations: 123.4 kB / 0.5213 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.005398, allocations: 0 / 0.5213 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.005594, allocations: 11.86 kB / 0.5213 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/0.005642, allocations: 12.98 kB / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.006005, allocations: 27.91 kB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.006174, allocations: 57.2 kB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.006319, allocations: 15.98 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.006449, allocations: 31.91 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.006554, allocations: 24.78 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.006589, allocations: 4 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.006685, allocations: 16.8 kB / 0.5215 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.00675, allocations: 15.92 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.006812, allocations: 15.92 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.007035, allocations: 60.8 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.00704, allocations: 4 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007041, allocations: 0.6875 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.007046, allocations: 0 / 0.5215 GB, free: 0.5781 MB / 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.0008951/0.007941, allocations: 307.8 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.007987, allocations: 8.031 kB / 0.5218 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.008073, allocations: 16.89 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.008351, allocations: 126.2 kB / 0.522 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.008369, allocations: 5.375 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.00839, allocations: 4.375 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.008843, allocations: 86.95 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.008853, allocations: 4.75 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.008867, allocations: 384 / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.008878, allocations: 5.047 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.009533, allocations: 80.98 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.01042, allocations: 262.2 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.01081, allocations: 60.22 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.01111, allocations: 40.8 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.01118, allocations: 8.734 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.01123, allocations: 30.56 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.01123, allocations: 1.406 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.001099/0.01233, allocations: 143 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.0124, allocations: 53.28 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.01257, allocations: 117 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.01261, allocations: 25.7 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01273, allocations: 96.08 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.01277, allocations: 15.84 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.01283, allocations: 15.84 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002854/0.01312, allocations: 318.8 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.01339, allocations: 31.97 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01362, allocations: 36.45 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.01414, allocations: 74.31 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01414, allocations: 1.031 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006483/0.01479, allocations: 110.6 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.01481, allocations: 7.25 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01482, allocations: 0 / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.01484, allocations: 336 / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.01505, allocations: 19.98 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01506, allocations: 0 / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.0152, allocations: 11.98 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.01523, allocations: 0 / 0.5236 GB, free: 14.35 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.0001598/0.01539, allocations: 120.9 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.01545, allocations: 15.88 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/0.01607, allocations: 109.5 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.01608, allocations: 8 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.01609, allocations: 5.484 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01609, allocations: 0 / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.01637, allocations: 117.3 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01637, allocations: 0 / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.01654, allocations: 16.42 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.01656, allocations: 10.73 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.01657, allocations: 4 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01657, allocations: 0 / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01658, allocations: 0 / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.01729, allocations: 201.9 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.01731, allocations: 7.938 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01733, allocations: 0 / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.01754, allocations: 11.98 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.0176, allocations: 7.922 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.01761, allocations: 0 / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001124/0.01773, allocations: 92.72 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01773, allocations: 0 / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004491/0.01817, allocations: 19.94 kB / 0.5243 GB, free: 13.56 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.0002236/0.0184, allocations: 96.62 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.01898, allocations: 74.36 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01898, allocations: 0 / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.01925, allocations: 39.95 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.01973, allocations: 14.09 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.0203, allocations: 160.3 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.02044, allocations: 75.19 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.02051, allocations: 5.406 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.02057, allocations: 12.5 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.02057, allocations: 0 / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.005619/0.02619, allocations: 0.8179 MB / 0.5255 GB, free: 12.26 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.918253445066512]