Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.01054/0.01054, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.002373/0.002373, allocations: 197 kB / 16.67 MB, free: 5.973 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9603/0.9603, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.88 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4471, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001861/0.449, allocations: 0.5786 MB / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002576/0.4493, allocations: 38.25 kB / 0.6648 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.4493, allocations: 3.938 kB / 0.6648 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.4493, allocations: 1.281 kB / 0.6648 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-06/0.4493, allocations: 4 kB / 0.6648 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.4497, allocations: 17.8 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.4497, allocations: 1.125 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.4498, allocations: 2.438 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.4498, allocations: 0 / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.4498, allocations: 4.922 kB / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.4499, allocations: 0 / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.45, allocations: 23.97 kB / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.45, allocations: 1.406 kB / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.45, allocations: 0 / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.4501, allocations: 14.48 kB / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4501, allocations: 0 / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4501, allocations: 1.125 kB / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.4501, allocations: 0 / 0.6649 GB, free: 6.766 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002682/0.4504, allocations: 320.3 kB / 0.6652 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4505, allocations: 10.06 kB / 0.6652 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.4505, allocations: 34.69 kB / 0.6652 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.4505, allocations: 0.9375 kB / 0.6652 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.816e-05/0.4506, allocations: 165.7 kB / 0.6654 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4506, allocations: 4.375 kB / 0.6654 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.4506, allocations: 384 / 0.6654 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.4507, allocations: 32.88 kB / 0.6654 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4507, allocations: 3.938 kB / 0.6654 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.4507, allocations: 1.281 kB / 0.6654 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4508, allocations: 0 / 0.6654 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.4508, allocations: 1.344 kB / 0.6654 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.4509, allocations: 150.9 kB / 0.6656 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.4509, allocations: 24.89 kB / 0.6656 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.451, allocations: 5.734 kB / 0.6656 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.451, allocations: 1.719 kB / 0.6656 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.451, allocations: 35.52 kB / 0.6656 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.451, allocations: 0 / 0.6656 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.4512, allocations: 39.36 kB / 0.6657 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4512, allocations: 56.41 kB / 0.6657 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.455e-05/0.4513, allocations: 93.98 kB / 0.6658 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.4513, allocations: 25.7 kB / 0.6658 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.704e-05/0.4513, allocations: 81.3 kB / 0.6659 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.4513, allocations: 0 / 0.6659 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.4513, allocations: 12.5 kB / 0.6659 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.4514, allocations: 314.8 kB / 0.6662 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.4514, allocations: 1.344 kB / 0.6662 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.4514, allocations: 1.281 kB / 0.6662 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.4515, allocations: 15.42 kB / 0.6662 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4515, allocations: 1.125 kB / 0.6662 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.851e-05/0.4515, allocations: 38.59 kB / 0.6663 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4515, allocations: 5.188 kB / 0.6663 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4516, allocations: 5.375 kB / 0.6663 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4516, allocations: 0 / 0.6663 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.4516, allocations: 10.53 kB / 0.6663 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4516, allocations: 0 / 0.6663 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.4517, allocations: 0 / 0.6663 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4517, allocations: 1.406 kB / 0.6663 GB, free: 5.129 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 (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 5.518e-05/0.4517, allocations: 110.9 kB / 0.6664 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.4518, allocations: 1.438 kB / 0.6664 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/0.4519, allocations: 49.97 kB / 0.6665 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4519, allocations: 1.188 kB / 0.6665 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4519, allocations: 0 / 0.6665 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4519, allocations: 32 / 0.6665 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.647e-05/0.4519, allocations: 146.9 kB / 0.6666 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4519, allocations: 1.312 kB / 0.6666 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.452, allocations: 9.25 kB / 0.6666 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.452, allocations: 5.516 kB / 0.6666 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.452, allocations: 3.938 kB / 0.6666 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.452, allocations: 0 / 0.6666 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.452, allocations: 1.281 kB / 0.6666 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.811e-05/0.4521, allocations: 62.08 kB / 0.6667 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.4521, allocations: 77.11 kB / 0.6668 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4521, allocations: 9.078 kB / 0.6668 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.4521, allocations: 3.938 kB / 0.6668 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.4521, allocations: 1.188 kB / 0.6668 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4521, allocations: 1.031 kB / 0.6668 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.4522, allocations: 75.28 kB / 0.6668 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4522, allocations: 1.156 kB / 0.6668 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002255/0.4524, allocations: 4.094 kB / 0.6668 GB, free: 4.5 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 (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.0002861/0.4527, allocations: 0.6133 MB / 0.6674 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.987e-05/0.4528, allocations: 7.781 kB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4528, allocations: 0 / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.4528, allocations: 3.969 kB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.4529, allocations: 6.344 kB / 0.6675 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.4532, allocations: 106 kB / 0.6676 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.419e-05/0.4533, allocations: 0.6703 MB / 0.6682 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.4533, allocations: 1.438 kB / 0.6682 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.4534, allocations: 8.688 kB / 0.6682 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4534, allocations: 4 kB / 0.6682 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.4715, allocations: 1.003 MB / 0.6692 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.99, allocations: 11.78 kB / 0.6692 GB, free: 2.426 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)