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.0009499/0.00095, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006548/0.006548, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.307/1.307, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 132.3 MB / 423.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002852, allocations: 14.19 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3354, allocations: 81.57 MB / 0.5838 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.000546/0.336, allocations: 323.7 kB / 0.5841 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.3362, allocations: 32.23 kB / 0.5841 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-06/0.3363, allocations: 0 / 0.5841 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.3363, allocations: 0 / 0.5841 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.707e-06/0.3363, allocations: 0.8438 kB / 0.5841 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.3365, allocations: 11.39 kB / 0.5841 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.818e-05/0.3365, allocations: 7.547 kB / 0.5841 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.3366, allocations: 4.234 kB / 0.5841 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.3366, allocations: 5.344 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.3366, allocations: 2.688 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.3366, allocations: 0 / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.3367, allocations: 16.52 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-06/0.3367, allocations: 0 / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.3367, allocations: 30.25 kB / 0.5842 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.071e-05/0.3368, allocations: 20.89 kB / 0.5842 GB, free: 3.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3368, allocations: 0 / 0.5842 GB, free: 3.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3368, allocations: 0 / 0.5842 GB, free: 3.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.3368, allocations: 0 / 0.5842 GB, free: 3.766 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.0001702/0.337, allocations: 312.2 kB / 0.5845 GB, free: 3.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3371, allocations: 9.906 kB / 0.5845 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.07e-05/0.3371, allocations: 30.75 kB / 0.5845 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.638e-05/0.3371, allocations: 1.688 kB / 0.5845 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.192e-05/0.3372, allocations: 166 kB / 0.5847 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3372, allocations: 9.125 kB / 0.5847 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3372, allocations: 5.094 kB / 0.5847 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.873e-05/0.3373, allocations: 34.05 kB / 0.5847 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3373, allocations: 3.938 kB / 0.5847 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3373, allocations: 0 / 0.5847 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3373, allocations: 1.062 kB / 0.5847 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.3373, allocations: 1.969 kB / 0.5847 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.776e-05/0.3374, allocations: 144 kB / 0.5849 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.083e-05/0.3374, allocations: 26.12 kB / 0.5849 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.3375, allocations: 9.516 kB / 0.5849 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.3375, allocations: 2.594 kB / 0.5849 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.3375, allocations: 31.47 kB / 0.5849 GB, free: 2.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3375, allocations: 0 / 0.5849 GB, free: 2.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.921e-05/0.3376, allocations: 37.12 kB / 0.585 GB, free: 2.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.532e-05/0.3377, allocations: 52.06 kB / 0.585 GB, free: 2.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.326e-05/0.3377, allocations: 96.08 kB / 0.5851 GB, free: 2.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.3377, allocations: 25.7 kB / 0.5851 GB, free: 2.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-06/0.3377, allocations: 88.12 kB / 0.5852 GB, free: 2.535 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3377, allocations: 4.562 kB / 0.5852 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.3377, allocations: 10.28 kB / 0.5852 GB, free: 2.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.3378, allocations: 316.2 kB / 0.5855 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.3378, allocations: 5.5 kB / 0.5855 GB, free: 2.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.3378, allocations: 1.453 kB / 0.5855 GB, free: 2.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.3378, allocations: 13.33 kB / 0.5856 GB, free: 2.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3378, allocations: 0 / 0.5856 GB, free: 2.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.347e-05/0.3379, allocations: 36.66 kB / 0.5856 GB, free: 2.148 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3379, allocations: 6.422 kB / 0.5856 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3379, allocations: 3.938 kB / 0.5856 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3379, allocations: 0 / 0.5856 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/0.338, allocations: 3.094 kB / 0.5856 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.338, allocations: 0 / 0.5856 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.338, allocations: 1.469 kB / 0.5856 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.338, allocations: 1.656 kB / 0.5856 GB, free: 2.145 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.3381, allocations: 115.1 kB / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-06/0.3381, allocations: 0.6875 kB / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.961e-05/0.3382, allocations: 45.53 kB / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3382, allocations: 1.75 kB / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3382, allocations: 0 / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3382, allocations: 0.5625 kB / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.228e-05/0.3382, allocations: 148.5 kB / 0.5859 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3382, allocations: 0.8438 kB / 0.5859 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.3383, allocations: 2.578 kB / 0.5859 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3383, allocations: 0.9062 kB / 0.5859 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3383, allocations: 4.594 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3383, allocations: 5.031 kB / 0.5859 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3383, allocations: 0 / 0.5859 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.767e-05/0.3383, allocations: 66.19 kB / 0.586 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.3384, allocations: 78.86 kB / 0.5861 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.3384, allocations: 5.219 kB / 0.5861 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.3384, allocations: 4.656 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-06/0.3384, allocations: 1.219 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.3384, allocations: 1.891 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.867e-06/0.3384, allocations: 75.28 kB / 0.5861 GB, free: 1.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3384, allocations: 0 / 0.5861 GB, free: 1.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.3386, allocations: 4.969 kB / 0.5861 GB, free: 1.531 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 (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.0002141/0.3388, allocations: 0.6086 MB / 0.5867 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.047e-05/0.3389, allocations: 4.578 kB / 0.5867 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3389, allocations: 0 / 0.5867 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.336e-06/0.3389, allocations: 3.562 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.339, allocations: 3.062 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.3393, allocations: 109.8 kB / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.376e-05/0.3393, allocations: 0.6711 MB / 0.5875 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.349e-05/0.3394, allocations: 1.75 kB / 0.5875 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.3394, allocations: 9.891 kB / 0.5875 GB, free: 88 kB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3394, allocations: 4 kB / 0.5875 GB, free: 84 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.236/0.5754, allocations: 0.8186 MB / 0.5883 GB, free: 15.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.5757, allocations: 189.4 kB / 0.5885 GB, free: 15.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.246, allocations: 1.438 kB / 0.5885 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/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)