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.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001831/0.001831, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.433/0.433, allocations: 54.93 MB / 324.3 MB, free: 48 kB / 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.001328/0.001328, allocations: 63.91 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 59.59 MB / 454.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Average): time 0.2671/0.4074, allocations: 1.557 MB / 455.8 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003722/0.4079, allocations: 100.4 kB / 455.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.4079, allocations: 2.656 kB / 455.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.4081, allocations: 10.44 kB / 455.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.34e-05/0.4082, allocations: 3.531 kB / 456 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.4084, allocations: 25.5 kB / 456 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.565e-05/0.4085, allocations: 57.02 kB / 456 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4086, allocations: 25.97 kB / 456.1 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.4087, allocations: 22.05 kB / 456.1 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.4087, allocations: 30.38 kB / 456.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4088, allocations: 3.844 kB / 456.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.4088, allocations: 11.42 kB / 456.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.4089, allocations: 14.77 kB / 456.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.4089, allocations: 20.78 kB / 456.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.409, allocations: 55.41 kB / 456.2 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4091, allocations: 0 / 456.2 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4091, allocations: 2.5 kB / 456.2 MB, free: 39.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4091, allocations: 3.938 kB / 456.2 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.0005071/0.4096, allocations: 379.5 kB / 456.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4096, allocations: 10.97 kB / 456.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.4097, allocations: 4.062 kB / 456.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4098, allocations: 185.1 kB / 456.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.4098, allocations: 6.875 kB / 456.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4099, allocations: 1.75 kB / 456.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.4102, allocations: 92.89 kB / 456.9 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4102, allocations: 2.031 kB / 456.9 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4102, allocations: 4.375 kB / 456.9 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4102, allocations: 3.531 kB / 456.9 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.4105, allocations: 78.11 kB / 457 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.411, allocations: 331.6 kB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.4112, allocations: 64.36 kB / 457.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.4113, allocations: 36.89 kB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.4114, allocations: 3.656 kB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4114, allocations: 35.69 kB / 457.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4114, allocations: 0 / 457.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005345/0.412, allocations: 148.8 kB / 457.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.412, allocations: 51.41 kB / 457.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.4121, allocations: 120.1 kB / 457.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4121, allocations: 25.7 kB / 457.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.4121, allocations: 88.94 kB / 457.9 MB, free: 37.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.4122, allocations: 17.09 kB / 457.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.4122, allocations: 17.88 kB / 457.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.4123, allocations: 318.6 kB / 458.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4124, allocations: 36 kB / 458.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4126, allocations: 36.59 kB / 458.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.4128, allocations: 77.59 kB / 458.3 MB, free: 37.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4128, allocations: 0 / 458.3 MB, free: 37.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002964/0.4131, allocations: 103.6 kB / 458.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4132, allocations: 2.906 kB / 458.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4132, allocations: 3.438 kB / 458.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4132, allocations: 0.9375 kB / 458.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4133, allocations: 15.06 kB / 458.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.4133, allocations: 3.781 kB / 458.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.596e-05/0.4134, allocations: 10.23 kB / 458.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.4135, allocations: 7.156 kB / 458.5 MB, free: 37.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.4135, allocations: 117.5 kB / 458.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.4136, allocations: 6.812 kB / 458.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.4139, allocations: 114.6 kB / 458.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4139, allocations: 2.875 kB / 458.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.414, allocations: 1.406 kB / 458.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.414, allocations: 0 / 458.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.4141, allocations: 184.7 kB / 458.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4141, allocations: 0.75 kB / 458.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.4142, allocations: 15.91 kB / 458.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4142, allocations: 0 / 458.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4142, allocations: 6.031 kB / 458.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4142, allocations: 0.5625 kB / 458.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4143, allocations: 3.969 kB / 458.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.4146, allocations: 205.3 kB / 459.1 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.4146, allocations: 87.02 kB / 459.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.4146, allocations: 0.8438 kB / 459.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4147, allocations: 11.95 kB / 459.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.4148, allocations: 6.422 kB / 459.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4148, allocations: 3.406 kB / 459.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.4148, allocations: 100.5 kB / 459.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4149, allocations: 0 / 459.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.4151, allocations: 12.66 kB / 459.4 MB, free: 36.79 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 (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.0001207/0.4152, allocations: 98.75 kB / 459.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4155, allocations: 84.27 kB / 459.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4156, allocations: 1.031 kB / 459.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.4157, allocations: 38.19 kB / 459.6 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.4161, allocations: 2.625 kB / 459.6 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.4164, allocations: 172.6 kB / 459.7 MB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.4165, allocations: 0.6888 MB / 460.4 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.4166, allocations: 6.219 kB / 460.4 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.4166, allocations: 14.94 kB / 460.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4166, allocations: 2.906 kB / 460.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of Templates: time 0.002815/0.4194, allocations: 0.6283 MB / 461.1 MB, free: 35.82 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.makefile (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)