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.0007107/0.0007107, allocations: 111 kB / 19.7 MB, free: 0.6367 MB / 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.000747/0.000747, allocations: 215.7 kB / 23.01 MB, free: 3.199 MB / 13.93 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 0.9014/0.9014, allocations: 230.6 MB / 256.8 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7537/0.7537, allocations: 203.8 MB / 0.5049 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] 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.000874/0.000874, allocations: 67.23 kB / 0.7195 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4721, allocations: 102 MB / 0.8191 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001788/0.4739, allocations: 1.564 MB / 0.8206 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.4742, allocations: 119.2 kB / 0.8207 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.4743, allocations: 2.469 kB / 0.8207 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.4744, allocations: 14.61 kB / 0.8207 GB, free: 392 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.029e-05/0.4744, allocations: 13.44 kB / 0.8208 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.4747, allocations: 26.36 kB / 0.8208 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.4748, allocations: 50.67 kB / 0.8208 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.4749, allocations: 29.14 kB / 0.8209 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.4749, allocations: 26.53 kB / 0.8209 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.475, allocations: 33.67 kB / 0.8209 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.475, allocations: 5.094 kB / 0.8209 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.4751, allocations: 16.59 kB / 0.8209 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.4751, allocations: 13.83 kB / 0.821 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.4752, allocations: 25.77 kB / 0.821 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.4753, allocations: 65.22 kB / 0.821 GB, free: 248 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4753, allocations: 0.6562 kB / 0.821 GB, free: 248 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4753, allocations: 0 / 0.821 GB, free: 248 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4753, allocations: 0 / 0.821 GB, free: 248 kB / 0.6042 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.0004108/0.4757, allocations: 304.3 kB / 0.8213 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4758, allocations: 13.16 kB / 0.8213 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.4758, allocations: 6.953 kB / 0.8213 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.4759, allocations: 134 kB / 0.8215 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.4759, allocations: 4.312 kB / 0.8215 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4759, allocations: 4.094 kB / 0.8215 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.4761, allocations: 83.92 kB / 0.8216 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4761, allocations: 192 / 0.8216 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4761, allocations: 4.844 kB / 0.8216 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4762, allocations: 1.219 kB / 0.8216 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.4763, allocations: 87.28 kB / 0.8217 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.4767, allocations: 290.7 kB / 0.8219 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.4768, allocations: 65.77 kB / 0.822 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.4769, allocations: 38.09 kB / 0.822 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.4769, allocations: 3.953 kB / 0.822 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.477, allocations: 35.17 kB / 0.8221 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.477, allocations: 0 / 0.8221 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003171/0.4773, allocations: 141.6 kB / 0.8222 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.4773, allocations: 51.41 kB / 0.8223 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.4774, allocations: 118.7 kB / 0.8224 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.4774, allocations: 25.7 kB / 0.8224 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.4774, allocations: 97.67 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.4775, allocations: 6.859 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.4775, allocations: 21.33 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.4776, allocations: 320.4 kB / 0.8228 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.4776, allocations: 39.84 kB / 0.8229 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.4777, allocations: 38.12 kB / 0.8229 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.4779, allocations: 72.5 kB / 0.823 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4779, allocations: 0.6094 kB / 0.823 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001775/0.478, allocations: 109.4 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4781, allocations: 5.625 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4781, allocations: 1.344 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4781, allocations: 4.047 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.4782, allocations: 21.09 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4782, allocations: 0 / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.4782, allocations: 16.73 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.4782, allocations: 3.938 kB / 0.8231 GB, free: 14.6 MB / 0.6198 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.861e-05/0.4783, allocations: 114.9 kB / 0.8232 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.4783, allocations: 7.25 kB / 0.8232 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.4785, allocations: 120 kB / 0.8233 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4785, allocations: 3.938 kB / 0.8233 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4785, allocations: 1.75 kB / 0.8233 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4785, allocations: 0 / 0.8233 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.4787, allocations: 152.4 kB / 0.8235 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4787, allocations: 3.406 kB / 0.8235 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.4787, allocations: 18.89 kB / 0.8235 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4787, allocations: 0 / 0.8235 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4787, allocations: 3.438 kB / 0.8235 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4787, allocations: 0 / 0.8235 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4787, allocations: 0 / 0.8235 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.4789, allocations: 202.1 kB / 0.8237 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.4789, allocations: 4.75 kB / 0.8237 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4789, allocations: 0.5625 kB / 0.8237 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.479, allocations: 17.88 kB / 0.8237 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.479, allocations: 2.062 kB / 0.8237 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.479, allocations: 2.688 kB / 0.8237 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.4791, allocations: 96.45 kB / 0.8238 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4791, allocations: 0 / 0.8238 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000167/0.4793, allocations: 10.97 kB / 0.8238 GB, free: 14 MB / 0.6198 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.0001385/0.4794, allocations: 101.2 kB / 0.8239 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.4796, allocations: 77.53 kB / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.4796, allocations: 0 / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.4797, allocations: 37.39 kB / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.48, allocations: 19.67 kB / 0.8241 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.4804, allocations: 186.9 kB / 0.8242 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.4806, allocations: 0.6868 MB / 0.8249 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.4807, allocations: 11.25 kB / 0.8249 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.4807, allocations: 3.938 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of Templates: time 0.002697/0.4833, allocations: 0.9307 MB / 0.8258 GB, free: 12.93 MB / 0.6198 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.55640093004331] Failed to read output from testmodel.py, exit status != 0: 0.48916800413280725 0.499419965 0.022160682 Calling exit ...