Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average") translateModel(Annex60.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001055/0.001055, allocations: 99.39 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.0009862/0.0009862, 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 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4/0.4, allocations: 54.98 MB / 325.3 MB, free: 0.7852 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005963/0.0005965, allocations: 12 kB / 396.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3083, allocations: 60.72 MB / 457.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Average): time 0.001373/0.3097, allocations: 1.202 MB / 458.5 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.31, allocations: 101 kB / 458.6 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.31, allocations: 0 / 458.6 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3102, allocations: 5.656 kB / 458.6 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.35e-05/0.3102, allocations: 12.8 kB / 458.6 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.3104, allocations: 23.47 kB / 458.6 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.3104, allocations: 36.38 kB / 458.7 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.3105, allocations: 22.81 kB / 458.7 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.3106, allocations: 17.23 kB / 458.7 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.3107, allocations: 27.02 kB / 458.7 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.3107, allocations: 2.969 kB / 458.7 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.3107, allocations: 5.312 kB / 458.8 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.3108, allocations: 13.75 kB / 458.8 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.3108, allocations: 28.77 kB / 458.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.902e-05/0.3109, allocations: 45.67 kB / 458.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.3109, allocations: 3.688 kB / 458.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3109, allocations: 0 / 458.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.3109, allocations: 1.875 kB / 458.8 MB, free: 39.08 MB / 382.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.0004084/0.3113, allocations: 376.2 kB / 459.2 MB, free: 38.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3114, allocations: 11.16 kB / 459.2 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.3114, allocations: 6.906 kB / 459.2 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3115, allocations: 189.2 kB / 459.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.3116, allocations: 2.469 kB / 459.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.3116, allocations: 3 kB / 459.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3118, allocations: 93.44 kB / 459.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3119, allocations: 4.203 kB / 459.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3119, allocations: 0 / 459.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3119, allocations: 2.969 kB / 459.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3122, allocations: 106.7 kB / 459.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.3126, allocations: 337.5 kB / 460 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3128, allocations: 79.78 kB / 460 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.3129, allocations: 0.9375 kB / 460 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.3129, allocations: 35.31 kB / 460.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3129, allocations: 0 / 460.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005264/0.3134, allocations: 173.3 kB / 460.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.3135, allocations: 54.03 kB / 460.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.3135, allocations: 114.3 kB / 460.4 MB, free: 37.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.3135, allocations: 29.64 kB / 460.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.3136, allocations: 102.3 kB / 460.5 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3136, allocations: 11.53 kB / 460.5 MB, free: 37.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.3136, allocations: 0 / 460.5 MB, free: 37.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.3137, allocations: 321 kB / 460.9 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3138, allocations: 47.52 kB / 460.9 MB, free: 37.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.314, allocations: 41.38 kB / 460.9 MB, free: 37.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3141, allocations: 47.75 kB / 461 MB, free: 37.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3141, allocations: 0 / 461 MB, free: 37.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003084/0.3144, allocations: 133.4 kB / 461.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3144, allocations: 3.938 kB / 461.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3145, allocations: 0 / 461.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3145, allocations: 3.938 kB / 461.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3146, allocations: 24.08 kB / 461.1 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3146, allocations: 3.375 kB / 461.1 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.3147, allocations: 19.05 kB / 461.2 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3147, allocations: 3.938 kB / 461.2 MB, free: 37.46 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.3148, allocations: 119.2 kB / 461.3 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3148, allocations: 9.031 kB / 461.3 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3152, allocations: 132.2 kB / 461.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3152, allocations: 0 / 461.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3152, allocations: 3.125 kB / 461.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3152, allocations: 0.6094 kB / 461.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.3153, allocations: 179.4 kB / 461.6 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3153, allocations: 0 / 461.6 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.3154, allocations: 27.64 kB / 461.6 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3155, allocations: 3.953 kB / 461.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3155, allocations: 0 / 461.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3155, allocations: 1.969 kB / 461.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3155, allocations: 3.938 kB / 461.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.3158, allocations: 229.5 kB / 461.9 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.3158, allocations: 77.11 kB / 461.9 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3159, allocations: 3.953 kB / 461.9 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.316, allocations: 23.17 kB / 462 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.316, allocations: 2.938 kB / 462 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3161, allocations: 3.375 kB / 462 MB, free: 36.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.3161, allocations: 95.27 kB / 462.1 MB, free: 36.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3161, allocations: 0 / 462.1 MB, free: 36.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.3163, allocations: 13.34 kB / 462.1 MB, free: 36.78 MB / 382.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 (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.0001153/0.3165, allocations: 98.66 kB / 462.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.3168, allocations: 109 kB / 462.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3169, allocations: 0 / 462.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.317, allocations: 46.92 kB / 462.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3173, allocations: 8.172 kB / 462.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.3176, allocations: 172.7 kB / 462.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3177, allocations: 0.6911 MB / 463.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.125e-05/0.3178, allocations: 6.641 kB / 463.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.3178, allocations: 12.78 kB / 463.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3178, allocations: 4 kB / 463.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of Templates: time 0.002628/0.3205, allocations: 0.6082 MB / 463.8 MB, free: 35.8 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe 2>&1) Environment - environmentSimulation: