Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001428/0.001428, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001761/0.001761, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.315/2.315, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.057/1.057, allocations: 132.3 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005764/0.0005765, allocations: 17.31 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7941, allocations: 81.57 MB / 0.583 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002764/0.7969, allocations: 1.139 MB / 0.5841 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004403/0.7974, allocations: 97.2 kB / 0.5842 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.7974, allocations: 0 / 0.5842 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.145e-05/0.7975, allocations: 3.203 kB / 0.5842 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.7976, allocations: 5.906 kB / 0.5842 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.7979, allocations: 15.41 kB / 0.5842 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.798, allocations: 14.78 kB / 0.5842 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.7981, allocations: 4.906 kB / 0.5842 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.7982, allocations: 13.5 kB / 0.5842 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.7983, allocations: 9.766 kB / 0.5842 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.7983, allocations: 5.938 kB / 0.5842 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.7985, allocations: 15.42 kB / 0.5843 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.7985, allocations: 3.188 kB / 0.5843 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.7986, allocations: 35.08 kB / 0.5843 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.7987, allocations: 26.75 kB / 0.5843 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7988, allocations: 0 / 0.5843 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7988, allocations: 0 / 0.5843 GB, free: 3.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.7988, allocations: 1.062 kB / 0.5843 GB, free: 3.285 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005722/0.7994, allocations: 348 kB / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.7994, allocations: 8.656 kB / 0.5847 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.7995, allocations: 32.17 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.7996, allocations: 1.5 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.7997, allocations: 174 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.7997, allocations: 1.344 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.7998, allocations: 1.312 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.8001, allocations: 59.44 kB / 0.5849 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8001, allocations: 0 / 0.5849 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.8001, allocations: 0 / 0.5849 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.8001, allocations: 1.5 kB / 0.5849 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.8005, allocations: 53.38 kB / 0.585 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.801, allocations: 255.3 kB / 0.5852 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.8012, allocations: 45.02 kB / 0.5853 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.8013, allocations: 2.656 kB / 0.5853 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.8013, allocations: 36.05 kB / 0.5853 GB, free: 2.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.8013, allocations: 0 / 0.5853 GB, free: 2.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007028/0.8021, allocations: 108.8 kB / 0.5854 GB, free: 2.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.8021, allocations: 51.41 kB / 0.5854 GB, free: 2.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8023, allocations: 109.8 kB / 0.5855 GB, free: 2.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.8023, allocations: 25.7 kB / 0.5856 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.8023, allocations: 90.69 kB / 0.5857 GB, free: 1.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.8024, allocations: 8.844 kB / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.8024, allocations: 0 / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.8025, allocations: 318.7 kB / 0.586 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.8027, allocations: 24.47 kB / 0.586 GB, free: 1.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.8028, allocations: 24.19 kB / 0.586 GB, free: 1.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.803, allocations: 20.59 kB / 0.586 GB, free: 1.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.803, allocations: 5.094 kB / 0.586 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003999/0.8034, allocations: 84.19 kB / 0.5861 GB, free: 1.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.8035, allocations: 5.266 kB / 0.5861 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.8035, allocations: 3.984 kB / 0.5861 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.8035, allocations: 1.25 kB / 0.5861 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.8037, allocations: 15.02 kB / 0.5861 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8037, allocations: 0.9062 kB / 0.5861 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.8038, allocations: 12.62 kB / 0.5862 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.8039, allocations: 4.703 kB / 0.5862 GB, free: 1.551 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 (2): * Single equations (assignments): 2 * 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 9.046e-05/0.804, allocations: 110.3 kB / 0.5863 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.804, allocations: 3.312 kB / 0.5863 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.8045, allocations: 96.52 kB / 0.5864 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8045, allocations: 1.219 kB / 0.5864 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8045, allocations: 0.6094 kB / 0.5864 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8045, allocations: 0 / 0.5864 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.8048, allocations: 163 kB / 0.5865 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8048, allocations: 4.969 kB / 0.5865 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.8049, allocations: 15.02 kB / 0.5865 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.8049, allocations: 1.031 kB / 0.5865 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.805, allocations: 0.6094 kB / 0.5865 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.805, allocations: 0.8438 kB / 0.5865 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.805, allocations: 0 / 0.5865 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.8054, allocations: 180.6 kB / 0.5867 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.8055, allocations: 83.12 kB / 0.5868 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.8055, allocations: 4.703 kB / 0.5868 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.8057, allocations: 9.188 kB / 0.5868 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.8058, allocations: 9.984 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.8058, allocations: 1.781 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.228e-05/0.8058, allocations: 81.45 kB / 0.5869 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.8059, allocations: 0.75 kB / 0.5869 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.8063, allocations: 16.33 kB / 0.5869 GB, free: 0.8438 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 (2): * Single equations (assignments): 2 * 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.0007396/0.8071, allocations: 0.7076 MB / 0.5876 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.8075, allocations: 52.69 kB / 0.5877 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8075, allocations: 7.875 kB / 0.5877 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.8077, allocations: 26.81 kB / 0.5877 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.8081, allocations: 9.656 kB / 0.5877 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.8088, allocations: 157.1 kB / 0.5878 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.8093, allocations: 0.681 MB / 0.5885 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.8093, allocations: 1.422 kB / 0.5885 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.8094, allocations: 13.61 kB / 0.5885 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.8094, allocations: 0 / 0.5885 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.8287, allocations: 1.128 MB / 0.5896 GB, free: 15.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/0.8291, allocations: 160.4 kB / 0.5898 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.447, allocations: 4.719 kB / 0.5898 GB, free: 14.91 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: