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.0007298/0.0007298, allocations: 90.28 kB / 15.06 MB, free: 1.094 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.0008284/0.0008285, allocations: 172.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.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7489/0.7489, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003556, allocations: 16.16 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4401, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001731/0.4419, allocations: 1.144 MB / 0.5843 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003161/0.4423, allocations: 92.58 kB / 0.5844 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.4423, allocations: 0 / 0.5844 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.4424, allocations: 6.297 kB / 0.5844 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.4424, allocations: 4.734 kB / 0.5844 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.4427, allocations: 16.45 kB / 0.5844 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.4428, allocations: 24.94 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.4428, allocations: 5.016 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.4429, allocations: 9.984 kB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.4429, allocations: 13.95 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.443, allocations: 0.8125 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.4431, allocations: 17.3 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.4431, allocations: 7.188 kB / 0.5845 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.4431, allocations: 26.61 kB / 0.5845 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.28e-05/0.4432, allocations: 27.28 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4433, allocations: 0 / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4433, allocations: 0.75 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.4433, allocations: 0 / 0.5845 GB, free: 3 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.0003877/0.4437, allocations: 343.7 kB / 0.5848 GB, free: 2.645 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4437, allocations: 9.984 kB / 0.5848 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.4438, allocations: 30.56 kB / 0.5849 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.4438, allocations: 15.45 kB / 0.5849 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.4439, allocations: 169.7 kB / 0.585 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.4439, allocations: 1.562 kB / 0.5851 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4439, allocations: 0 / 0.5851 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.4441, allocations: 59.3 kB / 0.5851 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4441, allocations: 0.7812 kB / 0.5851 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4441, allocations: 0 / 0.5851 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4442, allocations: 4.688 kB / 0.5851 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.4443, allocations: 45.78 kB / 0.5852 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.4447, allocations: 260.4 kB / 0.5854 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.4448, allocations: 52.58 kB / 0.5855 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.4449, allocations: 29.64 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.445, allocations: 3.609 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.445, allocations: 35.47 kB / 0.5855 GB, free: 1.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.445, allocations: 3.984 kB / 0.5855 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.4454, allocations: 103.6 kB / 0.5856 GB, free: 1.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4454, allocations: 60.78 kB / 0.5857 GB, free: 1.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.4455, allocations: 105.8 kB / 0.5858 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.4455, allocations: 29.64 kB / 0.5858 GB, free: 1.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.4455, allocations: 81.8 kB / 0.5859 GB, free: 1.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.4455, allocations: 13.83 kB / 0.5859 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.4456, allocations: 0 / 0.5859 GB, free: 1.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.4456, allocations: 313.5 kB / 0.5862 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.4457, allocations: 28.61 kB / 0.5862 GB, free: 1.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.4458, allocations: 20.39 kB / 0.5862 GB, free: 1.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.6e-05/0.4459, allocations: 25.25 kB / 0.5863 GB, free: 1.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4459, allocations: 4 kB / 0.5863 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.4461, allocations: 76.34 kB / 0.5863 GB, free: 1.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4461, allocations: 7.531 kB / 0.5864 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4461, allocations: 0.7969 kB / 0.5864 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4462, allocations: 0.7188 kB / 0.5864 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.4463, allocations: 15.47 kB / 0.5864 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4463, allocations: 3.953 kB / 0.5864 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.4463, allocations: 12.88 kB / 0.5864 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.4463, allocations: 0.5938 kB / 0.5864 GB, free: 1.25 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 6.29e-05/0.4464, allocations: 119.2 kB / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.4464, allocations: 2.344 kB / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.4467, allocations: 89.66 kB / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4467, allocations: 0 / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4467, allocations: 0.75 kB / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4467, allocations: 3.953 kB / 0.5866 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.4468, allocations: 159.2 kB / 0.5867 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4469, allocations: 4.641 kB / 0.5867 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.4469, allocations: 11.84 kB / 0.5868 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.447, allocations: 0 / 0.5868 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.447, allocations: 5.906 kB / 0.5868 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.447, allocations: 0 / 0.5868 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.447, allocations: 0.7188 kB / 0.5868 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.4472, allocations: 183.9 kB / 0.5869 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.4473, allocations: 83.5 kB / 0.587 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.4473, allocations: 1.156 kB / 0.587 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.4473, allocations: 7.688 kB / 0.587 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4474, allocations: 11.3 kB / 0.587 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4474, allocations: 0.75 kB / 0.587 GB, free: 0.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.449e-05/0.4474, allocations: 86.78 kB / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4475, allocations: 0 / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.4477, allocations: 11.31 kB / 0.5871 GB, free: 0.543 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.0004971/0.4482, allocations: 0.7128 MB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.4484, allocations: 57.31 kB / 0.5879 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4485, allocations: 0 / 0.5879 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.4486, allocations: 26.72 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4488, allocations: 2.078 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.4493, allocations: 154.2 kB / 0.5881 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.4496, allocations: 0.6782 MB / 0.5887 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.681e-05/0.4496, allocations: 5.859 kB / 0.5887 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.4497, allocations: 8.828 kB / 0.5887 GB, free: 14.99 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4497, allocations: 1.531 kB / 0.5887 GB, free: 14.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.4623, allocations: 1.146 MB / 0.5899 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.4625, allocations: 159.6 kB / 0.59 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.052, allocations: 0 / 0.59 GB, free: 14.61 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: