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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8248/0.8248, allocations: 133.3 MB / 150.1 MB, free: 11.2 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 404.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 111.3 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 56.16 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1528, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002686/0.1555, allocations: 1.491 MB / 0.6436 GB, free: 3.949 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000341/0.1559, allocations: 100.6 kB / 0.6437 GB, free: 3.848 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.1559, allocations: 0 / 0.6437 GB, free: 3.848 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.601e-05/0.156, allocations: 0 / 0.6437 GB, free: 3.848 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.156, allocations: 4 kB / 0.6437 GB, free: 3.844 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1563, allocations: 19.92 kB / 0.6437 GB, free: 3.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.1563, allocations: 19.92 kB / 0.6437 GB, free: 3.805 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.1564, allocations: 11.98 kB / 0.6437 GB, free: 3.793 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.1565, allocations: 11.98 kB / 0.6438 GB, free: 3.781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.1565, allocations: 11.94 kB / 0.6438 GB, free: 3.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1566, allocations: 0 / 0.6438 GB, free: 3.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.1567, allocations: 23.86 kB / 0.6438 GB, free: 3.746 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.1567, allocations: 7.984 kB / 0.6438 GB, free: 3.738 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1567, allocations: 7.938 kB / 0.6438 GB, free: 3.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1569, allocations: 35.88 kB / 0.6438 GB, free: 3.695 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1569, allocations: 4 kB / 0.6438 GB, free: 3.691 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1569, allocations: 0 / 0.6438 GB, free: 3.691 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1569, allocations: 0 / 0.6438 GB, free: 3.691 MB / 442.7 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.0004843/0.1574, allocations: 351.7 kB / 0.6442 GB, free: 3.297 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1574, allocations: 8.031 kB / 0.6442 GB, free: 3.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.1575, allocations: 8.844 kB / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1576, allocations: 164.4 kB / 0.6443 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1576, allocations: 4.375 kB / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1576, allocations: 384 / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1578, allocations: 54.17 kB / 0.6444 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1579, allocations: 192 / 0.6444 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1579, allocations: 7.922 kB / 0.6444 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1579, allocations: 4 kB / 0.6444 GB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.1581, allocations: 35.97 kB / 0.6445 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.1584, allocations: 253 kB / 0.6447 GB, free: 2.676 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1585, allocations: 42.48 kB / 0.6447 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.1586, allocations: 28.84 kB / 0.6448 GB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.1587, allocations: 7.938 kB / 0.6448 GB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1587, allocations: 34.56 kB / 0.6448 GB, free: 2.543 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1587, allocations: 0 / 0.6448 GB, free: 2.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.1591, allocations: 85.64 kB / 0.6449 GB, free: 2.453 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1591, allocations: 59.44 kB / 0.6449 GB, free: 2.383 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.1592, allocations: 105.8 kB / 0.645 GB, free: 2.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1592, allocations: 25.7 kB / 0.6451 GB, free: 2.238 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.1593, allocations: 84.14 kB / 0.6451 GB, free: 2.152 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.1593, allocations: 9.25 kB / 0.6452 GB, free: 2.145 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1594, allocations: 13.72 kB / 0.6452 GB, free: 2.125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1595, allocations: 314.8 kB / 0.6455 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.1596, allocations: 23.92 kB / 0.6455 GB, free: 1.785 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.1597, allocations: 19.97 kB / 0.6455 GB, free: 1.766 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1598, allocations: 44.83 kB / 0.6456 GB, free: 1.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1598, allocations: 0 / 0.6456 GB, free: 1.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.16, allocations: 73.66 kB / 0.6456 GB, free: 1.641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.16, allocations: 4 kB / 0.6456 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.16, allocations: 0 / 0.6456 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1601, allocations: 4 kB / 0.6456 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.1602, allocations: 8.234 kB / 0.6456 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1602, allocations: 0 / 0.6456 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.1602, allocations: 23.8 kB / 0.6457 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1602, allocations: 0 / 0.6457 GB, free: 1.602 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.1603, allocations: 121.8 kB / 0.6458 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.1604, allocations: 0 / 0.6458 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.1606, allocations: 77.09 kB / 0.6459 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1606, allocations: 0 / 0.6459 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1606, allocations: 0 / 0.6459 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1606, allocations: 3.984 kB / 0.6459 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1608, allocations: 165.6 kB / 0.646 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1608, allocations: 0 / 0.646 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.1609, allocations: 12.02 kB / 0.646 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1609, allocations: 0 / 0.646 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1609, allocations: 0 / 0.646 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1609, allocations: 4 kB / 0.646 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1609, allocations: 0 / 0.646 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.1615, allocations: 0.7356 MB / 0.6467 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.1615, allocations: 81.11 kB / 0.6468 GB, free: 280 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1616, allocations: 3.984 kB / 0.6468 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.1616, allocations: 4 kB / 0.6468 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1617, allocations: 0 / 0.6468 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.1617, allocations: 11.92 kB / 0.6468 GB, free: 260 kB / 442.7 MB Notification: Performance of sorting global known variables: time 4.299e-05/0.1617, allocations: 83.28 kB / 0.6469 GB, free: 176 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1618, allocations: 0 / 0.6469 GB, free: 176 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.1621, allocations: 15.91 kB / 0.6469 GB, free: 160 kB / 442.7 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 (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.000162/0.1622, allocations: 95.25 kB / 0.647 GB, free: 52 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1625, allocations: 39.95 kB / 0.6471 GB, free: 12 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1625, allocations: 4 kB / 0.6471 GB, free: 8 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1626, allocations: 20.03 kB / 0.6471 GB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1629, allocations: 10.83 kB / 0.6471 GB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.1633, allocations: 222.2 kB / 0.6473 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1635, allocations: 0.677 MB / 0.648 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.1636, allocations: 0 / 0.648 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.1636, allocations: 11.44 kB / 0.648 GB, free: 15.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1636, allocations: 0 / 0.648 GB, free: 15.01 MB / 458.7 MB Notification: Performance of Templates: time 0.002441/0.166, allocations: 0.4902 MB / 0.6485 GB, free: 14.52 MB / 458.7 MB 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)