Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005042/0.005042, allocations: 99.58 kB / 15.73 MB, free: 5.98 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.001283/0.001283, allocations: 194.7 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8489/0.8489, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 64.66 kB / 0.5809 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2064, allocations: 80.19 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.004262/0.2107, allocations: 1.445 MB / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004437/0.2112, allocations: 100.6 kB / 0.6607 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.2113, allocations: 0 / 0.6607 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.616e-05/0.2114, allocations: 0 / 0.6607 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.2115, allocations: 11.94 kB / 0.6607 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2118, allocations: 11.98 kB / 0.6607 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2119, allocations: 31.91 kB / 0.6607 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2121, allocations: 0 / 0.6607 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.2121, allocations: 15.92 kB / 0.6608 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.2122, allocations: 8 kB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2122, allocations: 4 kB / 0.6608 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.2124, allocations: 23.91 kB / 0.6608 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.2124, allocations: 3.938 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.2125, allocations: 11.94 kB / 0.6608 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2126, allocations: 44.16 kB / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2127, allocations: 0 / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2127, allocations: 3.938 kB / 0.6609 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2127, allocations: 0 / 0.6609 GB, free: 9.02 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006304/0.2133, allocations: 343.4 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.2134, allocations: 8.031 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.2134, allocations: 30.75 kB / 0.6612 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2135, allocations: 12.88 kB / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.2137, allocations: 164.4 kB / 0.6614 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2137, allocations: 4.375 kB / 0.6614 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.2137, allocations: 4.375 kB / 0.6614 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.2139, allocations: 54.17 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.214, allocations: 3.938 kB / 0.6615 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.214, allocations: 0 / 0.6615 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.214, allocations: 3.984 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.2142, allocations: 43.89 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.2147, allocations: 249 kB / 0.6617 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2149, allocations: 42.48 kB / 0.6618 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2151, allocations: 24.91 kB / 0.6618 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.2151, allocations: 7.938 kB / 0.6618 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2152, allocations: 38.55 kB / 0.6618 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.2152, allocations: 0 / 0.6618 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006056/0.2158, allocations: 89.59 kB / 0.6619 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.2159, allocations: 51.41 kB / 0.662 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.216, allocations: 105.9 kB / 0.6621 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.216, allocations: 25.7 kB / 0.6621 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.2161, allocations: 96.25 kB / 0.6622 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2161, allocations: 7.891 kB / 0.6622 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.2162, allocations: 9.719 kB / 0.6622 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2164, allocations: 318.8 kB / 0.6625 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2165, allocations: 15.97 kB / 0.6625 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2167, allocations: 23.92 kB / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.2169, allocations: 44.88 kB / 0.6626 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2169, allocations: 7.938 kB / 0.6626 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003078/0.2173, allocations: 65.67 kB / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2173, allocations: 4 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2173, allocations: 0 / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2173, allocations: 11.92 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2175, allocations: 8.031 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2175, allocations: 0 / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.2176, allocations: 7.984 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.2176, allocations: 0 / 0.6627 GB, free: 6.895 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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 0.0001202/0.2177, allocations: 118.6 kB / 0.6628 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.2178, allocations: 0 / 0.6628 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.2181, allocations: 89.12 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2181, allocations: 0 / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2181, allocations: 0 / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2181, allocations: 0 / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.2184, allocations: 161.6 kB / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2184, allocations: 0 / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.2185, allocations: 7.984 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2185, allocations: 0 / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2186, allocations: 0 / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2186, allocations: 4 kB / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2186, allocations: 0 / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.219, allocations: 171.4 kB / 0.6632 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.219, allocations: 85.09 kB / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2191, allocations: 3.938 kB / 0.6633 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2192, allocations: 4.25 kB / 0.6633 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.2192, allocations: 7.984 kB / 0.6633 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2193, allocations: 8.031 kB / 0.6633 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001886/0.2194, allocations: 83.28 kB / 0.6634 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2195, allocations: 0 / 0.6634 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004003/0.2199, allocations: 12 kB / 0.6634 GB, free: 6.047 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.000966/0.2208, allocations: 0.7084 MB / 0.6641 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.2212, allocations: 35.97 kB / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2212, allocations: 0 / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.2213, allocations: 23.97 kB / 0.6642 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.2218, allocations: 5.094 kB / 0.6642 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.2224, allocations: 151.2 kB / 0.6643 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.2228, allocations: 0.6845 MB / 0.665 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.2229, allocations: 3.938 kB / 0.665 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.2229, allocations: 11.44 kB / 0.665 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2229, allocations: 0 / 0.665 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.2498, allocations: 1.412 MB / 0.6664 GB, free: 3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.278, allocations: 2.672 kB / 0.6664 GB, free: 3 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)