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.001002/0.001003, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8509/0.8509, allocations: 130.5 MB / 143.8 MB, free: 13.59 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.45/1.45, allocations: 221.3 MB / 396.8 MB, free: 9.172 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.0009565/0.0009566, allocations: 98.59 kB / 478.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.408e-05, allocations: 5.5 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 81.57 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5979/0.7428, allocations: 110.3 MB / 0.7424 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.7432, allocations: 75.17 kB / 0.7425 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001801/0.745, allocations: 487 kB / 0.743 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.384e-06/0.745, allocations: 3.938 kB / 0.743 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.745, allocations: 0 / 0.743 GB, free: 27.83 MB / 0.5105 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.0002874/0.7453, allocations: 307.5 kB / 0.7433 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.7454, allocations: 9.25 kB / 0.7433 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.7454, allocations: 0 / 0.7433 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.7455, allocations: 163 kB / 0.7434 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.7456, allocations: 6.656 kB / 0.7434 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7456, allocations: 3.984 kB / 0.7434 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.7457, allocations: 31.16 kB / 0.7435 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.7457, allocations: 0 / 0.7435 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.7457, allocations: 3.75 kB / 0.7435 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.7457, allocations: 0 / 0.7435 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.7458, allocations: 5.094 kB / 0.7435 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.7459, allocations: 155 kB / 0.7436 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.746, allocations: 24.75 kB / 0.7437 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.746, allocations: 4.859 kB / 0.7437 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.746, allocations: 5.391 kB / 0.7437 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7461, allocations: 30.56 kB / 0.7437 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7461, allocations: 0 / 0.7437 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.7462, allocations: 38.83 kB / 0.7437 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.7463, allocations: 54.16 kB / 0.7438 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.197e-05/0.7463, allocations: 85 kB / 0.7439 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.7463, allocations: 33.45 kB / 0.7439 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.7464, allocations: 80.14 kB / 0.744 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.7464, allocations: 4.531 kB / 0.744 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/0.7464, allocations: 0 / 0.744 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7465, allocations: 312.2 kB / 0.7443 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.7466, allocations: 4.031 kB / 0.7443 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.7466, allocations: 3.875 kB / 0.7443 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.7466, allocations: 1.125 kB / 0.7443 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7466, allocations: 3.953 kB / 0.7443 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.357e-05/0.7467, allocations: 36.88 kB / 0.7443 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7467, allocations: 5.25 kB / 0.7443 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7467, allocations: 0 / 0.7443 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7467, allocations: 0 / 0.7443 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.7468, allocations: 9.062 kB / 0.7443 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7468, allocations: 4.094 kB / 0.7443 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.7468, allocations: 3.938 kB / 0.7443 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.7468, allocations: 0 / 0.7443 GB, free: 26.32 MB / 0.5105 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 () * 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.032e-05/0.7469, allocations: 110.2 kB / 0.7444 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.7469, allocations: 3.953 kB / 0.7445 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.7471, allocations: 41.91 kB / 0.7445 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7471, allocations: 7.969 kB / 0.7445 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7471, allocations: 0 / 0.7445 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7471, allocations: 0 / 0.7445 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.7472, allocations: 146.1 kB / 0.7446 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7472, allocations: 0 / 0.7446 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.7472, allocations: 9.422 kB / 0.7446 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.7472, allocations: 0 / 0.7446 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.7472, allocations: 0 / 0.7446 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.7473, allocations: 0 / 0.7446 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7473, allocations: 3.938 kB / 0.7447 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.79e-05/0.7473, allocations: 62.39 kB / 0.7447 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.7474, allocations: 77.11 kB / 0.7448 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.7474, allocations: 5.828 kB / 0.7448 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.7474, allocations: 0 / 0.7448 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.7474, allocations: 3.969 kB / 0.7448 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.7475, allocations: 0 / 0.7448 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.7475, allocations: 79.22 kB / 0.7449 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7475, allocations: 32 / 0.7449 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002092/0.7477, allocations: 7.781 kB / 0.7449 GB, free: 25.72 MB / 0.5105 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 () * 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.0002263/0.7479, allocations: 106.1 kB / 0.745 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.748, allocations: 14.62 kB / 0.745 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.748, allocations: 0 / 0.745 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.748, allocations: 0 / 0.745 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.658e-05/0.7481, allocations: 5.438 kB / 0.745 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000152/0.7483, allocations: 47.89 kB / 0.745 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.7486, allocations: 0.6707 MB / 0.7457 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.7486, allocations: 5.5 kB / 0.7457 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.7487, allocations: 7.438 kB / 0.7457 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/0.7487, allocations: 0 / 0.7457 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.001979/0.7507, allocations: 296.3 kB / 0.746 GB, free: 24.81 MB / 0.5105 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)