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.001185/0.001185, 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.002028/0.002028, allocations: 193.2 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.521/1.521, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3768/0.3768, allocations: 54.93 MB / 324.4 MB, free: 128 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.001375/0.001376, allocations: 67.91 kB / 394.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1371, allocations: 59.6 MB / 454.5 MB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.1841/0.3213, allocations: 0.5933 MB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.3216, allocations: 31.02 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.197e-05/0.3216, allocations: 0 / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.3217, allocations: 0 / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.3217, allocations: 1.094 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.322, allocations: 12.16 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.783e-05/0.322, allocations: 6.938 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.3221, allocations: 0 / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.3221, allocations: 2.906 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.3221, allocations: 0.6094 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.3221, allocations: 0.6562 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.3222, allocations: 23.91 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.3223, allocations: 1.547 kB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.3223, allocations: 1.562 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.283e-05/0.3224, allocations: 18.33 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3224, allocations: 2.906 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3224, allocations: 0 / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.3224, allocations: 2.625 kB / 455.2 MB, free: 39.23 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.0002143/0.3226, allocations: 312.6 kB / 455.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3227, allocations: 9.031 kB / 455.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.3227, allocations: 2.141 kB / 455.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.582e-05/0.3227, allocations: 160.9 kB / 455.6 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3228, allocations: 6 kB / 455.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.3228, allocations: 384 / 455.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.91e-05/0.3229, allocations: 40.5 kB / 455.7 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.3229, allocations: 0 / 455.7 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3229, allocations: 0 / 455.7 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3229, allocations: 0 / 455.7 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.3229, allocations: 6.875 kB / 455.7 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.778e-05/0.323, allocations: 144.5 kB / 455.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.191e-05/0.3231, allocations: 19.2 kB / 455.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.3231, allocations: 17.33 kB / 455.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3231, allocations: 2.812 kB / 455.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.3231, allocations: 37.34 kB / 455.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3231, allocations: 0 / 455.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.3233, allocations: 33.52 kB / 455.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.3233, allocations: 52.53 kB / 456 MB, free: 38.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.759e-05/0.3233, allocations: 94.58 kB / 456.1 MB, free: 38.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.3233, allocations: 28.58 kB / 456.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-06/0.3233, allocations: 81.64 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3234, allocations: 0.5 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.3234, allocations: 13.47 kB / 456.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.3235, allocations: 312.8 kB / 456.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-06/0.3235, allocations: 0 / 456.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.3235, allocations: 7.062 kB / 456.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.3235, allocations: 8.484 kB / 456.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3235, allocations: 3.875 kB / 456.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.3236, allocations: 35.69 kB / 456.6 MB, free: 37.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3236, allocations: 11.28 kB / 456.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3236, allocations: 1.641 kB / 456.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3236, allocations: 0.5 kB / 456.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.3237, allocations: 5.375 kB / 456.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3237, allocations: 0 / 456.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.3237, allocations: 3.016 kB / 456.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3237, allocations: 0 / 456.6 MB, free: 37.72 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.493e-05/0.3238, allocations: 113 kB / 456.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.3238, allocations: 7.75 kB / 456.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.715e-05/0.3239, allocations: 43.88 kB / 456.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3239, allocations: 5 kB / 456.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3239, allocations: 0 / 456.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3239, allocations: 3.844 kB / 456.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.439e-05/0.324, allocations: 141.7 kB / 456.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.324, allocations: 0 / 456.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.324, allocations: 7.125 kB / 456.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.324, allocations: 4.469 kB / 456.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3241, allocations: 4.406 kB / 456.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3241, allocations: 0.5625 kB / 456.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3241, allocations: 0 / 456.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.435e-05/0.3241, allocations: 59.78 kB / 457 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.3242, allocations: 84.98 kB / 457.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3242, allocations: 2.75 kB / 457.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.3242, allocations: 0.75 kB / 457.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.3242, allocations: 2.062 kB / 457.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3242, allocations: 2.812 kB / 457.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.305e-05/0.3242, allocations: 76.44 kB / 457.1 MB, free: 37.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.253e-06/0.3242, allocations: 0 / 457.1 MB, free: 37.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.3245, allocations: 11.08 kB / 457.2 MB, free: 37.15 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.0001224/0.3246, allocations: 105.1 kB / 457.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.878e-05/0.3247, allocations: 3.719 kB / 457.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3247, allocations: 3.125 kB / 457.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-06/0.3247, allocations: 2.719 kB / 457.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3248, allocations: 4.906 kB / 457.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.325, allocations: 87.42 kB / 457.4 MB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.706e-05/0.3251, allocations: 0.669 MB / 458 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.884e-05/0.3252, allocations: 4.438 kB / 458 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.3252, allocations: 8.094 kB / 458 MB, free: 36.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3252, allocations: 0 / 458 MB, free: 36.28 MB / 382.1 MB Notification: Performance of Templates: time 0.001938/0.3271, allocations: 293.7 kB / 458.3 MB, free: 36.26 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)