Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008323/0.0008323, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005883/0.005883, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.4 MB / 423.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004194, allocations: 8.5 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4417, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002004/0.4438, allocations: 1.248 MB / 0.5849 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003731/0.4441, allocations: 119.1 kB / 0.585 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.4442, allocations: 0 / 0.585 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.4443, allocations: 7.094 kB / 0.585 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.4444, allocations: 11.2 kB / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.4446, allocations: 21.95 kB / 0.585 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.4447, allocations: 50.64 kB / 0.5851 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4449, allocations: 31.12 kB / 0.5851 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.4449, allocations: 20.16 kB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.445, allocations: 25.58 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.445, allocations: 1.656 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.4451, allocations: 11.22 kB / 0.5852 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.4452, allocations: 15.67 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.4452, allocations: 48.31 kB / 0.5852 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.4454, allocations: 51.25 kB / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4454, allocations: 3.938 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4454, allocations: 0 / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.4454, allocations: 0.8125 kB / 0.5853 GB, free: 2.895 MB / 430.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.0005187/0.4459, allocations: 382.9 kB / 0.5857 GB, free: 2.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.446, allocations: 8.594 kB / 0.5857 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.446, allocations: 9.047 kB / 0.5857 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.4462, allocations: 192.3 kB / 0.5859 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4462, allocations: 1.562 kB / 0.5859 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.4462, allocations: 4.703 kB / 0.5859 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.4466, allocations: 102.8 kB / 0.586 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4466, allocations: 1.031 kB / 0.586 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4466, allocations: 4.969 kB / 0.586 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4467, allocations: 0.9688 kB / 0.586 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.4471, allocations: 103 kB / 0.5861 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.4477, allocations: 334.7 kB / 0.5864 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.448, allocations: 71.61 kB / 0.5865 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.4482, allocations: 48.55 kB / 0.5865 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.4482, allocations: 6.672 kB / 0.5865 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4483, allocations: 48.58 kB / 0.5866 GB, free: 1.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.4483, allocations: 0 / 0.5866 GB, free: 1.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006639/0.449, allocations: 175.5 kB / 0.5867 GB, free: 1.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.449, allocations: 52.77 kB / 0.5868 GB, free: 1.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.4491, allocations: 119.7 kB / 0.5869 GB, free: 1.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4491, allocations: 27.3 kB / 0.5869 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.4492, allocations: 92.72 kB / 0.587 GB, free: 1.484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4492, allocations: 13.38 kB / 0.587 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.4492, allocations: 12.31 kB / 0.587 GB, free: 1.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.4493, allocations: 317.3 kB / 0.5873 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.4495, allocations: 50.72 kB / 0.5874 GB, free: 1.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.4496, allocations: 43.38 kB / 0.5874 GB, free: 1.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.45, allocations: 98.17 kB / 0.5875 GB, free: 1.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.45, allocations: 1 kB / 0.5875 GB, free: 1.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003995/0.4504, allocations: 126.5 kB / 0.5876 GB, free: 1.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4504, allocations: 8.781 kB / 0.5876 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4504, allocations: 0 / 0.5876 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4505, allocations: 1.703 kB / 0.5876 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4506, allocations: 19.88 kB / 0.5877 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4506, allocations: 0.5625 kB / 0.5877 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.4508, allocations: 25.55 kB / 0.5877 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.4508, allocations: 0.9062 kB / 0.5877 GB, free: 1.043 MB / 430.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 7.438e-05/0.4509, allocations: 115.8 kB / 0.5878 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.4509, allocations: 6.016 kB / 0.5878 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.4513, allocations: 142.8 kB / 0.5879 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4514, allocations: 0 / 0.5879 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4514, allocations: 1.375 kB / 0.5879 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4514, allocations: 0.75 kB / 0.5879 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.4515, allocations: 177.2 kB / 0.5881 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.4515, allocations: 4 kB / 0.5881 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4516, allocations: 21.89 kB / 0.5881 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4517, allocations: 0.6875 kB / 0.5881 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4517, allocations: 0.75 kB / 0.5881 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4517, allocations: 0 / 0.5881 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4517, allocations: 5.641 kB / 0.5881 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.4521, allocations: 230.5 kB / 0.5884 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.4521, allocations: 86.3 kB / 0.5884 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.4522, allocations: 1.406 kB / 0.5884 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4523, allocations: 19.92 kB / 0.5885 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4523, allocations: 4.156 kB / 0.5885 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.4524, allocations: 1.984 kB / 0.5885 GB, free: 400 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.4524, allocations: 90.77 kB / 0.5886 GB, free: 320 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4524, allocations: 0 / 0.5886 GB, free: 320 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.4526, allocations: 13.92 kB / 0.5886 GB, free: 316 kB / 430.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.0001316/0.4528, allocations: 103 kB / 0.5887 GB, free: 216 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.4532, allocations: 101.8 kB / 0.5888 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4532, allocations: 0 / 0.5888 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.4534, allocations: 54.88 kB / 0.5888 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.4537, allocations: 4.578 kB / 0.5888 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.4541, allocations: 167.1 kB / 0.589 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.4544, allocations: 0.6963 MB / 0.5897 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.4545, allocations: 11.14 kB / 0.5897 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.4545, allocations: 9.062 kB / 0.5897 GB, free: 15.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4545, allocations: 0 / 0.5897 GB, free: 15.33 MB / 446.1 MB Notification: Performance of Templates: time 0.003292/0.4578, allocations: 0.6148 MB / 0.5903 GB, free: 15.27 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)