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.001795/0.001795, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002376/0.002376, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.643/1.643, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.331/1.331, allocations: 203.8 MB / 0.5041 GB, free: 4.598 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 67.89 kB / 0.7186 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5955/0.5978, allocations: 102 MB / 0.8183 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002582/0.6004, allocations: 1.56 MB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.6007, allocations: 114 kB / 0.8199 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.6008, allocations: 1.531 kB / 0.8199 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.6009, allocations: 14.89 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.6009, allocations: 9.25 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.6011, allocations: 28.97 kB / 0.8199 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.6012, allocations: 58.25 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.6014, allocations: 14.03 kB / 0.82 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.6014, allocations: 24.67 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.6015, allocations: 31.55 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.6015, allocations: 5.156 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.6016, allocations: 14.92 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.6016, allocations: 11.98 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.6017, allocations: 24.61 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.6018, allocations: 61.31 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6018, allocations: 2.016 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6018, allocations: 0 / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.6018, allocations: 0.8438 kB / 0.8202 GB, free: 27.62 MB / 0.6387 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.0005016/0.6023, allocations: 300.4 kB / 0.8205 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6024, allocations: 11.09 kB / 0.8205 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.6024, allocations: 10 kB / 0.8205 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.6026, allocations: 138.1 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.6026, allocations: 1.781 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.6026, allocations: 3.5 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.6029, allocations: 89.12 kB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6029, allocations: 192 / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6029, allocations: 9.031 kB / 0.8207 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6029, allocations: 0.9062 kB / 0.8207 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.6033, allocations: 80.95 kB / 0.8208 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.6038, allocations: 262.3 kB / 0.821 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.6041, allocations: 57.86 kB / 0.8211 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.6042, allocations: 44.02 kB / 0.8211 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.6043, allocations: 2.922 kB / 0.8211 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.6043, allocations: 31.78 kB / 0.8212 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6043, allocations: 1.438 kB / 0.8212 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005782/0.6049, allocations: 133.6 kB / 0.8213 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.6049, allocations: 57.05 kB / 0.8214 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.605, allocations: 122.6 kB / 0.8215 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.605, allocations: 27.52 kB / 0.8215 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.605, allocations: 104.2 kB / 0.8216 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.605, allocations: 6.844 kB / 0.8216 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.6051, allocations: 13.7 kB / 0.8216 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.6051, allocations: 323 kB / 0.8219 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.6053, allocations: 32.48 kB / 0.822 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.6054, allocations: 33.16 kB / 0.822 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.6058, allocations: 74.88 kB / 0.8221 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6058, allocations: 0 / 0.8221 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003677/0.6061, allocations: 118.9 kB / 0.8222 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6061, allocations: 5.547 kB / 0.8222 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6062, allocations: 3.812 kB / 0.8222 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6062, allocations: 4.5 kB / 0.8222 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.6063, allocations: 15.88 kB / 0.8222 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.6063, allocations: 0.5938 kB / 0.8222 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/0.6064, allocations: 11.56 kB / 0.8222 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.6064, allocations: 2.016 kB / 0.8222 GB, free: 26.05 MB / 0.6387 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 6.642e-05/0.6065, allocations: 124.3 kB / 0.8223 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.6065, allocations: 7.094 kB / 0.8223 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.6069, allocations: 115.4 kB / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6069, allocations: 0 / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6069, allocations: 1.5 kB / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6069, allocations: 4.547 kB / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.607, allocations: 121.3 kB / 0.8226 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.607, allocations: 1.062 kB / 0.8226 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.6071, allocations: 19.98 kB / 0.8226 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6071, allocations: 0.75 kB / 0.8226 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6072, allocations: 1.406 kB / 0.8226 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6072, allocations: 0 / 0.8226 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6072, allocations: 0.6562 kB / 0.8226 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.6075, allocations: 203 kB / 0.8228 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.6075, allocations: 7.141 kB / 0.8228 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.6075, allocations: 1.609 kB / 0.8228 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6076, allocations: 10.95 kB / 0.8228 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.6077, allocations: 8.297 kB / 0.8228 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.6077, allocations: 1.531 kB / 0.8228 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.6077, allocations: 91.19 kB / 0.8229 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6077, allocations: 0 / 0.8229 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002339/0.608, allocations: 17.81 kB / 0.8229 GB, free: 25.48 MB / 0.6387 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 9.563e-05/0.6081, allocations: 95.41 kB / 0.823 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.6084, allocations: 79.77 kB / 0.8231 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6084, allocations: 3.938 kB / 0.8231 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.6086, allocations: 37.8 kB / 0.8231 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.609, allocations: 11.12 kB / 0.8231 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.6093, allocations: 158.2 kB / 0.8233 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.882e-05/0.6093, allocations: 75.67 kB / 0.8234 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.6094, allocations: 11 kB / 0.8234 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.6094, allocations: 10.25 kB / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6094, allocations: 0 / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.003869/0.6133, allocations: 0.8385 MB / 0.8242 GB, free: 25.04 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.981168929487467] Failed to read output from testmodel.py, exit status != 0: 0.6225979141891003 0.6377466150000001 0.032711094 Calling exit ...