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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001143, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.782/0.782, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4063, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002329/0.4087, allocations: 1.529 MB / 0.5873 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002314/0.4089, allocations: 121 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.409, allocations: 1.344 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.774e-05/0.409, allocations: 9.234 kB / 0.5874 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.073e-05/0.4091, allocations: 8.906 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.4092, allocations: 24.94 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.4093, allocations: 58.77 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.4094, allocations: 27.2 kB / 0.5875 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.4095, allocations: 25.64 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.4095, allocations: 29.59 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.4095, allocations: 5.062 kB / 0.5876 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.4096, allocations: 12.77 kB / 0.5876 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.4096, allocations: 17.09 kB / 0.5876 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.4097, allocations: 28.75 kB / 0.5876 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.395e-05/0.4098, allocations: 52.62 kB / 0.5877 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4098, allocations: 4.781 kB / 0.5877 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.4098, allocations: 0 / 0.5877 GB, free: 24.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.4098, allocations: 1.531 kB / 0.5877 GB, free: 24.13 MB / 446.1 MB 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.0003784/0.4102, allocations: 380.5 kB / 0.588 GB, free: 23.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.4102, allocations: 12.05 kB / 0.588 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.4102, allocations: 7.5 kB / 0.588 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4104, allocations: 196.3 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.4104, allocations: 5.594 kB / 0.5882 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4104, allocations: 3.406 kB / 0.5882 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.4106, allocations: 91.73 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.4106, allocations: 1.094 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.4106, allocations: 3.938 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.4106, allocations: 1.688 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.4109, allocations: 88.69 kB / 0.5884 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.4113, allocations: 319.5 kB / 0.5887 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.4115, allocations: 64.5 kB / 0.5888 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.4116, allocations: 37.2 kB / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.4117, allocations: 6.484 kB / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.4117, allocations: 32.06 kB / 0.5889 GB, free: 22.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4117, allocations: 0 / 0.5889 GB, free: 22.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004645/0.4122, allocations: 137.1 kB / 0.589 GB, free: 22.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.4122, allocations: 52.28 kB / 0.589 GB, free: 22.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.4123, allocations: 117.3 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.4123, allocations: 25.7 kB / 0.5892 GB, free: 22.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.4123, allocations: 98.97 kB / 0.5893 GB, free: 22.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.4124, allocations: 10 kB / 0.5893 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.4124, allocations: 17.09 kB / 0.5893 GB, free: 22.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.4125, allocations: 322.3 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.4126, allocations: 31.62 kB / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4127, allocations: 39.02 kB / 0.5897 GB, free: 22.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.413, allocations: 76.73 kB / 0.5897 GB, free: 22.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.413, allocations: 0 / 0.5897 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002787/0.4132, allocations: 109.8 kB / 0.5898 GB, free: 22.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4133, allocations: 7.25 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.4133, allocations: 0 / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4133, allocations: 1.125 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4134, allocations: 22.2 kB / 0.5899 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.4134, allocations: 0.5938 kB / 0.5899 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.4135, allocations: 18.7 kB / 0.5899 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.4135, allocations: 5.234 kB / 0.5899 GB, free: 22.09 MB / 446.1 MB 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 5.411e-05/0.4136, allocations: 118.4 kB / 0.59 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.4136, allocations: 6.562 kB / 0.59 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4139, allocations: 114.2 kB / 0.5901 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4139, allocations: 0 / 0.5901 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4139, allocations: 4.516 kB / 0.5901 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.414, allocations: 3.938 kB / 0.5901 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.4141, allocations: 182.5 kB / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4141, allocations: 0 / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.4142, allocations: 17.05 kB / 0.5903 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4142, allocations: 0 / 0.5903 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4142, allocations: 6.5 kB / 0.5903 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4142, allocations: 0 / 0.5903 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4142, allocations: 0 / 0.5903 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4145, allocations: 201.3 kB / 0.5905 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.4145, allocations: 81.02 kB / 0.5906 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.4145, allocations: 0 / 0.5906 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.4146, allocations: 13.36 kB / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.4147, allocations: 11.98 kB / 0.5906 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4147, allocations: 0 / 0.5906 GB, free: 21.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.169e-05/0.4147, allocations: 96.5 kB / 0.5907 GB, free: 21.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4147, allocations: 0 / 0.5907 GB, free: 21.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.415, allocations: 8 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB 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.0001178/0.4151, allocations: 104.2 kB / 0.5908 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.4154, allocations: 85.28 kB / 0.5909 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4154, allocations: 3.938 kB / 0.5909 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.4155, allocations: 33.38 kB / 0.5909 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4158, allocations: 13.14 kB / 0.591 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.4161, allocations: 149.5 kB / 0.5911 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.4162, allocations: 0.6909 MB / 0.5918 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.4163, allocations: 8 kB / 0.5918 GB, free: 20.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.4163, allocations: 11.42 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4163, allocations: 0.5312 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of Templates: time 0.002494/0.4188, allocations: 0.7646 MB / 0.5925 GB, free: 19.29 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)