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: translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006029/0.006029, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001244/0.001244, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.547/1.547, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8637/0.8637, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.5814 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4766, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001484/0.4781, allocations: 0.572 MB / 0.6603 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.4783, allocations: 42.17 kB / 0.6603 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.4784, allocations: 0 / 0.6603 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.4784, allocations: 3.938 kB / 0.6603 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-06/0.4784, allocations: 1.375 kB / 0.6603 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.4786, allocations: 8.641 kB / 0.6603 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.4787, allocations: 10.12 kB / 0.6603 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.4787, allocations: 1.984 kB / 0.6603 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.4788, allocations: 1.375 kB / 0.6603 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.4788, allocations: 0.7031 kB / 0.6603 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-06/0.4788, allocations: 1.375 kB / 0.6603 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.4789, allocations: 23.22 kB / 0.6604 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.4789, allocations: 2.172 kB / 0.6604 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.479, allocations: 3.984 kB / 0.6604 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.281e-05/0.479, allocations: 15.52 kB / 0.6604 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4791, allocations: 0.75 kB / 0.6604 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4791, allocations: 0 / 0.6604 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.4791, allocations: 1.375 kB / 0.6604 GB, free: 9.949 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.0002015/0.4793, allocations: 309.8 kB / 0.6607 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.4793, allocations: 8.25 kB / 0.6607 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.4793, allocations: 6.906 kB / 0.6607 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.742e-05/0.4794, allocations: 165.1 kB / 0.6609 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4794, allocations: 384 / 0.6609 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.4794, allocations: 6.391 kB / 0.6609 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.4795, allocations: 33.09 kB / 0.6609 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.4795, allocations: 1.531 kB / 0.6609 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4795, allocations: 3.938 kB / 0.6609 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.4795, allocations: 0 / 0.6609 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.4796, allocations: 2.312 kB / 0.6609 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.651e-05/0.4797, allocations: 152.4 kB / 0.661 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.956e-05/0.4797, allocations: 17.73 kB / 0.6611 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.4797, allocations: 5.922 kB / 0.6611 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.4797, allocations: 1.984 kB / 0.6611 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.4798, allocations: 40 kB / 0.6611 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4798, allocations: 0 / 0.6611 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001042/0.4799, allocations: 36.83 kB / 0.6611 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4799, allocations: 56.88 kB / 0.6612 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.553e-05/0.4799, allocations: 90.42 kB / 0.6613 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.4799, allocations: 25.7 kB / 0.6613 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.868e-06/0.48, allocations: 81.58 kB / 0.6614 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.48, allocations: 0 / 0.6614 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.48, allocations: 13.09 kB / 0.6614 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.4801, allocations: 315.5 kB / 0.6617 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.4801, allocations: 1.938 kB / 0.6617 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.4801, allocations: 5.75 kB / 0.6617 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.4801, allocations: 12 kB / 0.6617 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4801, allocations: 0 / 0.6617 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.683e-05/0.4802, allocations: 33.33 kB / 0.6618 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4802, allocations: 5.375 kB / 0.6618 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4802, allocations: 0.7031 kB / 0.6618 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4802, allocations: 5.375 kB / 0.6618 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.4803, allocations: 2.312 kB / 0.6618 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4803, allocations: 0 / 0.6618 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.4803, allocations: 5.5 kB / 0.6618 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4803, allocations: 0 / 0.6618 GB, free: 8.383 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 4.41e-05/0.4804, allocations: 111.9 kB / 0.6619 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.4804, allocations: 1.969 kB / 0.6619 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.4805, allocations: 45 kB / 0.6619 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4805, allocations: 2.109 kB / 0.6619 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4805, allocations: 11.97 kB / 0.6619 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4805, allocations: 0 / 0.6619 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.83e-05/0.4806, allocations: 153 kB / 0.6621 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4806, allocations: 3.938 kB / 0.6621 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.4806, allocations: 3.219 kB / 0.6621 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.4806, allocations: 0 / 0.6621 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.4806, allocations: 6.062 kB / 0.6621 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4806, allocations: 0 / 0.6621 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4806, allocations: 0 / 0.6621 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.195e-05/0.4807, allocations: 62.14 kB / 0.6622 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.4807, allocations: 83.06 kB / 0.6622 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.4807, allocations: 3.938 kB / 0.6622 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.4807, allocations: 2.203 kB / 0.6622 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.4807, allocations: 4 kB / 0.6622 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.4808, allocations: 2.094 kB / 0.6622 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.259e-05/0.4808, allocations: 77.98 kB / 0.6623 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4808, allocations: 0 / 0.6623 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001865/0.481, allocations: 13.66 kB / 0.6623 GB, free: 7.746 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.0001332/0.4811, allocations: 100.1 kB / 0.6624 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.4812, allocations: 5.219 kB / 0.6624 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4812, allocations: 0 / 0.6624 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.4812, allocations: 2.531 kB / 0.6624 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.4813, allocations: 4.375 kB / 0.6624 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001404/0.4815, allocations: 91.69 kB / 0.6625 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/0.4816, allocations: 0.6745 MB / 0.6632 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.4816, allocations: 2.141 kB / 0.6632 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.4816, allocations: 8.625 kB / 0.6632 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.4816, allocations: 1.25 kB / 0.6632 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.002398/0.484, allocations: 290 kB / 0.6635 GB, free: 6.781 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)