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.006171/0.006171, allocations: 97.73 kB / 15.73 MB, free: 6.066 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.001252/0.001252, allocations: 195.3 kB / 16.67 MB, free: 5.965 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7667/0.7667, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.48 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2003, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003933/0.2043, allocations: 1.424 MB / 0.6606 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004493/0.2048, allocations: 108.5 kB / 0.6607 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.2049, allocations: 0 / 0.6607 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.964e-05/0.205, allocations: 3.938 kB / 0.6607 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.2051, allocations: 7.938 kB / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.2054, allocations: 15.98 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.2055, allocations: 23.92 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2056, allocations: 7.984 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.2057, allocations: 7.984 kB / 0.6608 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.2058, allocations: 19.92 kB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2058, allocations: 4 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2059, allocations: 15.98 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.206, allocations: 7.938 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.206, allocations: 11.94 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.2062, allocations: 44.09 kB / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2063, allocations: 0 / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.047e-06/0.2063, allocations: 0 / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2063, allocations: 3.938 kB / 0.6609 GB, free: 12.31 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.0006147/0.2069, allocations: 351.3 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.207, allocations: 8.031 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.207, allocations: 34.73 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.2071, allocations: 8.891 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2072, allocations: 160.4 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2073, allocations: 384 / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2073, allocations: 4.375 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.2075, allocations: 50.23 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2075, allocations: 3.938 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2076, allocations: 4 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2076, allocations: 0 / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.2078, allocations: 43.89 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.2083, allocations: 253 kB / 0.6617 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2084, allocations: 38.5 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2086, allocations: 28.91 kB / 0.6618 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.2086, allocations: 7.984 kB / 0.6618 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2087, allocations: 30.56 kB / 0.6618 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2087, allocations: 0 / 0.6618 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004976/0.2092, allocations: 97.52 kB / 0.6619 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.2093, allocations: 55.53 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2094, allocations: 105.8 kB / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2094, allocations: 25.7 kB / 0.6621 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.2095, allocations: 88.14 kB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2095, allocations: 7.891 kB / 0.6622 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.2096, allocations: 9.719 kB / 0.6622 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2098, allocations: 318.8 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2099, allocations: 19.97 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.21, allocations: 19.98 kB / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.2102, allocations: 40.81 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.2102, allocations: 3.938 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002613/0.2105, allocations: 73.67 kB / 0.6627 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2105, allocations: 7.984 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2106, allocations: 0 / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2106, allocations: 256 / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2107, allocations: 11.94 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2107, allocations: 4 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.2108, allocations: 7.984 kB / 0.6627 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2108, allocations: 0 / 0.6627 GB, free: 10.19 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.000125/0.211, allocations: 122.4 kB / 0.6628 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.211, allocations: 4.031 kB / 0.6628 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.2113, allocations: 85.06 kB / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2114, allocations: 4 kB / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2114, allocations: 0 / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2114, allocations: 0 / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.2116, allocations: 165.6 kB / 0.6631 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2117, allocations: 0 / 0.6631 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.2117, allocations: 4.031 kB / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2117, allocations: 4 kB / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2118, allocations: 0 / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2118, allocations: 4 kB / 0.6631 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.2118, allocations: 3.984 kB / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.2121, allocations: 163.5 kB / 0.6632 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2122, allocations: 89.08 kB / 0.6633 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.2122, allocations: 0 / 0.6633 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2123, allocations: 4 kB / 0.6633 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.2124, allocations: 3.984 kB / 0.6633 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2124, allocations: 0 / 0.6633 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.2125, allocations: 87.28 kB / 0.6634 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2125, allocations: 0 / 0.6634 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003471/0.2128, allocations: 8 kB / 0.6634 GB, free: 9.348 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.0007429/0.2136, allocations: 0.7046 MB / 0.6641 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.2139, allocations: 47.89 kB / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.2139, allocations: 4.094 kB / 0.6642 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.214, allocations: 15.98 kB / 0.6642 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2145, allocations: 9.719 kB / 0.6642 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.2151, allocations: 143 kB / 0.6643 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.2155, allocations: 0.6807 MB / 0.665 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.2156, allocations: 192 / 0.665 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.2156, allocations: 15.38 kB / 0.665 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2156, allocations: 4.062 kB / 0.665 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.2383, allocations: 1.405 MB / 0.6664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.649, allocations: 11.25 kB / 0.6664 GB, free: 6.309 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)