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.001813/0.001813, allocations: 93.47 kB / 19.44 MB, free: 336 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.003083/0.003083, allocations: 169.2 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.595/1.595, 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 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.353/1.353, allocations: 154.8 MB / 414.4 MB, free: 468 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 1.583e-06/1.583e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/2.997e-05, allocations: 4.828 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002902/0.002932, allocations: 1.56 MB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.003283, allocations: 119.6 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.003327, allocations: 0 / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.003446, allocations: 16.61 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.003481, allocations: 13.33 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.003701, allocations: 27.97 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003806, allocations: 55.77 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.00391, allocations: 15.98 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.004001, allocations: 37.25 kB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.004067, allocations: 19.97 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.004089, allocations: 8 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.004154, allocations: 16.58 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.004204, allocations: 15.92 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.004238, allocations: 15.3 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004399, allocations: 59.8 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004401, allocations: 0 / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004402, allocations: 4 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004406, allocations: 3.938 kB / 0.5218 GB, free: 332 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.0006115/0.005017, allocations: 396 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.005054, allocations: 8.031 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.005108, allocations: 16.89 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.005299, allocations: 136.9 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.00531, allocations: 0.9062 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.005323, allocations: 4.375 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.005538, allocations: 62.8 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005547, allocations: 1.062 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005557, allocations: 384 / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.005567, allocations: 9.812 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.005766, allocations: 51.84 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.006327, allocations: 300.7 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.006489, allocations: 52.27 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.0066, allocations: 35.69 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.006639, allocations: 5.375 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.006679, allocations: 41.39 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.00668, allocations: 0 / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004166/0.007096, allocations: 90.47 kB / 0.5229 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.007142, allocations: 52.69 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.007297, allocations: 185.8 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.007318, allocations: 25.7 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.007416, allocations: 144.2 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.007442, allocations: 19.77 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.00749, allocations: 23.38 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005047/0.007995, allocations: 0.4884 MB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/0.008088, allocations: 16.77 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.008172, allocations: 26.69 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.008341, allocations: 47.66 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008343, allocations: 0 / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002222/0.008566, allocations: 69.61 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.008581, allocations: 10.75 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.008585, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008599, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.008709, allocations: 15.92 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.008715, allocations: 0 / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.008772, allocations: 11.98 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.008794, allocations: 8 kB / 0.5241 GB, free: 13.81 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.0001167/0.00891, allocations: 153.5 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.008944, allocations: 11.89 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.009214, allocations: 82.59 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009216, allocations: 0.9375 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.009228, allocations: 7.984 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00923, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.009404, allocations: 129.1 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009405, allocations: 0.7188 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.009476, allocations: 11.98 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.009481, allocations: 5.156 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.009489, allocations: 4.312 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00949, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009491, allocations: 0.5938 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.009826, allocations: 229.2 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.009842, allocations: 15.88 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.009855, allocations: 0 / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.00993, allocations: 6.438 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.009977, allocations: 7.984 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.009984, allocations: 0 / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.488e-05/0.01008, allocations: 139.2 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01008, allocations: 0 / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002217/0.0103, allocations: 15.95 kB / 0.5248 GB, free: 12.95 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.0001562/0.01046, allocations: 98.03 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.01072, allocations: 59.58 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01072, allocations: 0 / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01083, allocations: 31.67 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01107, allocations: 9.453 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.01144, allocations: 159.2 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.01155, allocations: 75.19 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.01159, allocations: 9.266 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.01162, allocations: 12.5 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.01162, allocations: 1.562 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.004036/0.01566, allocations: 0.8067 MB / 0.5261 GB, free: 11.67 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: 5.992892905022018]