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.0007412/0.0007412, allocations: 100.4 kB / 19.71 MB, free: 444 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.0007614/0.0007614, allocations: 210.9 kB / 23 MB, free: 2.973 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.919/0.919, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7404/0.7404, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.0009272/0.0009272, allocations: 70.77 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4618, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001853/0.4636, allocations: 1.533 MB / 0.8205 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.4639, allocations: 132 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.464, allocations: 3.938 kB / 0.8206 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.4641, allocations: 10.06 kB / 0.8207 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.798e-05/0.4641, allocations: 4.688 kB / 0.8207 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.4643, allocations: 28.17 kB / 0.8207 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.4644, allocations: 54.31 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4645, allocations: 23.61 kB / 0.8208 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.4646, allocations: 25.89 kB / 0.8208 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.4646, allocations: 29.53 kB / 0.8208 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.4646, allocations: 12.06 kB / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.709e-05/0.4647, allocations: 13.83 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.4647, allocations: 15.95 kB / 0.8209 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.4648, allocations: 15.7 kB / 0.8209 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.4649, allocations: 61.5 kB / 0.8209 GB, free: 64 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4649, allocations: 4.516 kB / 0.8209 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.644e-06/0.4649, allocations: 0 / 0.8209 GB, free: 60 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4649, allocations: 0 / 0.8209 GB, free: 60 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.0004012/0.4653, allocations: 310.5 kB / 0.8212 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.4653, allocations: 12.53 kB / 0.8212 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.4654, allocations: 7.266 kB / 0.8212 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4655, allocations: 125.8 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.4655, allocations: 6.188 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.4655, allocations: 8.766 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.4657, allocations: 84.72 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.4657, allocations: 192 / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4657, allocations: 6.094 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4657, allocations: 0 / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.4659, allocations: 84.97 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.4662, allocations: 258.1 kB / 0.8218 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.4664, allocations: 60.22 kB / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.4664, allocations: 42.39 kB / 0.8219 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.4665, allocations: 1.094 kB / 0.8219 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4665, allocations: 42.83 kB / 0.8219 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4665, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003162/0.4668, allocations: 134.9 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.4668, allocations: 55.34 kB / 0.8221 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/0.4669, allocations: 122.2 kB / 0.8222 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4669, allocations: 30.16 kB / 0.8223 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.467, allocations: 104 kB / 0.8224 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.467, allocations: 8.516 kB / 0.8224 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.467, allocations: 15.86 kB / 0.8224 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.4671, allocations: 322.8 kB / 0.8227 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.4672, allocations: 31.55 kB / 0.8227 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.4672, allocations: 40.38 kB / 0.8228 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4674, allocations: 71.12 kB / 0.8228 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4674, allocations: 0 / 0.8228 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001736/0.4675, allocations: 106.2 kB / 0.8229 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4676, allocations: 8.891 kB / 0.8229 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4676, allocations: 0 / 0.8229 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4676, allocations: 1.828 kB / 0.8229 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.4676, allocations: 17.09 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4676, allocations: 0.9844 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.4677, allocations: 15.22 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4677, allocations: 0 / 0.823 GB, free: 14.46 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.135e-05/0.4678, allocations: 127.8 kB / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.4678, allocations: 6.297 kB / 0.8231 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.468, allocations: 116.8 kB / 0.8232 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.468, allocations: 1.219 kB / 0.8232 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.468, allocations: 0 / 0.8232 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.468, allocations: 0 / 0.8232 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.825e-05/0.4681, allocations: 122.3 kB / 0.8233 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4681, allocations: 0 / 0.8233 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.4681, allocations: 20.7 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4681, allocations: 1.312 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.4681, allocations: 0 / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4682, allocations: 4 kB / 0.8234 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4682, allocations: 1.344 kB / 0.8234 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4683, allocations: 201.8 kB / 0.8235 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.4683, allocations: 16.8 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.4684, allocations: 0 / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.4684, allocations: 12.09 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.4684, allocations: 4.891 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4684, allocations: 6.344 kB / 0.8236 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.457e-05/0.4685, allocations: 92.08 kB / 0.8237 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4685, allocations: 1.375 kB / 0.8237 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001523/0.4686, allocations: 12.38 kB / 0.8237 GB, free: 13.88 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 9.362e-05/0.4687, allocations: 94.19 kB / 0.8238 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.4689, allocations: 85.12 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4689, allocations: 0 / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.469, allocations: 38.14 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.4692, allocations: 11.11 kB / 0.8239 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.4695, allocations: 176.3 kB / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.4696, allocations: 77.83 kB / 0.8241 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.4696, allocations: 9.906 kB / 0.8242 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4696, allocations: 0 / 0.8242 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.002105/0.4717, allocations: 0.9459 MB / 0.8251 GB, free: 13.45 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.576545292045921] Failed to read output from testmodel.py, exit status != 0: 0.47726332722231746 0.486328735 0.019616198 Calling exit ...