Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 104.9 kB / 16.41 MB, free: 6.453 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.001338/0.001338, allocations: 187 kB / 17.34 MB, free: 5.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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 69.39 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1485, allocations: 80.93 MB / 0.6653 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002904/0.1514, allocations: 1.426 MB / 0.6667 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.1518, allocations: 96.53 kB / 0.6668 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.1518, allocations: 0 / 0.6668 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.988e-05/0.1519, allocations: 0 / 0.6668 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.152, allocations: 7.938 kB / 0.6668 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.1523, allocations: 27.89 kB / 0.6668 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.1524, allocations: 16 kB / 0.6668 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1525, allocations: 7.984 kB / 0.6668 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.1526, allocations: 8 kB / 0.6669 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.1526, allocations: 15.92 kB / 0.6669 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1527, allocations: 0 / 0.6669 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1528, allocations: 27.92 kB / 0.6669 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.1528, allocations: 7.984 kB / 0.6669 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.1529, allocations: 11.94 kB / 0.6669 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.153, allocations: 39.88 kB / 0.667 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.153, allocations: 0 / 0.667 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.153, allocations: 0 / 0.667 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1531, allocations: 0 / 0.667 GB, free: 4.199 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.0004789/0.1535, allocations: 347.3 kB / 0.6673 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1536, allocations: 13.05 kB / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1536, allocations: 0.9375 kB / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1538, allocations: 168.4 kB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1538, allocations: 384 / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1538, allocations: 4.312 kB / 0.6675 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.154, allocations: 58.17 kB / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.154, allocations: 192 / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.154, allocations: 7.938 kB / 0.6675 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1541, allocations: 0 / 0.6675 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1542, allocations: 35.95 kB / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.1546, allocations: 256.9 kB / 0.6678 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1547, allocations: 46.44 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.1548, allocations: 28.89 kB / 0.6679 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.1549, allocations: 0 / 0.6679 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1549, allocations: 38.56 kB / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1549, allocations: 0 / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.1553, allocations: 85.62 kB / 0.668 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1553, allocations: 55.41 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.1554, allocations: 105.8 kB / 0.6682 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1554, allocations: 25.7 kB / 0.6682 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.1555, allocations: 88.27 kB / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1555, allocations: 7.844 kB / 0.6683 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1556, allocations: 13.72 kB / 0.6683 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1557, allocations: 322.8 kB / 0.6686 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.1558, allocations: 15.98 kB / 0.6686 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.1558, allocations: 19.98 kB / 0.6686 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.156, allocations: 44.88 kB / 0.6687 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.156, allocations: 0 / 0.6687 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.1562, allocations: 73.59 kB / 0.6687 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1563, allocations: 6.031 kB / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1563, allocations: 0 / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1563, allocations: 0 / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.1564, allocations: 20.02 kB / 0.6688 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1564, allocations: 3.938 kB / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1564, allocations: 4.25 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1565, allocations: 0 / 0.6688 GB, free: 2.117 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 7.853e-05/0.1565, allocations: 117.7 kB / 0.6689 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1566, allocations: 7.906 kB / 0.6689 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1568, allocations: 81.19 kB / 0.669 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1568, allocations: 0 / 0.669 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1568, allocations: 0 / 0.669 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1568, allocations: 0 / 0.669 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.157, allocations: 169.6 kB / 0.6691 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.157, allocations: 0 / 0.6691 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.1571, allocations: 11.98 kB / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1571, allocations: 0 / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1571, allocations: 3.938 kB / 0.6691 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1571, allocations: 0 / 0.6691 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1571, allocations: 3.938 kB / 0.6691 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1573, allocations: 171.5 kB / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.1574, allocations: 77.11 kB / 0.6694 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1574, allocations: 0 / 0.6694 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1574, allocations: 7.984 kB / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1575, allocations: 8 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1575, allocations: 4.031 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.1576, allocations: 83.27 kB / 0.6695 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 0.6695 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002218/0.1578, allocations: 12 kB / 0.6695 GB, free: 1.273 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.0001552/0.1579, allocations: 104.6 kB / 0.6696 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1582, allocations: 43.89 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1582, allocations: 4.062 kB / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.1583, allocations: 15.98 kB / 0.6697 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1586, allocations: 11.94 kB / 0.6697 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.1589, allocations: 143.1 kB / 0.6698 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1591, allocations: 0.6768 MB / 0.6705 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.1592, allocations: 11.42 kB / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1592, allocations: 0 / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of Templates: time 0.002246/0.1614, allocations: 0.6664 MB / 0.6711 GB, free: 15.54 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)