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.0009914/0.0009914, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009963/0.0009966, allocations: 195 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7567/0.7567, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.5 kB / 0.5018 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4359, allocations: 80.21 MB / 0.5801 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002888/0.4388, allocations: 1.528 MB / 0.5816 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003544/0.4392, allocations: 119.6 kB / 0.5817 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.4393, allocations: 0.9688 kB / 0.5817 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.4394, allocations: 14.97 kB / 0.5817 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.4394, allocations: 13.3 kB / 0.5817 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.4397, allocations: 25.55 kB / 0.5817 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.4398, allocations: 50.31 kB / 0.5818 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.44, allocations: 25.08 kB / 0.5818 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.4401, allocations: 21.14 kB / 0.5818 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.4402, allocations: 40.05 kB / 0.5819 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.4402, allocations: 4.781 kB / 0.5819 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.4403, allocations: 9.234 kB / 0.5819 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.4403, allocations: 18.41 kB / 0.5819 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.4404, allocations: 27.47 kB / 0.5819 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.4405, allocations: 61.33 kB / 0.582 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4406, allocations: 0 / 0.582 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4406, allocations: 0 / 0.582 GB, free: 3.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4406, allocations: 1.25 kB / 0.582 GB, free: 3.289 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.0005212/0.4411, allocations: 385.4 kB / 0.5824 GB, free: 2.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4412, allocations: 9.703 kB / 0.5824 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.4412, allocations: 9.188 kB / 0.5824 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4413, allocations: 184.3 kB / 0.5826 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4414, allocations: 2.062 kB / 0.5826 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.4414, allocations: 3.594 kB / 0.5826 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.4417, allocations: 84.84 kB / 0.5826 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4417, allocations: 5.594 kB / 0.5826 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4417, allocations: 3.938 kB / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4417, allocations: 4.5 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.4421, allocations: 80.47 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.4426, allocations: 324.5 kB / 0.583 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.4429, allocations: 62.7 kB / 0.5831 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.443, allocations: 39.05 kB / 0.5831 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.4431, allocations: 6.938 kB / 0.5831 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.4431, allocations: 39.62 kB / 0.5832 GB, free: 2.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4431, allocations: 3.938 kB / 0.5832 GB, free: 2.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005608/0.4437, allocations: 134.2 kB / 0.5833 GB, free: 2.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.4437, allocations: 56.98 kB / 0.5834 GB, free: 2.121 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.4438, allocations: 115.8 kB / 0.5835 GB, free: 2.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.4438, allocations: 26.45 kB / 0.5835 GB, free: 1.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.4438, allocations: 94.03 kB / 0.5836 GB, free: 1.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.4439, allocations: 13.22 kB / 0.5836 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.4439, allocations: 13.72 kB / 0.5836 GB, free: 1.867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.444, allocations: 322 kB / 0.5839 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4441, allocations: 37.45 kB / 0.584 GB, free: 1.539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4443, allocations: 33 kB / 0.584 GB, free: 1.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4446, allocations: 71.81 kB / 0.5841 GB, free: 1.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4446, allocations: 0 / 0.5841 GB, free: 1.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003345/0.4449, allocations: 113.8 kB / 0.5842 GB, free: 1.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4449, allocations: 5.734 kB / 0.5842 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.445, allocations: 1.219 kB / 0.5842 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.445, allocations: 0.6562 kB / 0.5842 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4451, allocations: 19.78 kB / 0.5842 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4451, allocations: 0 / 0.5842 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.4452, allocations: 15.77 kB / 0.5842 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4452, allocations: 5.875 kB / 0.5842 GB, free: 1.453 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 5.915e-05/0.4453, allocations: 120.1 kB / 0.5843 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.4453, allocations: 6.344 kB / 0.5843 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.4457, allocations: 113.4 kB / 0.5844 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4457, allocations: 5.609 kB / 0.5845 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4457, allocations: 0 / 0.5845 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4458, allocations: 1.531 kB / 0.5845 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.4459, allocations: 177.2 kB / 0.5846 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4459, allocations: 0.6562 kB / 0.5846 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.446, allocations: 15.8 kB / 0.5846 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.446, allocations: 0.75 kB / 0.5846 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.446, allocations: 2 kB / 0.5846 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.446, allocations: 3.938 kB / 0.5846 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4461, allocations: 0 / 0.5846 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.4464, allocations: 202.7 kB / 0.5848 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.4465, allocations: 83.19 kB / 0.5849 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4465, allocations: 1.484 kB / 0.5849 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4466, allocations: 19.52 kB / 0.5849 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.4467, allocations: 4.25 kB / 0.5849 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4467, allocations: 1.188 kB / 0.5849 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.4467, allocations: 100.2 kB / 0.585 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4467, allocations: 3.938 kB / 0.585 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.447, allocations: 8.641 kB / 0.5851 GB, free: 0.7266 MB / 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.0001481/0.4471, allocations: 104.9 kB / 0.5852 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.4475, allocations: 81.36 kB / 0.5852 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4475, allocations: 1.344 kB / 0.5852 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4477, allocations: 36.89 kB / 0.5853 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.448, allocations: 7.906 kB / 0.5853 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.4484, allocations: 162.9 kB / 0.5854 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.4486, allocations: 0.6888 MB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.4486, allocations: 6.984 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.4487, allocations: 9.656 kB / 0.5861 GB, free: 15.76 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4487, allocations: 1.125 kB / 0.5861 GB, free: 15.76 MB / 446.1 MB Notification: Performance of Templates: time 0.003375/0.4521, allocations: 0.7619 MB / 0.5869 GB, free: 15.68 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)