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.006282/0.006282, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.001305/0.001305, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8232/0.8232, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 61.53 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1537, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001796/0.1556, allocations: 0.5759 MB / 0.6598 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002573/0.1558, allocations: 35.88 kB / 0.6598 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.1559, allocations: 0 / 0.6598 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.1559, allocations: 0 / 0.6598 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.1559, allocations: 4 kB / 0.6598 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1562, allocations: 12 kB / 0.6599 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.1563, allocations: 3.984 kB / 0.6599 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1563, allocations: 7.922 kB / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.1563, allocations: 4 kB / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.1564, allocations: 0 / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1564, allocations: 3.938 kB / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.1565, allocations: 15.98 kB / 0.6599 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.1565, allocations: 0 / 0.6599 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.1566, allocations: 3.938 kB / 0.6599 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/0.1567, allocations: 19.98 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1567, allocations: 0 / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1567, allocations: 0 / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1567, allocations: 0 / 0.6599 GB, free: 10.05 MB / 0.4981 GB 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.0003541/0.157, allocations: 315.8 kB / 0.6602 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1571, allocations: 8.031 kB / 0.6602 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.1571, allocations: 34.75 kB / 0.6603 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.1572, allocations: 0.9375 kB / 0.6603 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1573, allocations: 160.4 kB / 0.6604 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1573, allocations: 4.359 kB / 0.6604 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-06/0.1573, allocations: 4.375 kB / 0.6604 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.1574, allocations: 40.75 kB / 0.6605 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1574, allocations: 3.938 kB / 0.6605 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1575, allocations: 0 / 0.6605 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1575, allocations: 3.938 kB / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.1575, allocations: 3.984 kB / 0.6605 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1577, allocations: 149.7 kB / 0.6606 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.1577, allocations: 22.56 kB / 0.6606 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.1577, allocations: 8.859 kB / 0.6606 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1578, allocations: 8.031 kB / 0.6606 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1578, allocations: 30.56 kB / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.1578, allocations: 0 / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.158, allocations: 37.64 kB / 0.6607 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.158, allocations: 51.41 kB / 0.6608 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.486e-05/0.1581, allocations: 89.98 kB / 0.6608 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1581, allocations: 29.7 kB / 0.6609 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.1581, allocations: 80.14 kB / 0.6609 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1581, allocations: 7.938 kB / 0.661 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1582, allocations: 18.06 kB / 0.661 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1583, allocations: 310.8 kB / 0.6613 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.1583, allocations: 0 / 0.6613 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.1583, allocations: 3.938 kB / 0.6613 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.1584, allocations: 12.92 kB / 0.6613 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1584, allocations: 0 / 0.6613 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.681e-05/0.1585, allocations: 37.69 kB / 0.6613 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1585, allocations: 4 kB / 0.6613 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1585, allocations: 3.938 kB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1585, allocations: 0 / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.1586, allocations: 4 kB / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1586, allocations: 0 / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.1586, allocations: 4 kB / 0.6613 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1586, allocations: 3.938 kB / 0.6613 GB, free: 8.348 MB / 0.4981 GB 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 7.686e-05/0.1587, allocations: 113.9 kB / 0.6614 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.1587, allocations: 3.938 kB / 0.6615 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1588, allocations: 40.75 kB / 0.6615 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1588, allocations: 0 / 0.6615 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1588, allocations: 0 / 0.6615 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1589, allocations: 8 kB / 0.6615 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.159, allocations: 153.7 kB / 0.6616 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.159, allocations: 0 / 0.6616 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.159, allocations: 3.938 kB / 0.6616 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.159, allocations: 4 kB / 0.6617 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.159, allocations: 3.938 kB / 0.6617 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.159, allocations: 0 / 0.6617 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.159, allocations: 0 / 0.6617 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.1591, allocations: 65.06 kB / 0.6617 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.1592, allocations: 81.14 kB / 0.6618 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1592, allocations: 3.938 kB / 0.6618 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.1592, allocations: 4 kB / 0.6618 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/0.1592, allocations: 0 / 0.6618 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1592, allocations: 4 kB / 0.6618 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.1593, allocations: 75.28 kB / 0.6619 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1593, allocations: 0 / 0.6619 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001912/0.1595, allocations: 7.938 kB / 0.6619 GB, free: 7.68 MB / 0.4981 GB 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.000422/0.1599, allocations: 0.6007 MB / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.924e-05/0.16, allocations: 7.984 kB / 0.6625 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.16, allocations: 0 / 0.6625 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-06/0.16, allocations: 4 kB / 0.6625 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1601, allocations: 0 / 0.6625 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1604, allocations: 110.8 kB / 0.6626 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1607, allocations: 0.6768 MB / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.1608, allocations: 0 / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.1608, allocations: 7.438 kB / 0.6633 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1608, allocations: 0 / 0.6633 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1828, allocations: 0.997 MB / 0.6642 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.012, allocations: 11.06 kB / 0.6642 GB, free: 5.258 MB / 0.4981 GB (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)