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.001672/0.001672, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001922/0.001922, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 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-531:686: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-531:694: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.198/1.198, allocations: 154.6 MB / 413.8 MB, free: 5.195 MB / 382.1 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.204e-06/2.204e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.792e-05, allocations: 6.781 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003387/0.003425, allocations: 1.537 MB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.003802, allocations: 115.7 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.003861, allocations: 7.938 kB / 0.6202 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.004014, allocations: 11.92 kB / 0.6202 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.004047, allocations: 7.875 kB / 0.6202 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.004321, allocations: 23.97 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.00444, allocations: 67.75 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.00456, allocations: 8 kB / 0.6203 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.004644, allocations: 27.97 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.004722, allocations: 31.91 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.004744, allocations: 4 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.004814, allocations: 15.97 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.004862, allocations: 19.92 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.004902, allocations: 12 kB / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.005063, allocations: 75.72 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005065, allocations: 0 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.92e-07/0.005066, allocations: 0 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.00507, allocations: 0 / 0.6205 GB, free: 2.57 MB / 0.5294 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.0005821/0.005652, allocations: 310 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.005696, allocations: 12.03 kB / 0.6208 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.005736, allocations: 8.891 kB / 0.6208 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.005912, allocations: 125 kB / 0.6209 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.005925, allocations: 4.375 kB / 0.6209 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.005939, allocations: 4.375 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.006238, allocations: 86.14 kB / 0.621 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.006249, allocations: 192 / 0.621 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.006264, allocations: 8.359 kB / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.006269, allocations: 384 / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.006598, allocations: 83.86 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.007143, allocations: 264.3 kB / 0.6214 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.007365, allocations: 58.53 kB / 0.6214 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.007536, allocations: 48.84 kB / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.007579, allocations: 0 / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.007615, allocations: 42.5 kB / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.007616, allocations: 0 / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006059/0.008222, allocations: 133.6 kB / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.008277, allocations: 51.41 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.008378, allocations: 121.8 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.008402, allocations: 25.7 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.008468, allocations: 92.08 kB / 0.6219 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.008492, allocations: 11.89 kB / 0.6219 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.008535, allocations: 17.72 kB / 0.622 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.008679, allocations: 318.8 kB / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.008843, allocations: 31.97 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.008991, allocations: 35.95 kB / 0.6223 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.009291, allocations: 72.78 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009292, allocations: 0 / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003771/0.009669, allocations: 117.8 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.009685, allocations: 8 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.009691, allocations: 0 / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.009709, allocations: 0 / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.009843, allocations: 15.98 kB / 0.6225 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.00985, allocations: 3.984 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.009939, allocations: 19.92 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.009958, allocations: 0 / 0.6225 GB, free: 316 kB / 0.5294 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.0001039/0.01006, allocations: 115.7 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.01009, allocations: 11.89 kB / 0.6227 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.01052, allocations: 117.5 kB / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.01052, allocations: 7.984 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01053, allocations: 0 / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01053, allocations: 0 / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.01071, allocations: 113.3 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01071, allocations: 0 / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.01081, allocations: 19.97 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01081, allocations: 7.938 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01083, allocations: 8 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01083, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01083, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.01124, allocations: 195.4 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.01125, allocations: 3.938 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.01127, allocations: 11.94 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01138, allocations: 11.98 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.01142, allocations: 7.984 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01143, allocations: 0 / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.01149, allocations: 95.2 kB / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01149, allocations: 3.938 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002315/0.01172, allocations: 12 kB / 0.6233 GB, free: 15.51 MB / 0.545 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.0001529/0.01187, allocations: 95.25 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.01225, allocations: 75.92 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01225, allocations: 0 / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.01242, allocations: 43.89 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.01273, allocations: 8 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.01312, allocations: 152.7 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.622e-05/0.01319, allocations: 71.34 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.01324, allocations: 11.89 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.01327, allocations: 12.5 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.01327, allocations: 0 / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of Templates: time 0.003725/0.01699, allocations: 0.8095 MB / 0.6245 GB, free: 14.21 MB / 0.545 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.74667689204216] Failed to read output from testmodel.py, exit status != 0: 0.025629233568906784 0.039735139 0.031670042 Calling exit ...