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.005914/0.005914, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001181/0.001181, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8265/0.8265, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 65 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1607, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003294/0.1641, allocations: 1.435 MB / 0.6606 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.1645, allocations: 104.6 kB / 0.6607 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.1646, allocations: 0 / 0.6607 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.137e-05/0.1647, allocations: 3.938 kB / 0.6607 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.1647, allocations: 4 kB / 0.6607 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1651, allocations: 19.92 kB / 0.6607 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.1652, allocations: 23.92 kB / 0.6607 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1653, allocations: 4 kB / 0.6607 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.1653, allocations: 19.91 kB / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.1654, allocations: 11.98 kB / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1654, allocations: 0 / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1655, allocations: 19.98 kB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.1656, allocations: 3.938 kB / 0.6608 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1656, allocations: 19.94 kB / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1658, allocations: 27.95 kB / 0.6608 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1658, allocations: 7.938 kB / 0.6608 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.016e-06/0.1658, allocations: 0 / 0.6608 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.1658, allocations: 0 / 0.6608 GB, free: 9.062 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005705/0.1664, allocations: 342.3 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1665, allocations: 8.031 kB / 0.6612 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.1665, allocations: 34.73 kB / 0.6612 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.1666, allocations: 4.875 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1667, allocations: 176.3 kB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1667, allocations: 384 / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1667, allocations: 4.375 kB / 0.6614 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.167, allocations: 54.23 kB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.167, allocations: 3.938 kB / 0.6614 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.167, allocations: 0 / 0.6614 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.167, allocations: 4 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1672, allocations: 43.94 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1676, allocations: 253.5 kB / 0.6617 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1677, allocations: 42.5 kB / 0.6618 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.1678, allocations: 24.91 kB / 0.6618 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.1679, allocations: 3.984 kB / 0.6618 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1679, allocations: 38.56 kB / 0.6618 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1679, allocations: 0 / 0.6618 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003753/0.1683, allocations: 93.52 kB / 0.6619 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1683, allocations: 51.41 kB / 0.662 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.1684, allocations: 105.8 kB / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1685, allocations: 25.83 kB / 0.6621 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.1685, allocations: 88.42 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1686, allocations: 11.84 kB / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1686, allocations: 9.719 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1687, allocations: 314.8 kB / 0.6625 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.1688, allocations: 19.97 kB / 0.6625 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.1689, allocations: 19.98 kB / 0.6625 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1691, allocations: 44.88 kB / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1691, allocations: 3.938 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.1693, allocations: 77.52 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1693, allocations: 7.984 kB / 0.6627 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1693, allocations: 3.938 kB / 0.6627 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1693, allocations: 0 / 0.6627 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.1694, allocations: 12.03 kB / 0.6627 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1694, allocations: 0 / 0.6627 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.1695, allocations: 7.984 kB / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.1695, allocations: 0 / 0.6627 GB, free: 6.934 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 (2): * Single equations (assignments): 2 * 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 8.709e-05/0.1696, allocations: 114.7 kB / 0.6628 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1696, allocations: 0 / 0.6628 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1699, allocations: 85.11 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1699, allocations: 0 / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1699, allocations: 0 / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1699, allocations: 4 kB / 0.6629 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.17, allocations: 161.6 kB / 0.663 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1701, allocations: 0 / 0.663 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.1701, allocations: 8 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1701, allocations: 0 / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1701, allocations: 256 / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.1701, allocations: 4 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1702, allocations: 8.016 kB / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.1705, allocations: 167.5 kB / 0.6632 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1705, allocations: 81.02 kB / 0.6633 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1705, allocations: 0 / 0.6633 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.1706, allocations: 4 kB / 0.6633 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.1707, allocations: 16.02 kB / 0.6633 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1707, allocations: 0 / 0.6633 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.1707, allocations: 83.22 kB / 0.6634 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1707, allocations: 0 / 0.6634 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002294/0.171, allocations: 12 kB / 0.6634 GB, free: 6.094 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 (2): * Single equations (assignments): 2 * 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.0005678/0.1715, allocations: 0.7085 MB / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1718, allocations: 43.95 kB / 0.6641 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1718, allocations: 0 / 0.6641 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.1719, allocations: 23.92 kB / 0.6642 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1722, allocations: 160 / 0.6642 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.1727, allocations: 147.1 kB / 0.6643 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.173, allocations: 0.6806 MB / 0.665 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.173, allocations: 3.906 kB / 0.665 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.173, allocations: 15.44 kB / 0.665 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1731, allocations: 0 / 0.665 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.1926, allocations: 1.412 MB / 0.6664 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.646, allocations: 5.109 kB / 0.6664 GB, free: 3.043 MB / 0.4981 GB (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/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)