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.001231/0.001232, allocations: 99.47 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.001517/0.001517, allocations: 177.3 kB / 15.94 MB, free: 228 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.412/1.412, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3729/0.3729, allocations: 54.98 MB / 325.3 MB, free: 0.7188 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.0005215/0.0005216, allocations: 16 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 60.72 MB / 457.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.0006691/0.3052, allocations: 267.4 kB / 457.6 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001965/0.3054, allocations: 32.39 kB / 457.6 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-06/0.3054, allocations: 1.156 kB / 457.6 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.3054, allocations: 0 / 457.6 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.624e-06/0.3055, allocations: 0 / 457.6 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.3057, allocations: 18.92 kB / 457.6 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.3058, allocations: 1.219 kB / 457.6 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.467e-05/0.3059, allocations: 5.109 kB / 457.6 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.3059, allocations: 0.5625 kB / 457.6 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.3059, allocations: 2.719 kB / 457.6 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.306, allocations: 0.9062 kB / 457.6 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.3061, allocations: 17.41 kB / 457.7 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.3061, allocations: 1 kB / 457.7 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.3061, allocations: 28.45 kB / 457.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.66e-05/0.3062, allocations: 8.75 kB / 457.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.3062, allocations: 1.25 kB / 457.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3062, allocations: 0 / 457.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.3062, allocations: 2.844 kB / 457.7 MB, free: 38.48 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.0002055/0.3064, allocations: 311.8 kB / 458 MB, free: 38.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3065, allocations: 13.28 kB / 458 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.3065, allocations: 3.312 kB / 458 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.61e-05/0.3065, allocations: 163.7 kB / 458.2 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3066, allocations: 0 / 458.2 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3066, allocations: 3.938 kB / 458.2 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.3067, allocations: 28.73 kB / 458.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3067, allocations: 1.562 kB / 458.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3067, allocations: 0.7969 kB / 458.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3067, allocations: 1.875 kB / 458.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.3067, allocations: 3.844 kB / 458.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.831e-05/0.3069, allocations: 149 kB / 458.4 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.115e-05/0.3069, allocations: 26.97 kB / 458.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.3069, allocations: 3.938 kB / 458.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.307, allocations: 32.28 kB / 458.4 MB, free: 37.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.307, allocations: 2.625 kB / 458.4 MB, free: 37.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.3071, allocations: 31.53 kB / 458.5 MB, free: 37.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.3071, allocations: 52.53 kB / 458.5 MB, free: 37.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.083e-05/0.3072, allocations: 90.36 kB / 458.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.3072, allocations: 27.23 kB / 458.6 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.314e-05/0.3072, allocations: 80.14 kB / 458.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.3072, allocations: 2.406 kB / 458.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.3072, allocations: 10.69 kB / 458.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.3073, allocations: 316.4 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.3073, allocations: 1.312 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.3073, allocations: 8.562 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.562e-05/0.3074, allocations: 0 / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3074, allocations: 0 / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.985e-05/0.3074, allocations: 33.36 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3074, allocations: 7.094 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3075, allocations: 0 / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3075, allocations: 1.312 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.3075, allocations: 3.422 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3075, allocations: 0 / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.3076, allocations: 1.875 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3076, allocations: 3.344 kB / 459.1 MB, free: 37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.3076, allocations: 117.7 kB / 459.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.3077, allocations: 0 / 459.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.309e-05/0.3078, allocations: 52.23 kB / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3078, allocations: 0 / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3078, allocations: 0 / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3078, allocations: 0 / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.901e-05/0.3078, allocations: 151.6 kB / 459.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3078, allocations: 2.625 kB / 459.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.3079, allocations: 1.25 kB / 459.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3079, allocations: 3.5 kB / 459.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.3079, allocations: 0.7812 kB / 459.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3079, allocations: 0 / 459.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3079, allocations: 0.5625 kB / 459.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.478e-05/0.308, allocations: 70.08 kB / 459.5 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.308, allocations: 80.02 kB / 459.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.308, allocations: 0 / 459.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.308, allocations: 0.5 kB / 459.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.308, allocations: 1.938 kB / 459.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.308, allocations: 3.375 kB / 459.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.342e-05/0.3081, allocations: 79 kB / 459.6 MB, free: 36.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3081, allocations: 0 / 459.6 MB, free: 36.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.3083, allocations: 5.156 kB / 459.6 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): 1 * 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.0001167/0.3084, allocations: 103 kB / 459.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.244e-05/0.3085, allocations: 3.375 kB / 459.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3085, allocations: 1 kB / 459.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-06/0.3085, allocations: 2.594 kB / 459.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.859e-05/0.3086, allocations: 7.906 kB / 459.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001385/0.3087, allocations: 86.12 kB / 459.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.63e-05/0.3088, allocations: 0.6768 MB / 460.5 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.705e-05/0.3089, allocations: 4.875 kB / 460.5 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.3089, allocations: 8.938 kB / 460.5 MB, free: 35.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3089, allocations: 0 / 460.5 MB, free: 35.53 MB / 382.1 MB Notification: Performance of Templates: time 0.002/0.3109, allocations: 279.4 kB / 460.8 MB, free: 35.49 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: