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.0008739/0.0008741, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001062/0.001062, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8586/0.8586, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003048, allocations: 12 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 82.32 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001554/0.1486, allocations: 1.222 MB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.1489, allocations: 116.5 kB / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.1489, allocations: 4 kB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.939e-05/0.1491, allocations: 7.938 kB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.398e-05/0.1491, allocations: 11.97 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.1493, allocations: 23.97 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.1493, allocations: 35.89 kB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.1495, allocations: 23.97 kB / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.1495, allocations: 19.92 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.1496, allocations: 23.91 kB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1496, allocations: 4 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.481e-05/0.1496, allocations: 7.984 kB / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.1497, allocations: 11.98 kB / 0.5887 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.1497, allocations: 33.64 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.199e-05/0.1498, allocations: 39.88 kB / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1498, allocations: 0 / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1498, allocations: 0 / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1498, allocations: 0 / 0.5887 GB, free: 1.508 MB / 494.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.0004937/0.1503, allocations: 389.4 kB / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1504, allocations: 8.031 kB / 0.5891 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.1504, allocations: 7.906 kB / 0.5891 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1506, allocations: 183 kB / 0.5893 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1506, allocations: 7.938 kB / 0.5893 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1506, allocations: 4 kB / 0.5893 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1509, allocations: 97.64 kB / 0.5894 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.151, allocations: 0 / 0.5894 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.151, allocations: 0 / 0.5894 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.151, allocations: 3.984 kB / 0.5894 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.1513, allocations: 103.9 kB / 0.5895 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.1519, allocations: 340.6 kB / 0.5898 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1521, allocations: 70.53 kB / 0.5899 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.1521, allocations: 4.094 kB / 0.5899 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1522, allocations: 34.59 kB / 0.5899 GB, free: 124 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1522, allocations: 0 / 0.5899 GB, free: 124 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000578/0.1528, allocations: 173.5 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1528, allocations: 59.41 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1529, allocations: 113.8 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1529, allocations: 25.7 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.153, allocations: 104 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.153, allocations: 3.906 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.153, allocations: 4 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1532, allocations: 318.8 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1533, allocations: 43.95 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1535, allocations: 47.91 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1536, allocations: 43.95 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1536, allocations: 4 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003352/0.154, allocations: 125.5 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.154, allocations: 8 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.154, allocations: 0 / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.154, allocations: 336 / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1542, allocations: 27.88 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1542, allocations: 0 / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.1543, allocations: 23.98 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1543, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.1544, allocations: 113.8 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1544, allocations: 7.906 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.1548, allocations: 141.4 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1548, allocations: 3.984 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1548, allocations: 7.953 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1548, allocations: 0 / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.155, allocations: 173.6 kB / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.155, allocations: 4 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.254e-05/0.1551, allocations: 19.98 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1551, allocations: 0 / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1551, allocations: 0 / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1551, allocations: 0 / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1551, allocations: 0 / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.1555, allocations: 231.4 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.1556, allocations: 85.02 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1556, allocations: 4 kB / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1557, allocations: 15.98 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1557, allocations: 11.92 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1557, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.1558, allocations: 94.66 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 4 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002236/0.156, allocations: 19.89 kB / 0.5919 GB, free: 13.94 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.1561, allocations: 95.25 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1565, allocations: 103.9 kB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1565, allocations: 0 / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1567, allocations: 51.91 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1569, allocations: 7.984 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.1572, allocations: 156.9 kB / 0.5923 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1575, allocations: 0.6926 MB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.1575, allocations: 7.984 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.1576, allocations: 11.44 kB / 0.593 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1576, allocations: 0 / 0.593 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.002463/0.16, allocations: 0.6028 MB / 0.5936 GB, free: 12.16 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: