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.001402/0.001402, 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.001547/0.001547, 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.141 MB / 190.1 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-531:190: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-531:198: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.247/1.247, allocations: 154.6 MB / 413.7 MB, free: 5.273 MB / 382.1 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.683e-06/1.683e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.91e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002805/0.002834, allocations: 1.543 MB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000337/0.003171, allocations: 123.6 kB / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.003237, allocations: 7.938 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.00336, allocations: 3.938 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.151e-05/0.003391, allocations: 11.86 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.003646, allocations: 27.95 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.003769, allocations: 55.78 kB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003879, allocations: 23.98 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.003954, allocations: 27.97 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.004024, allocations: 23.91 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.004045, allocations: 4 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.004114, allocations: 15.98 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.004161, allocations: 15.92 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.004197, allocations: 15.98 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.004337, allocations: 59.8 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004339, allocations: 0 / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.62e-07/0.00434, allocations: 3.938 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.004344, allocations: 4 kB / 0.6204 GB, free: 2.66 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.0005689/0.004913, allocations: 306.1 kB / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.033e-05/0.004983, allocations: 13.41 kB / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.005026, allocations: 8.891 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005208, allocations: 125.7 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005218, allocations: 384 / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005237, allocations: 8.375 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.005542, allocations: 86.19 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.005553, allocations: 12.12 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.005564, allocations: 384 / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.005568, allocations: 384 / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.005891, allocations: 79.86 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.006408, allocations: 268.3 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.006628, allocations: 62.53 kB / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.006793, allocations: 44.84 kB / 0.6214 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.006829, allocations: 4 kB / 0.6214 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.006858, allocations: 30.56 kB / 0.6214 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.006859, allocations: 0 / 0.6214 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006024/0.007461, allocations: 141.8 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.007508, allocations: 51.41 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.007617, allocations: 117.1 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.007635, allocations: 25.7 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.007698, allocations: 100.1 kB / 0.6219 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.007717, allocations: 3.953 kB / 0.6219 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.007757, allocations: 17.72 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.007916, allocations: 318.8 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.008071, allocations: 31.97 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.00822, allocations: 39.94 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.008512, allocations: 76.72 kB / 0.6223 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008513, allocations: 4 kB / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003786/0.008892, allocations: 113.4 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.008907, allocations: 6.031 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.008911, allocations: 0 / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008924, allocations: 0 / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.009054, allocations: 15.98 kB / 0.6225 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.009059, allocations: 0 / 0.6225 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.00915, allocations: 23.91 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.009167, allocations: 0 / 0.6225 GB, free: 408 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 8.84e-05/0.009255, allocations: 114.8 kB / 0.6226 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.009296, allocations: 11.89 kB / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.009699, allocations: 117.5 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009701, allocations: 0 / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.009704, allocations: 4 kB / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.009707, allocations: 0 / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.009872, allocations: 117.3 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.009873, allocations: 0 / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.009973, allocations: 15.97 kB / 0.6228 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009976, allocations: 7.938 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.009984, allocations: 0 / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.009985, allocations: 0 / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009986, allocations: 0 / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.01039, allocations: 203.4 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.01041, allocations: 11.94 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.01042, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.01054, allocations: 19.92 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.01058, allocations: 7.984 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.01058, allocations: 0 / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.01064, allocations: 99.2 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01064, allocations: 0 / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002295/0.01087, allocations: 12 kB / 0.6232 GB, free: 15.6 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.0001492/0.01102, allocations: 95.19 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.01139, allocations: 75.91 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01139, allocations: 0 / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.01156, allocations: 43.97 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.01185, allocations: 10.52 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.01226, allocations: 157 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.377e-05/0.01234, allocations: 79.33 kB / 0.6236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.01238, allocations: 4 kB / 0.6236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.01241, allocations: 8.5 kB / 0.6236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.01241, allocations: 4 kB / 0.6236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of Templates: time 0.003549/0.01596, allocations: 0.8073 MB / 0.6244 GB, free: 14.29 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.85582185909152] Failed to read output from testmodel.py, exit status != 0: 0.02446497231721878 0.040132113000000004 0.032661761000000004 Calling exit ...