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.0009729/0.000973, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001228/0.001228, allocations: 168.7 kB / 15.95 MB, free: 204 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.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4564/0.4564, allocations: 55.01 MB / 325.4 MB, free: 0.8164 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.0005631/0.0005634, allocations: 20 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4877, allocations: 60.72 MB / 457.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Average): time 0.001945/0.4897, allocations: 1.207 MB / 458.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.4901, allocations: 95.48 kB / 458.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.4901, allocations: 4.5 kB / 458.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.4903, allocations: 10.56 kB / 458.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.737e-05/0.4903, allocations: 3.938 kB / 458.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.4906, allocations: 18.55 kB / 458.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.4907, allocations: 51.39 kB / 458.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.4908, allocations: 22.84 kB / 458.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.4909, allocations: 21.95 kB / 458.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.491, allocations: 24.92 kB / 458.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.491, allocations: 2.562 kB / 458.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.4911, allocations: 10.45 kB / 458.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.4911, allocations: 13.91 kB / 458.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.4912, allocations: 28.2 kB / 458.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.4913, allocations: 48.27 kB / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4913, allocations: 0.75 kB / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4913, allocations: 0 / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.4913, allocations: 1.219 kB / 458.9 MB, free: 38.36 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.0005417/0.4919, allocations: 382.5 kB / 459.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4919, allocations: 13.25 kB / 459.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.492, allocations: 6.688 kB / 459.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.4922, allocations: 178.3 kB / 459.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4922, allocations: 6.906 kB / 459.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4922, allocations: 7.641 kB / 459.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.4925, allocations: 101.3 kB / 459.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4925, allocations: 0 / 459.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4926, allocations: 0 / 459.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4926, allocations: 0.625 kB / 459.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.4929, allocations: 103.6 kB / 459.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.4934, allocations: 343.6 kB / 460 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.4936, allocations: 74.8 kB / 460.1 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4937, allocations: 53.83 kB / 460.2 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.4938, allocations: 0 / 460.2 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.4938, allocations: 34.69 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4938, allocations: 0 / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005204/0.4944, allocations: 175 kB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.4944, allocations: 55.34 kB / 460.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.4945, allocations: 115.5 kB / 460.5 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.4945, allocations: 28.36 kB / 460.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.4946, allocations: 94.17 kB / 460.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.4946, allocations: 11.17 kB / 460.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.4946, allocations: 2.781 kB / 460.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.4947, allocations: 318.3 kB / 461 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4948, allocations: 46.42 kB / 461 MB, free: 36.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.4949, allocations: 44.53 kB / 461.1 MB, free: 36.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.4951, allocations: 47.41 kB / 461.1 MB, free: 36.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4951, allocations: 0 / 461.1 MB, free: 36.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002715/0.4954, allocations: 134 kB / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4954, allocations: 6.156 kB / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4954, allocations: 0 / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4954, allocations: 0 / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4956, allocations: 27.97 kB / 461.3 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4956, allocations: 1.406 kB / 461.3 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.4956, allocations: 20.58 kB / 461.3 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.4957, allocations: 5.391 kB / 461.3 MB, free: 36.74 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 7.489e-05/0.4958, allocations: 122.1 kB / 461.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.4958, allocations: 6.672 kB / 461.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.4961, allocations: 134.3 kB / 461.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4962, allocations: 5.812 kB / 461.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4962, allocations: 0 / 461.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4962, allocations: 0 / 461.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4964, allocations: 180.4 kB / 461.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4964, allocations: 0 / 461.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/0.4965, allocations: 20.19 kB / 461.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4965, allocations: 8.844 kB / 461.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4965, allocations: 0 / 461.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4965, allocations: 0 / 461.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4965, allocations: 3.094 kB / 461.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.4968, allocations: 221.8 kB / 462 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.4969, allocations: 79.61 kB / 462.1 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4969, allocations: 3.953 kB / 462.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.497, allocations: 22.39 kB / 462.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.4971, allocations: 3.531 kB / 462.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4971, allocations: 0 / 462.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.4971, allocations: 100.1 kB / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4971, allocations: 3.844 kB / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.4974, allocations: 11.78 kB / 462.2 MB, free: 36.06 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.0001488/0.4975, allocations: 98.41 kB / 462.3 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4979, allocations: 96.92 kB / 462.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4979, allocations: 0 / 462.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.498, allocations: 56.75 kB / 462.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.4984, allocations: 3 kB / 462.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.4988, allocations: 171.2 kB / 462.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.499, allocations: 0.6879 MB / 463.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.4991, allocations: 8.047 kB / 463.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.4991, allocations: 10.31 kB / 463.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4991, allocations: 5.031 kB / 463.3 MB, free: 35.12 MB / 382.1 MB Notification: Performance of Templates: time 0.003657/0.5028, allocations: 0.6062 MB / 464 MB, free: 35.1 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: