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.007434/0.007434, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001821/0.001822, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.483/1.483, 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.9805/0.9805, allocations: 135.5 MB / 426.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4436, allocations: 81.02 MB / 0.6649 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.00171/0.4453, allocations: 0.5635 MB / 0.6655 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002462/0.4456, allocations: 38.69 kB / 0.6655 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.4456, allocations: 7.938 kB / 0.6655 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.4456, allocations: 3.938 kB / 0.6655 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.4457, allocations: 0 / 0.6655 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.446, allocations: 10.33 kB / 0.6655 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.446, allocations: 9.156 kB / 0.6655 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.4461, allocations: 1.406 kB / 0.6655 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.4461, allocations: 5.172 kB / 0.6655 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.4461, allocations: 1.438 kB / 0.6655 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.4461, allocations: 0 / 0.6655 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.4462, allocations: 20.02 kB / 0.6656 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.4463, allocations: 7.984 kB / 0.6656 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.4463, allocations: 0 / 0.6656 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.769e-05/0.4464, allocations: 16.14 kB / 0.6656 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4464, allocations: 0 / 0.6656 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4464, allocations: 0 / 0.6656 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4464, allocations: 0 / 0.6656 GB, free: 6.543 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.0002297/0.4466, allocations: 316.8 kB / 0.6659 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4467, allocations: 9.156 kB / 0.6659 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.4467, allocations: 30.75 kB / 0.6659 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.045e-05/0.4467, allocations: 2.094 kB / 0.6659 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.506e-05/0.4468, allocations: 168.3 kB / 0.6661 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4468, allocations: 1.812 kB / 0.6661 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.4468, allocations: 384 / 0.6661 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.4469, allocations: 31.7 kB / 0.6661 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4469, allocations: 5.062 kB / 0.6661 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.447, allocations: 4 kB / 0.6661 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.447, allocations: 3.984 kB / 0.6661 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.447, allocations: 2.594 kB / 0.6661 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.4471, allocations: 146.9 kB / 0.6663 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.09e-05/0.4472, allocations: 15.7 kB / 0.6663 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.4472, allocations: 10.11 kB / 0.6663 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.4473, allocations: 5.531 kB / 0.6663 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4473, allocations: 34.56 kB / 0.6663 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.4473, allocations: 1.219 kB / 0.6663 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.4475, allocations: 39.38 kB / 0.6664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4475, allocations: 55.53 kB / 0.6664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.247e-05/0.4476, allocations: 89.86 kB / 0.6665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4476, allocations: 25.7 kB / 0.6665 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.4476, allocations: 81.73 kB / 0.6666 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.4477, allocations: 3.984 kB / 0.6666 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.4477, allocations: 15.31 kB / 0.6666 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.4478, allocations: 312.3 kB / 0.6669 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.4478, allocations: 1.5 kB / 0.6669 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.4478, allocations: 15.86 kB / 0.6669 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.4478, allocations: 9.297 kB / 0.667 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4478, allocations: 0 / 0.667 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.059e-05/0.4479, allocations: 34.62 kB / 0.667 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4479, allocations: 5.531 kB / 0.667 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4479, allocations: 3.938 kB / 0.667 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.448, allocations: 1.281 kB / 0.667 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.448, allocations: 1.125 kB / 0.667 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.448, allocations: 1.438 kB / 0.667 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.4481, allocations: 7.984 kB / 0.667 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4481, allocations: 1.406 kB / 0.667 GB, free: 4.91 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 6.508e-05/0.4481, allocations: 111.2 kB / 0.6671 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-06/0.4482, allocations: 0 / 0.6671 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.4483, allocations: 51.16 kB / 0.6672 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4483, allocations: 8.016 kB / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4483, allocations: 1.312 kB / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4483, allocations: 0 / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.898e-05/0.4484, allocations: 151 kB / 0.6673 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4484, allocations: 0 / 0.6673 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.4484, allocations: 1.625 kB / 0.6673 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.4484, allocations: 1.312 kB / 0.6673 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4485, allocations: 3.938 kB / 0.6673 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4485, allocations: 5.266 kB / 0.6673 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4485, allocations: 0 / 0.6673 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.932e-05/0.4485, allocations: 58.98 kB / 0.6674 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.4486, allocations: 78.08 kB / 0.6675 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.4486, allocations: 9.156 kB / 0.6675 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.4486, allocations: 0 / 0.6675 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.4486, allocations: 5.547 kB / 0.6675 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.4486, allocations: 1.344 kB / 0.6675 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.673e-05/0.4487, allocations: 75.28 kB / 0.6675 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4487, allocations: 0 / 0.6675 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002141/0.4489, allocations: 8.125 kB / 0.6676 GB, free: 4.273 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.0003807/0.4493, allocations: 0.6019 MB / 0.6681 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.974e-05/0.4494, allocations: 7.688 kB / 0.6681 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4494, allocations: 1.375 kB / 0.6681 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/0.4494, allocations: 5.469 kB / 0.6682 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.4496, allocations: 1.438 kB / 0.6682 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.4499, allocations: 109.8 kB / 0.6683 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.4501, allocations: 0.6739 MB / 0.6689 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.875e-05/0.4501, allocations: 2.75 kB / 0.6689 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.4501, allocations: 12.81 kB / 0.6689 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.4501, allocations: 0 / 0.6689 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.473, allocations: 1.004 MB / 0.6699 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.308, allocations: 8.062 kB / 0.6699 GB, free: 2.215 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)