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.008452/0.008452, allocations: 99.02 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.002467/0.002468, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9754/0.9754, allocations: 135.5 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.89 kB / 0.5858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4067, allocations: 81.03 MB / 0.6649 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001422/0.4082, allocations: 0.5591 MB / 0.6655 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.4084, allocations: 38.06 kB / 0.6655 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.193e-05/0.4084, allocations: 5.062 kB / 0.6655 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.4085, allocations: 3.938 kB / 0.6655 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.4085, allocations: 0 / 0.6655 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.4087, allocations: 18.77 kB / 0.6655 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.48e-05/0.4087, allocations: 5.125 kB / 0.6655 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.4088, allocations: 4.922 kB / 0.6655 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.286e-05/0.4088, allocations: 1.25 kB / 0.6655 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.4088, allocations: 1.469 kB / 0.6655 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.4089, allocations: 0 / 0.6655 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.4089, allocations: 15.67 kB / 0.6655 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.409, allocations: 4 kB / 0.6656 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.554e-05/0.409, allocations: 5.172 kB / 0.6656 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.794e-05/0.4091, allocations: 14.89 kB / 0.6656 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4091, allocations: 0 / 0.6656 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4091, allocations: 0 / 0.6656 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.4091, allocations: 0 / 0.6656 GB, free: 6.367 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.0002002/0.4093, allocations: 316.2 kB / 0.6659 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4093, allocations: 12.53 kB / 0.6659 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.4094, allocations: 31.84 kB / 0.6659 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.922e-05/0.4094, allocations: 4.875 kB / 0.6659 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.979e-05/0.4094, allocations: 164.4 kB / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4095, allocations: 1.656 kB / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.4095, allocations: 4.375 kB / 0.6661 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.4095, allocations: 32.81 kB / 0.6661 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.4096, allocations: 3.938 kB / 0.6661 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.4096, allocations: 3.984 kB / 0.6661 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.4096, allocations: 1.375 kB / 0.6661 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.4096, allocations: 1.438 kB / 0.6661 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.558e-05/0.4097, allocations: 146.8 kB / 0.6663 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.456e-05/0.4097, allocations: 29.09 kB / 0.6663 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.4097, allocations: 6.141 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.4098, allocations: 1.469 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.4098, allocations: 32 kB / 0.6663 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.4098, allocations: 0 / 0.6663 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.4099, allocations: 39.45 kB / 0.6664 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.4099, allocations: 55.53 kB / 0.6664 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.261e-05/0.41, allocations: 89.86 kB / 0.6665 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.41, allocations: 25.7 kB / 0.6665 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.271e-05/0.41, allocations: 81.52 kB / 0.6666 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.41, allocations: 4 kB / 0.6666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.41, allocations: 16.36 kB / 0.6666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.4101, allocations: 310.8 kB / 0.6669 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.4101, allocations: 1.219 kB / 0.6669 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.4101, allocations: 9.25 kB / 0.6669 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.4101, allocations: 7.547 kB / 0.6669 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4101, allocations: 0 / 0.6669 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.344e-05/0.4102, allocations: 48.23 kB / 0.667 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.4102, allocations: 5.25 kB / 0.667 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4102, allocations: 3.938 kB / 0.667 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.4102, allocations: 0 / 0.667 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.4103, allocations: 2.594 kB / 0.667 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.4103, allocations: 0 / 0.667 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.4103, allocations: 5.469 kB / 0.667 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4103, allocations: 1.281 kB / 0.667 GB, free: 4.727 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 3.864e-05/0.4104, allocations: 107.5 kB / 0.6671 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-06/0.4104, allocations: 3.938 kB / 0.6671 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.4105, allocations: 46.44 kB / 0.6672 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4105, allocations: 1.094 kB / 0.6672 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4105, allocations: 4.031 kB / 0.6672 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4105, allocations: 0 / 0.6672 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.109e-05/0.4105, allocations: 146.8 kB / 0.6673 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4105, allocations: 1.281 kB / 0.6673 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.4106, allocations: 9.25 kB / 0.6673 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4106, allocations: 0.9375 kB / 0.6673 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.4106, allocations: 3.938 kB / 0.6673 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4106, allocations: 1.375 kB / 0.6673 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4106, allocations: 0 / 0.6673 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.902e-05/0.4106, allocations: 66.52 kB / 0.6674 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.4107, allocations: 77.11 kB / 0.6675 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.4107, allocations: 5.281 kB / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.4107, allocations: 0 / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.4107, allocations: 1.344 kB / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4107, allocations: 1.375 kB / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.4107, allocations: 75.28 kB / 0.6675 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4107, allocations: 0 / 0.6675 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001832/0.4109, allocations: 10.67 kB / 0.6675 GB, free: 4.102 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.0002341/0.4112, allocations: 0.6025 MB / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.388e-05/0.4112, allocations: 3.844 kB / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4112, allocations: 1.156 kB / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-06/0.4113, allocations: 10.67 kB / 0.6681 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.4114, allocations: 1 kB / 0.6681 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.4116, allocations: 108.9 kB / 0.6683 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.351e-05/0.4117, allocations: 0.6741 MB / 0.6689 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.4117, allocations: 3.156 kB / 0.6689 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.4118, allocations: 15.48 kB / 0.6689 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.4118, allocations: 0 / 0.6689 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.4324, allocations: 1.003 MB / 0.6699 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.111, allocations: 9.156 kB / 0.6699 GB, free: 2.035 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)