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.001798/0.001798, allocations: 85.48 kB / 19.44 MB, free: 344 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.002054/0.002054, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.342/1.342, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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.004e-06/2.004e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.561e-05/3.761e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003637/0.003675, allocations: 1.548 MB / 0.5211 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003948/0.00407, allocations: 123.4 kB / 0.5213 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.00413, allocations: 5.406 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.00428, allocations: 11.92 kB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.00432, allocations: 11.88 kB / 0.5213 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.004598, allocations: 25.09 kB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.004711, allocations: 47.84 kB / 0.5214 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.00482, allocations: 19.97 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.004915, allocations: 39.53 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.004985, allocations: 19.97 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.005007, allocations: 8 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.005079, allocations: 15.98 kB / 0.5215 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.005144, allocations: 19.91 kB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.005183, allocations: 11.94 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.00535, allocations: 67.72 kB / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.005356, allocations: 4 kB / 0.5216 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005357, allocations: 0 / 0.5216 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005361, allocations: 0.5625 kB / 0.5216 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.0005994/0.005961, allocations: 396.6 kB / 0.5219 GB, free: 156 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.006003, allocations: 8.031 kB / 0.5219 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/0.006064, allocations: 17.86 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.006295, allocations: 128.5 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.006307, allocations: 1.844 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.006322, allocations: 4.375 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.006553, allocations: 66.17 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006564, allocations: 0.7812 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.006574, allocations: 384 / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.006581, allocations: 5.016 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.006784, allocations: 53.8 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.007345, allocations: 303.7 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.007513, allocations: 47.61 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.007627, allocations: 36.52 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.007669, allocations: 4 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.007709, allocations: 42.81 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.00771, allocations: 3.938 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004475/0.008158, allocations: 95.72 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.008208, allocations: 51.41 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.008366, allocations: 181.9 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.008391, allocations: 29.7 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.008484, allocations: 138.8 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.008511, allocations: 14.59 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.008563, allocations: 27.36 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.008824, allocations: 0.4884 MB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.008916, allocations: 15.98 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.00901, allocations: 19.98 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.009185, allocations: 53.22 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.009189, allocations: 4 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002273/0.009416, allocations: 73.59 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.009431, allocations: 8.938 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.009436, allocations: 0 / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.009451, allocations: 0.9375 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.009557, allocations: 15.98 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.009562, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.009611, allocations: 4.656 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.009633, allocations: 4.719 kB / 0.5238 GB, free: 14.08 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.0001203/0.009754, allocations: 159.4 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.00979, allocations: 11.89 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.01008, allocations: 85.59 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01008, allocations: 0 / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01008, allocations: 4 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.01008, allocations: 0 / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.01026, allocations: 132.6 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01027, allocations: 3.125 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.01034, allocations: 8 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.01034, allocations: 3.938 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01035, allocations: 3.984 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01035, allocations: 3.938 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01035, allocations: 0 / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.01068, allocations: 234 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.0107, allocations: 11.92 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01071, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.01079, allocations: 4 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.01085, allocations: 7.984 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.01086, allocations: 0.5938 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.33e-05/0.01095, allocations: 139.2 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01095, allocations: 2.25 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000232/0.01119, allocations: 15.95 kB / 0.5246 GB, free: 13.2 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.0001704/0.01136, allocations: 99.17 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.01161, allocations: 56.52 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01162, allocations: 0 / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.01174, allocations: 36.14 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01201, allocations: 11.12 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.01242, allocations: 160.1 kB / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.793e-05/0.01251, allocations: 76.31 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.01255, allocations: 13.14 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.01259, allocations: 12.5 kB / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.0126, allocations: 1.125 kB / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.003994/0.01659, allocations: 0.8052 MB / 0.5258 GB, free: 11.92 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.204689010977745]