Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001066, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001206/0.001206, allocations: 193.5 kB / 16.25 MB, free: 6.617 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.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4086/0.4086, allocations: 54.93 MB / 324.4 MB, free: 124 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.00138/0.00138, allocations: 64.47 kB / 394.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1526, allocations: 59.59 MB / 454.5 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.2462/0.3989, allocations: 0.6009 MB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.3992, allocations: 37.02 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.3993, allocations: 0 / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.3994, allocations: 0 / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.3994, allocations: 2.062 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.3996, allocations: 8.719 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.3997, allocations: 11.92 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.3998, allocations: 1.938 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.3998, allocations: 5.266 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.3999, allocations: 2.766 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3999, allocations: 0 / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.4, allocations: 25.98 kB / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.4, allocations: 0 / 455.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.4001, allocations: 9.453 kB / 455.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.4002, allocations: 20.66 kB / 455.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4002, allocations: 6.453 kB / 455.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4002, allocations: 0 / 455.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.4002, allocations: 1.406 kB / 455.2 MB, free: 39.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002926/0.4005, allocations: 350.1 kB / 455.5 MB, free: 38.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4006, allocations: 10.41 kB / 455.5 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.4006, allocations: 4.312 kB / 455.5 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.738e-05/0.4007, allocations: 165.6 kB / 455.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4007, allocations: 3.531 kB / 455.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.4007, allocations: 0.9375 kB / 455.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4008, allocations: 58.92 kB / 455.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.4009, allocations: 1.5 kB / 455.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4009, allocations: 0 / 455.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.4009, allocations: 11.08 kB / 455.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.401, allocations: 24.67 kB / 455.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.4013, allocations: 276.5 kB / 456.1 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.167e-05/0.4013, allocations: 16.92 kB / 456.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.4014, allocations: 14.19 kB / 456.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.4014, allocations: 0 / 456.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.4014, allocations: 32.73 kB / 456.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.4014, allocations: 0 / 456.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.4015, allocations: 68.95 kB / 456.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.4016, allocations: 84.05 kB / 456.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.126e-05/0.4016, allocations: 117.1 kB / 456.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.4017, allocations: 26.55 kB / 456.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.4017, allocations: 107.5 kB / 456.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-06/0.4017, allocations: 5.719 kB / 456.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.4018, allocations: 28.12 kB / 456.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.4018, allocations: 310.8 kB / 456.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.4018, allocations: 16.48 kB / 456.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.4019, allocations: 59.08 kB / 456.9 MB, free: 37.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.402, allocations: 131.4 kB / 457.1 MB, free: 37.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.402, allocations: 0 / 457.1 MB, free: 37.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.4021, allocations: 120.4 kB / 457.2 MB, free: 37.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.4021, allocations: 36.27 kB / 457.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4022, allocations: 2.875 kB / 457.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4022, allocations: 5.094 kB / 457.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.4022, allocations: 11.25 kB / 457.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4023, allocations: 4.734 kB / 457.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.4023, allocations: 9.906 kB / 457.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.4023, allocations: 11 kB / 457.3 MB, free: 37.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.912e-05/0.4024, allocations: 148 kB / 457.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.4024, allocations: 4.969 kB / 457.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.4025, allocations: 7.375 kB / 457.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.4025, allocations: 0.5 kB / 457.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4025, allocations: 0.5312 kB / 457.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4025, allocations: 5.906 kB / 457.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.4026, allocations: 156.3 kB / 457.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4026, allocations: 0 / 457.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.4026, allocations: 3.75 kB / 457.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4026, allocations: 2 kB / 457.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4026, allocations: 3.469 kB / 457.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4026, allocations: 5.375 kB / 457.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4027, allocations: 2.188 kB / 457.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.4027, allocations: 168.4 kB / 457.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.4028, allocations: 77.11 kB / 457.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.4028, allocations: 1.219 kB / 457.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.4028, allocations: 5.922 kB / 457.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.4029, allocations: 3.938 kB / 457.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4029, allocations: 5.875 kB / 457.9 MB, free: 36.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.641e-05/0.4029, allocations: 89.02 kB / 457.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4029, allocations: 1.312 kB / 457.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.4032, allocations: 9.719 kB / 458 MB, free: 36.41 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001153/0.4033, allocations: 108.6 kB / 458.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.4034, allocations: 86.12 kB / 458.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4034, allocations: 0 / 458.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.4034, allocations: 59.03 kB / 458.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.4036, allocations: 4.656 kB / 458.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.4038, allocations: 115.5 kB / 458.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.404, allocations: 0.6812 MB / 459 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.404, allocations: 12.84 kB / 459 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.404, allocations: 7.438 kB / 459 MB, free: 35.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4041, allocations: 3.062 kB / 459 MB, free: 35.39 MB / 382.1 MB Notification: Performance of Templates: time 0.002633/0.4067, allocations: 0.5176 MB / 459.5 MB, free: 35.36 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)