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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001189/0.001189, allocations: 188.4 kB / 16.25 MB, free: 6.629 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7454/0.7454, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.39 kB / 0.5013 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4639, allocations: 80.21 MB / 0.5796 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002716/0.4666, allocations: 1.577 MB / 0.5811 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.467, allocations: 120.4 kB / 0.5813 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.467, allocations: 4 kB / 0.5813 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.4672, allocations: 11.08 kB / 0.5813 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.681e-05/0.4672, allocations: 7.156 kB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.4674, allocations: 21.98 kB / 0.5813 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.501e-05/0.4675, allocations: 50.95 kB / 0.5814 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4677, allocations: 27.25 kB / 0.5814 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.4677, allocations: 26.45 kB / 0.5814 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.4678, allocations: 36.22 kB / 0.5814 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.4678, allocations: 4.094 kB / 0.5814 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.829e-05/0.4679, allocations: 13.14 kB / 0.5815 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.4679, allocations: 12.42 kB / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.468, allocations: 27.73 kB / 0.5815 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.4681, allocations: 60.06 kB / 0.5816 GB, free: 3.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4681, allocations: 1.219 kB / 0.5816 GB, free: 3.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4681, allocations: 4 kB / 0.5816 GB, free: 3.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4681, allocations: 0.6562 kB / 0.5816 GB, free: 3.219 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.0004856/0.4686, allocations: 378 kB / 0.5819 GB, free: 2.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4687, allocations: 9.438 kB / 0.5819 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.4687, allocations: 8.125 kB / 0.5819 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.4689, allocations: 184.5 kB / 0.5821 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4689, allocations: 6.188 kB / 0.5821 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.4689, allocations: 3.625 kB / 0.5821 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.4692, allocations: 89.52 kB / 0.5822 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4692, allocations: 192 / 0.5822 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4693, allocations: 5.656 kB / 0.5822 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4693, allocations: 5.078 kB / 0.5822 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.4696, allocations: 79.31 kB / 0.5823 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.4701, allocations: 328.8 kB / 0.5826 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4703, allocations: 58.45 kB / 0.5827 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.4705, allocations: 50.86 kB / 0.5827 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.4705, allocations: 6.781 kB / 0.5827 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4705, allocations: 31.89 kB / 0.5827 GB, free: 2.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4705, allocations: 4.656 kB / 0.5827 GB, free: 2.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005345/0.4711, allocations: 134.2 kB / 0.5829 GB, free: 2.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4711, allocations: 53.06 kB / 0.5829 GB, free: 2.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.4712, allocations: 116.4 kB / 0.583 GB, free: 1.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.4712, allocations: 25.7 kB / 0.5831 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.4713, allocations: 93.11 kB / 0.5832 GB, free: 1.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.4713, allocations: 14.33 kB / 0.5832 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.4713, allocations: 14.25 kB / 0.5832 GB, free: 1.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.4714, allocations: 326.1 kB / 0.5835 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4715, allocations: 36.66 kB / 0.5835 GB, free: 1.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.4717, allocations: 37.02 kB / 0.5836 GB, free: 1.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.4719, allocations: 78.73 kB / 0.5836 GB, free: 1.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.472, allocations: 0.9062 kB / 0.5836 GB, free: 1.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003087/0.4723, allocations: 106.4 kB / 0.5837 GB, free: 1.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4723, allocations: 5.5 kB / 0.5837 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4723, allocations: 0.75 kB / 0.5837 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4723, allocations: 0 / 0.5837 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4725, allocations: 19.94 kB / 0.5838 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4725, allocations: 0.5156 kB / 0.5838 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.4725, allocations: 11.81 kB / 0.5838 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.4726, allocations: 2 kB / 0.5838 GB, free: 1.387 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.937e-05/0.4726, allocations: 122.8 kB / 0.5839 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4727, allocations: 6.312 kB / 0.5839 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.473, allocations: 114.4 kB / 0.584 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.473, allocations: 0.9375 kB / 0.584 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4731, allocations: 0.9062 kB / 0.584 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4731, allocations: 0.7969 kB / 0.584 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.4732, allocations: 181.4 kB / 0.5842 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4732, allocations: 0.7969 kB / 0.5842 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.4733, allocations: 15.86 kB / 0.5842 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4733, allocations: 4.812 kB / 0.5842 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4734, allocations: 5.406 kB / 0.5842 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4734, allocations: 4.5 kB / 0.5842 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4734, allocations: 0 / 0.5842 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.4737, allocations: 207.5 kB / 0.5844 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.4738, allocations: 87.2 kB / 0.5845 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.4738, allocations: 0.6094 kB / 0.5845 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4739, allocations: 11.91 kB / 0.5845 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.4739, allocations: 4.547 kB / 0.5845 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.474, allocations: 0.9375 kB / 0.5845 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.474, allocations: 93.88 kB / 0.5846 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.474, allocations: 0 / 0.5846 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.4742, allocations: 9.969 kB / 0.5846 GB, free: 0.6562 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.0001289/0.4744, allocations: 108 kB / 0.5847 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.4747, allocations: 78.64 kB / 0.5848 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4747, allocations: 0 / 0.5848 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.4749, allocations: 37.17 kB / 0.5848 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.4752, allocations: 16.78 kB / 0.5848 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.4756, allocations: 172.4 kB / 0.585 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.4758, allocations: 0.6925 MB / 0.5857 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.4759, allocations: 12.19 kB / 0.5857 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.4759, allocations: 8.781 kB / 0.5857 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4759, allocations: 0.875 kB / 0.5857 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Templates: time 0.003156/0.4791, allocations: 0.6545 MB / 0.5863 GB, free: 15.59 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)