Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_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.0008188/0.0008188, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009554/0.0009553, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7155/0.7155, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 16 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3788, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0005985/0.3794, allocations: 313.7 kB / 0.5835 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001789/0.3796, allocations: 27.73 kB / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-06/0.3796, allocations: 0 / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.918e-06/0.3797, allocations: 0.75 kB / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.3797, allocations: 6.469 kB / 0.5835 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.3799, allocations: 23.2 kB / 0.5835 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.568e-05/0.3799, allocations: 2.328 kB / 0.5835 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.38, allocations: 0.6094 kB / 0.5835 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.38, allocations: 2.719 kB / 0.5835 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.38, allocations: 1.828 kB / 0.5835 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.3801, allocations: 4 kB / 0.5835 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.3801, allocations: 15.69 kB / 0.5836 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-06/0.3802, allocations: 0.7812 kB / 0.5836 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.3802, allocations: 30.39 kB / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.591e-05/0.3802, allocations: 8.422 kB / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3802, allocations: 0.8125 kB / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3803, allocations: 0 / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.3803, allocations: 0 / 0.5836 GB, free: 3.707 MB / 430.1 MB 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.0001643/0.3804, allocations: 313.2 kB / 0.5839 GB, free: 3.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3805, allocations: 9.594 kB / 0.5839 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.401e-05/0.3805, allocations: 35.27 kB / 0.5839 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.819e-05/0.3805, allocations: 4.766 kB / 0.5839 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.593e-05/0.3806, allocations: 160.3 kB / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.3806, allocations: 1.25 kB / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-06/0.3806, allocations: 0 / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.768e-05/0.3807, allocations: 29.12 kB / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.3807, allocations: 0 / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.3807, allocations: 1.438 kB / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3807, allocations: 0 / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.3807, allocations: 9.844 kB / 0.5841 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.011e-05/0.3808, allocations: 153.7 kB / 0.5843 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.953e-05/0.3809, allocations: 17 kB / 0.5843 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.3809, allocations: 5.547 kB / 0.5843 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3809, allocations: 1.688 kB / 0.5843 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.3809, allocations: 32.17 kB / 0.5843 GB, free: 2.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3809, allocations: 0 / 0.5843 GB, free: 2.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.844e-05/0.381, allocations: 45.52 kB / 0.5844 GB, free: 2.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.3811, allocations: 51.97 kB / 0.5844 GB, free: 2.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.185e-05/0.3811, allocations: 94.73 kB / 0.5845 GB, free: 2.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-06/0.3811, allocations: 25.7 kB / 0.5845 GB, free: 2.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.605e-06/0.3811, allocations: 80.14 kB / 0.5846 GB, free: 2.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.3811, allocations: 5.469 kB / 0.5846 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.3811, allocations: 0 / 0.5846 GB, free: 2.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.3812, allocations: 316.5 kB / 0.5849 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.3812, allocations: 5.094 kB / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.3812, allocations: 2.781 kB / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.325e-05/0.3812, allocations: 0.9062 kB / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3812, allocations: 3.938 kB / 0.5849 GB, free: 2.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.604e-05/0.3813, allocations: 41.28 kB / 0.585 GB, free: 2.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3813, allocations: 5.797 kB / 0.585 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3813, allocations: 0 / 0.585 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.3813, allocations: 1.156 kB / 0.585 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.3814, allocations: 2.453 kB / 0.585 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.3814, allocations: 4.75 kB / 0.585 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.3814, allocations: 0.875 kB / 0.585 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3814, allocations: 0.7812 kB / 0.585 GB, free: 2.121 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.3814, allocations: 112.3 kB / 0.5851 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.3815, allocations: 0.5156 kB / 0.5851 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.3815, allocations: 46.55 kB / 0.5851 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3816, allocations: 0 / 0.5851 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3816, allocations: 4.656 kB / 0.5851 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3816, allocations: 0.5156 kB / 0.5851 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.528e-05/0.3816, allocations: 153 kB / 0.5853 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3816, allocations: 0 / 0.5853 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.3816, allocations: 6.984 kB / 0.5853 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3817, allocations: 0 / 0.5853 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.3817, allocations: 1.672 kB / 0.5853 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3817, allocations: 0 / 0.5853 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3817, allocations: 2.266 kB / 0.5853 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.749e-05/0.3817, allocations: 64.47 kB / 0.5854 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.3818, allocations: 79.7 kB / 0.5854 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.3818, allocations: 0.7031 kB / 0.5854 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.199e-05/0.3818, allocations: 3.984 kB / 0.5854 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.3818, allocations: 2.812 kB / 0.5854 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3818, allocations: 3.938 kB / 0.5854 GB, free: 1.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.997e-06/0.3818, allocations: 77.5 kB / 0.5855 GB, free: 1.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3818, allocations: 4.031 kB / 0.5855 GB, free: 1.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.382, allocations: 7.5 kB / 0.5855 GB, free: 1.5 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000223/0.3822, allocations: 0.6009 MB / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.715e-05/0.3823, allocations: 5.141 kB / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3823, allocations: 4.094 kB / 0.5861 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.3823, allocations: 2.531 kB / 0.5861 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.3825, allocations: 2.203 kB / 0.5861 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.3827, allocations: 110 kB / 0.5862 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.3828, allocations: 0.6704 MB / 0.5869 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.631e-05/0.3828, allocations: 6.312 kB / 0.5869 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.3828, allocations: 13.42 kB / 0.5869 GB, free: 52 kB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3828, allocations: 0 / 0.5869 GB, free: 52 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009953/0.3928, allocations: 0.8146 MB / 0.5877 GB, free: 15.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.393, allocations: 176.2 kB / 0.5879 GB, free: 15.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.903, allocations: 0 / 0.5879 GB, free: 15.69 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: