Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") translateModel(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.525/1.525, allocations: 205.1 MB / 222.4 MB, free: 4.551 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.95 MB / 324.7 MB, free: 4 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.001739/0.001739, allocations: 71.91 kB / 395.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.134, allocations: 59.59 MB / 455 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.2209/0.355, allocations: 0.5235 MB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.3553, allocations: 32.69 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.3553, allocations: 0 / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.3553, allocations: 3.375 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.3553, allocations: 0 / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3556, allocations: 15.3 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.238e-05/0.3557, allocations: 0.625 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.3557, allocations: 6.406 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.3558, allocations: 0.5469 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.3558, allocations: 1.328 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.3558, allocations: 0 / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.3559, allocations: 18.5 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.3559, allocations: 6.547 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.356, allocations: 1.875 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.551e-05/0.356, allocations: 21.73 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3561, allocations: 0 / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3561, allocations: 0 / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3561, allocations: 0 / 455.6 MB, free: 39.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002309/0.3563, allocations: 314.6 kB / 455.9 MB, free: 38.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3564, allocations: 9.625 kB / 455.9 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.3564, allocations: 1.625 kB / 455.9 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.411e-05/0.3564, allocations: 163.6 kB / 456.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3565, allocations: 2.188 kB / 456.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3565, allocations: 4.219 kB / 456.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.437e-05/0.3566, allocations: 37 kB / 456.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3566, allocations: 0 / 456.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3566, allocations: 0 / 456.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3566, allocations: 0 / 456.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.3566, allocations: 5.281 kB / 456.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.925e-05/0.3567, allocations: 147.3 kB / 456.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.548e-05/0.3568, allocations: 21.75 kB / 456.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.3568, allocations: 11.7 kB / 456.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3568, allocations: 0.75 kB / 456.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3569, allocations: 37.69 kB / 456.4 MB, free: 38.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3569, allocations: 2.625 kB / 456.4 MB, free: 38.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.357, allocations: 34.23 kB / 456.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.357, allocations: 52.88 kB / 456.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.854e-05/0.3571, allocations: 94.56 kB / 456.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.3571, allocations: 26.27 kB / 456.6 MB, free: 38.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.369e-05/0.3571, allocations: 80.77 kB / 456.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3571, allocations: 0.625 kB / 456.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.3572, allocations: 14.81 kB / 456.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.3572, allocations: 316.7 kB / 457 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.3572, allocations: 2.406 kB / 457 MB, free: 37.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-06/0.3572, allocations: 0.625 kB / 457 MB, free: 37.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/0.3573, allocations: 10.98 kB / 457 MB, free: 37.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3573, allocations: 0 / 457 MB, free: 37.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.65e-05/0.3573, allocations: 37.89 kB / 457 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3573, allocations: 11.22 kB / 457 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3574, allocations: 0 / 457 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3574, allocations: 3.406 kB / 457 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.3574, allocations: 4.656 kB / 457 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3574, allocations: 2.594 kB / 457.1 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.395e-05/0.3575, allocations: 3.328 kB / 457.1 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3575, allocations: 3.938 kB / 457.1 MB, free: 37.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 (1): * Single equations (assignments): 1 * 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 4.263e-05/0.3575, allocations: 113.2 kB / 457.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-06/0.3575, allocations: 3.938 kB / 457.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.975e-05/0.3576, allocations: 45.55 kB / 457.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3577, allocations: 2.219 kB / 457.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3577, allocations: 0 / 457.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3577, allocations: 0.6875 kB / 457.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.747e-05/0.3577, allocations: 143.9 kB / 457.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3577, allocations: 4.688 kB / 457.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.3578, allocations: 3.609 kB / 457.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3578, allocations: 6.062 kB / 457.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.3578, allocations: 0.5 kB / 457.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3578, allocations: 2.188 kB / 457.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3578, allocations: 0 / 457.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.013e-05/0.3578, allocations: 60.17 kB / 457.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.3579, allocations: 88.45 kB / 457.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.3579, allocations: 0 / 457.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.3579, allocations: 4.281 kB / 457.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.3579, allocations: 0 / 457.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3579, allocations: 0.875 kB / 457.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.212e-05/0.3579, allocations: 75.28 kB / 457.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.11e-07/0.3579, allocations: 0.8125 kB / 457.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.3582, allocations: 11.38 kB / 457.6 MB, free: 37.16 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): 1 * 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.0001216/0.3583, allocations: 102.3 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.574e-05/0.3584, allocations: 7.062 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3584, allocations: 1.641 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.3584, allocations: 3.469 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3585, allocations: 2.938 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001484/0.3587, allocations: 84.48 kB / 457.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.3588, allocations: 0.673 MB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.404e-05/0.3588, allocations: 4.406 kB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.3589, allocations: 9.938 kB / 458.5 MB, free: 36.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3589, allocations: 0 / 458.5 MB, free: 36.29 MB / 382.1 MB Notification: Performance of Templates: time 0.002008/0.3609, allocations: 289.3 kB / 458.8 MB, free: 36.27 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)