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.001272/0.001272, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001711/0.001711, allocations: 188.8 kB / 16.25 MB, free: 6.586 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9909/0.9909, allocations: 135.1 MB / 425.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 64.38 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 80.93 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001736/0.1638, allocations: 0.631 MB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001611/0.164, allocations: 39.88 kB / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-06/0.164, allocations: 0 / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.175e-06/0.164, allocations: 0 / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.216e-06/0.164, allocations: 0 / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1642, allocations: 11.98 kB / 0.5847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.287e-05/0.1642, allocations: 0 / 0.5847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.635e-05/0.1643, allocations: 4 kB / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-06/0.1643, allocations: 0 / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.085e-05/0.1643, allocations: 4 kB / 0.5847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.1643, allocations: 0 / 0.5847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.1644, allocations: 19.98 kB / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-06/0.1644, allocations: 0 / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.1644, allocations: 11.92 kB / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.064e-05/0.1645, allocations: 15.91 kB / 0.5847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1645, allocations: 0 / 0.5847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1645, allocations: 0 / 0.5847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1645, allocations: 0 / 0.5847 GB, free: 4.012 MB / 494.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.0002345/0.1648, allocations: 315.6 kB / 0.585 GB, free: 3.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.1648, allocations: 12.06 kB / 0.585 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.1648, allocations: 34.73 kB / 0.5851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.393e-05/0.1648, allocations: 4.938 kB / 0.5851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.1649, allocations: 160.4 kB / 0.5852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-06/0.1649, allocations: 384 / 0.5852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-06/0.1649, allocations: 384 / 0.5852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.735e-05/0.165, allocations: 30.27 kB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.165, allocations: 3.938 kB / 0.5853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-06/0.165, allocations: 0 / 0.5853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-06/0.165, allocations: 0 / 0.5853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.1651, allocations: 7.938 kB / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1652, allocations: 157.6 kB / 0.5854 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.438e-05/0.1652, allocations: 14.67 kB / 0.5854 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.1653, allocations: 8.859 kB / 0.5854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1653, allocations: 0 / 0.5854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1653, allocations: 30.56 kB / 0.5855 GB, free: 3.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1653, allocations: 4 kB / 0.5855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.1654, allocations: 45.56 kB / 0.5855 GB, free: 3.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.1655, allocations: 59.53 kB / 0.5856 GB, free: 2.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.194e-05/0.1655, allocations: 89.86 kB / 0.5857 GB, free: 2.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1655, allocations: 25.7 kB / 0.5857 GB, free: 2.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.1656, allocations: 80.14 kB / 0.5858 GB, free: 2.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1656, allocations: 7.844 kB / 0.5858 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.1656, allocations: 13.72 kB / 0.5858 GB, free: 2.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1657, allocations: 314.8 kB / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.1658, allocations: 0 / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1658, allocations: 8 kB / 0.5861 GB, free: 2.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.1658, allocations: 12.84 kB / 0.5861 GB, free: 2.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1658, allocations: 0 / 0.5861 GB, free: 2.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.297e-05/0.1659, allocations: 33.64 kB / 0.5861 GB, free: 2.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1659, allocations: 6.5 kB / 0.5861 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1659, allocations: 7.922 kB / 0.5861 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1659, allocations: 4 kB / 0.5861 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/0.166, allocations: 0 / 0.5861 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.166, allocations: 96 / 0.5861 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.166, allocations: 7.984 kB / 0.5862 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.166, allocations: 4 kB / 0.5862 GB, free: 2.305 MB / 494.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 6.121e-05/0.1661, allocations: 113.8 kB / 0.5863 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.1661, allocations: 0 / 0.5863 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-05/0.1662, allocations: 48.7 kB / 0.5863 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1662, allocations: 4.031 kB / 0.5863 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1662, allocations: 3.984 kB / 0.5863 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1662, allocations: 0 / 0.5863 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.554e-05/0.1663, allocations: 141.7 kB / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1663, allocations: 0 / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.1663, allocations: 4 kB / 0.5865 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1663, allocations: 0 / 0.5865 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1664, allocations: 3.938 kB / 0.5865 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1664, allocations: 0 / 0.5865 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1664, allocations: 0 / 0.5865 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.1664, allocations: 65.12 kB / 0.5865 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1665, allocations: 77.11 kB / 0.5866 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1665, allocations: 3.938 kB / 0.5866 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.1665, allocations: 3.938 kB / 0.5866 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.1665, allocations: 7.938 kB / 0.5866 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1665, allocations: 3.984 kB / 0.5866 GB, free: 1.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.1666, allocations: 75.28 kB / 0.5867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.1666, allocations: 0 / 0.5867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001806/0.1668, allocations: 15.97 kB / 0.5867 GB, free: 1.641 MB / 494.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.0003848/0.1672, allocations: 0.5971 MB / 0.5873 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.1672, allocations: 4 kB / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1672, allocations: 0 / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.1672, allocations: 12.03 kB / 0.5873 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.1674, allocations: 0 / 0.5873 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.1676, allocations: 114.6 kB / 0.5874 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1679, allocations: 0.669 MB / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.361e-05/0.1679, allocations: 0 / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.1679, allocations: 15.5 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1679, allocations: 0 / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009206/0.1771, allocations: 0.9121 MB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.1774, allocations: 196.2 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.817, allocations: 0 / 0.5892 GB, free: 15.09 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)