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.001057/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001076/0.001076, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7526/0.7526, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.94 kB / 0.5012 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4063, allocations: 80.2 MB / 0.5795 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001771/0.4081, allocations: 0.6416 MB / 0.5801 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.4083, allocations: 37.28 kB / 0.5802 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-06/0.4084, allocations: 0.625 kB / 0.5802 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.4084, allocations: 4 kB / 0.5802 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.356e-06/0.4084, allocations: 1.531 kB / 0.5802 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.4086, allocations: 14.36 kB / 0.5802 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.532e-05/0.4086, allocations: 6.344 kB / 0.5802 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.4086, allocations: 1.906 kB / 0.5802 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.082e-05/0.4087, allocations: 1.562 kB / 0.5802 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.4087, allocations: 1.438 kB / 0.5802 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.4087, allocations: 1.25 kB / 0.5802 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.4088, allocations: 19.3 kB / 0.5802 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.4088, allocations: 0.6875 kB / 0.5802 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.4088, allocations: 10.02 kB / 0.5802 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.759e-05/0.4089, allocations: 15.41 kB / 0.5803 GB, free: 4.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4089, allocations: 4 kB / 0.5803 GB, free: 4.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.4089, allocations: 0 / 0.5803 GB, free: 4.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.4089, allocations: 0.5625 kB / 0.5803 GB, free: 4.078 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.0001891/0.4091, allocations: 314.5 kB / 0.5806 GB, free: 3.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.4092, allocations: 9.594 kB / 0.5806 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.034e-05/0.4092, allocations: 31.75 kB / 0.5806 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.734e-05/0.4092, allocations: 0.9375 kB / 0.5806 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.144e-05/0.4093, allocations: 165.4 kB / 0.5808 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.4093, allocations: 6.031 kB / 0.5808 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.4093, allocations: 1.156 kB / 0.5808 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.971e-05/0.4094, allocations: 29.73 kB / 0.5808 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.4094, allocations: 3.938 kB / 0.5808 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.4094, allocations: 0.75 kB / 0.5808 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.4094, allocations: 0 / 0.5808 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.4094, allocations: 2.969 kB / 0.5808 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.577e-05/0.4095, allocations: 148.3 kB / 0.5809 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.586e-05/0.4095, allocations: 24.67 kB / 0.581 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.4096, allocations: 7.297 kB / 0.581 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4096, allocations: 0.9062 kB / 0.581 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.4096, allocations: 36.67 kB / 0.581 GB, free: 3.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.4096, allocations: 0 / 0.581 GB, free: 3.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.567e-05/0.4097, allocations: 41.19 kB / 0.581 GB, free: 3.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.4097, allocations: 52.33 kB / 0.5811 GB, free: 3.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.254e-05/0.4098, allocations: 97.8 kB / 0.5812 GB, free: 2.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.4098, allocations: 27.05 kB / 0.5812 GB, free: 2.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-06/0.4098, allocations: 80.14 kB / 0.5813 GB, free: 2.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.4098, allocations: 4.469 kB / 0.5813 GB, free: 2.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.4098, allocations: 12.8 kB / 0.5813 GB, free: 2.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.4099, allocations: 320.9 kB / 0.5816 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.4099, allocations: 0 / 0.5816 GB, free: 2.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.4099, allocations: 2.062 kB / 0.5816 GB, free: 2.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.4099, allocations: 12.8 kB / 0.5816 GB, free: 2.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4099, allocations: 0.7969 kB / 0.5816 GB, free: 2.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.692e-05/0.41, allocations: 32.62 kB / 0.5817 GB, free: 2.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.41, allocations: 5.812 kB / 0.5817 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.41, allocations: 3.938 kB / 0.5817 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.41, allocations: 0.9375 kB / 0.5817 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.4101, allocations: 6.688 kB / 0.5817 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.4101, allocations: 7.938 kB / 0.5817 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.4101, allocations: 0.5469 kB / 0.5817 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4101, allocations: 5.594 kB / 0.5817 GB, free: 2.453 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 4.012e-05/0.4102, allocations: 111.3 kB / 0.5818 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.4102, allocations: 1.922 kB / 0.5818 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-05/0.4103, allocations: 41.62 kB / 0.5818 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4103, allocations: 0.7812 kB / 0.5818 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4103, allocations: 4.031 kB / 0.5818 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.4103, allocations: 1.062 kB / 0.5818 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.762e-05/0.4103, allocations: 148.5 kB / 0.582 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4103, allocations: 0.75 kB / 0.582 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.4104, allocations: 2.219 kB / 0.582 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4104, allocations: 0.75 kB / 0.582 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.4104, allocations: 4.688 kB / 0.582 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4104, allocations: 4.688 kB / 0.582 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4104, allocations: 0.7031 kB / 0.582 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.941e-05/0.4104, allocations: 57.58 kB / 0.5821 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.4105, allocations: 78.56 kB / 0.5821 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.4105, allocations: 5.484 kB / 0.5821 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.4105, allocations: 0 / 0.5821 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.4105, allocations: 1.922 kB / 0.5821 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4105, allocations: 5.219 kB / 0.5821 GB, free: 1.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.034e-05/0.4105, allocations: 75.28 kB / 0.5822 GB, free: 1.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4105, allocations: 0.6875 kB / 0.5822 GB, free: 1.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.4107, allocations: 5.359 kB / 0.5822 GB, free: 1.852 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.0002593/0.411, allocations: 0.6095 MB / 0.5828 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.483e-05/0.4111, allocations: 4.594 kB / 0.5828 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4111, allocations: 0 / 0.5828 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.4111, allocations: 7.344 kB / 0.5828 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.4112, allocations: 3.812 kB / 0.5828 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.4115, allocations: 104.8 kB / 0.5829 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.384e-05/0.4116, allocations: 0.672 MB / 0.5836 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.601e-05/0.4116, allocations: 5.906 kB / 0.5836 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.4116, allocations: 14.23 kB / 0.5836 GB, free: 408 kB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4116, allocations: 0 / 0.5836 GB, free: 408 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009972/0.4216, allocations: 0.878 MB / 0.5845 GB, free: 184 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.4218, allocations: 187.8 kB / 0.5846 GB, free: 15.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.992, allocations: 0 / 0.5846 GB, free: 15.93 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)