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/Complex 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) 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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.007254/0.007254, allocations: 172.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7638/0.7638, allocations: 132.3 MB / 148.1 MB, free: 228 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 403.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008907, allocations: 100.6 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 8 kB / 0.5641 GB, free: 2.102 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.416, allocations: 81.58 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5648, allocations: 110.3 MB / 0.7515 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5651, allocations: 71.95 kB / 0.7516 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001194/0.5663, allocations: 486.7 kB / 0.7521 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5663, allocations: 0 / 0.7521 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5664, allocations: 0 / 0.7521 GB, free: 9.039 MB / 0.5261 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.0002745/0.5666, allocations: 315.4 kB / 0.7524 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5667, allocations: 8.031 kB / 0.7524 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.5667, allocations: 0 / 0.7524 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5668, allocations: 163 kB / 0.7525 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5669, allocations: 4 kB / 0.7525 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.5669, allocations: 0 / 0.7525 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.567, allocations: 33.64 kB / 0.7526 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.567, allocations: 0 / 0.7526 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.567, allocations: 0 / 0.7526 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.567, allocations: 4 kB / 0.7526 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.476e-05/0.5671, allocations: 7.984 kB / 0.7526 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.5672, allocations: 145.6 kB / 0.7527 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.5673, allocations: 18.58 kB / 0.7527 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.5673, allocations: 4.094 kB / 0.7527 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.5673, allocations: 33.84 kB / 0.7528 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.5674, allocations: 4 kB / 0.7528 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001398/0.5675, allocations: 37.62 kB / 0.7528 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.5675, allocations: 55.41 kB / 0.7528 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.511e-05/0.5676, allocations: 88.94 kB / 0.7529 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.5676, allocations: 25.7 kB / 0.753 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.5676, allocations: 84.08 kB / 0.753 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.5677, allocations: 3.906 kB / 0.753 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.5677, allocations: 0 / 0.753 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5678, allocations: 315 kB / 0.7533 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.5678, allocations: 4 kB / 0.7533 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.5678, allocations: 4 kB / 0.7533 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.931e-05/0.5679, allocations: 0 / 0.7533 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5679, allocations: 0 / 0.7533 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.409e-05/0.5679, allocations: 45.58 kB / 0.7534 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5679, allocations: 4 kB / 0.7534 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.568, allocations: 0 / 0.7534 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.568, allocations: 0 / 0.7534 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.568, allocations: 4 kB / 0.7534 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.568, allocations: 4.094 kB / 0.7534 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.5681, allocations: 7.938 kB / 0.7534 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.5681, allocations: 0 / 0.7534 GB, free: 7.438 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.5682, allocations: 106.4 kB / 0.7535 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.5682, allocations: 7.953 kB / 0.7535 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.5683, allocations: 48.75 kB / 0.7536 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5683, allocations: 0 / 0.7536 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.5683, allocations: 0 / 0.7536 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5683, allocations: 4 kB / 0.7536 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.5684, allocations: 149.7 kB / 0.7537 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.5684, allocations: 0 / 0.7537 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.5684, allocations: 0 / 0.7537 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5684, allocations: 3.953 kB / 0.7537 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.5685, allocations: 4 kB / 0.7537 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5685, allocations: 0 / 0.7537 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5685, allocations: 0 / 0.7537 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.261e-05/0.5685, allocations: 61.16 kB / 0.7538 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.5686, allocations: 81.11 kB / 0.7539 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5686, allocations: 3.953 kB / 0.7539 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.5686, allocations: 0 / 0.7539 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.5687, allocations: 0 / 0.7539 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.5687, allocations: 3.938 kB / 0.7539 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.5687, allocations: 83.22 kB / 0.7539 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5687, allocations: 4.031 kB / 0.7539 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002381/0.569, allocations: 8 kB / 0.754 GB, free: 6.781 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.5691, allocations: 107.2 kB / 0.7541 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.5692, allocations: 4 kB / 0.7541 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5692, allocations: 0 / 0.7541 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.5692, allocations: 0 / 0.7541 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.562e-05/0.5693, allocations: 3.938 kB / 0.7541 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.5695, allocations: 78.89 kB / 0.7541 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.5698, allocations: 0.6731 MB / 0.7548 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.5698, allocations: 4 kB / 0.7548 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.5699, allocations: 7.438 kB / 0.7548 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/0.5699, allocations: 0 / 0.7548 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.002148/0.572, allocations: 280.2 kB / 0.7551 GB, free: 5.566 MB / 0.5261 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)