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.001587/0.001587, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8315/0.8315, allocations: 130.7 MB / 138.7 MB, free: 3.531 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 391.8 MB, free: 14.14 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.00095/0.0009502, allocations: 93.62 kB / 473.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.593e-05, allocations: 4 kB / 0.5485 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5087, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.664, allocations: 109.6 MB / 0.7352 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.6644, allocations: 76.66 kB / 0.7353 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001395/0.6658, allocations: 486.7 kB / 0.7357 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6659, allocations: 4 kB / 0.7358 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.6659, allocations: 0 / 0.7358 GB, free: 0.582 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.0002958/0.6662, allocations: 302.5 kB / 0.736 GB, free: 248 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6662, allocations: 16.03 kB / 0.7361 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.6663, allocations: 0.5625 kB / 0.7361 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6664, allocations: 167 kB / 0.7362 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.6664, allocations: 0 / 0.7362 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.6664, allocations: 0 / 0.7362 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.161e-05/0.6665, allocations: 4.875 kB / 0.7362 GB, free: 20 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.049e-05/0.6666, allocations: 37.62 kB / 0.7363 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6666, allocations: 0 / 0.7363 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.6666, allocations: 0 / 0.7363 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6667, allocations: 0 / 0.7363 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.6668, allocations: 126.2 kB / 0.7364 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.6669, allocations: 18.61 kB / 0.7364 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.6669, allocations: 8.141 kB / 0.7364 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.6669, allocations: 8.062 kB / 0.7364 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.667, allocations: 30.56 kB / 0.7364 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 4.518e-06/0.667, allocations: 3.984 kB / 0.7364 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001919/0.6672, allocations: 41.62 kB / 0.7365 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.6672, allocations: 51.41 kB / 0.7365 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.929e-05/0.6673, allocations: 85 kB / 0.7366 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.6673, allocations: 25.7 kB / 0.7366 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.6673, allocations: 84.17 kB / 0.7367 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.6674, allocations: 7.906 kB / 0.7367 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.6674, allocations: 0 / 0.7367 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6675, allocations: 310.8 kB / 0.737 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.6676, allocations: 0 / 0.737 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.6676, allocations: 0 / 0.737 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.6676, allocations: 4 kB / 0.737 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6676, allocations: 0.9375 kB / 0.737 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.484e-05/0.6677, allocations: 37.7 kB / 0.7371 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6678, allocations: 12.81 kB / 0.7371 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6678, allocations: 2.25 kB / 0.7371 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6678, allocations: 0 / 0.7371 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.6678, allocations: 0 / 0.7371 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6678, allocations: 0 / 0.7371 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.6679, allocations: 3.938 kB / 0.7371 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.6679, allocations: 7.938 kB / 0.7371 GB, free: 15.02 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 () * 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 8.932e-05/0.668, allocations: 110.6 kB / 0.7372 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.668, allocations: 11.88 kB / 0.7372 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.6682, allocations: 41.45 kB / 0.7372 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6682, allocations: 0 / 0.7372 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6682, allocations: 0 / 0.7372 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6682, allocations: 0 / 0.7372 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.038e-05/0.6683, allocations: 126.2 kB / 0.7374 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6683, allocations: 0 / 0.7374 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.6683, allocations: 4 kB / 0.7374 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.6683, allocations: 4.031 kB / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.6684, allocations: 0 / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.6684, allocations: 7.953 kB / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6684, allocations: 3.984 kB / 0.7374 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.6685, allocations: 65.06 kB / 0.7374 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.6685, allocations: 77.11 kB / 0.7375 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.6686, allocations: 0 / 0.7375 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.6686, allocations: 0 / 0.7375 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.6686, allocations: 11.98 kB / 0.7375 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.6686, allocations: 0 / 0.7375 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.6687, allocations: 75.28 kB / 0.7376 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6687, allocations: 0 / 0.7376 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002107/0.6689, allocations: 4 kB / 0.7376 GB, free: 14.41 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 () * 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.0001971/0.6691, allocations: 108.6 kB / 0.7377 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.765e-05/0.6692, allocations: 4 kB / 0.7377 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6692, allocations: 64 / 0.7377 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-06/0.6692, allocations: 11.94 kB / 0.7377 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.6693, allocations: 0 / 0.7377 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.6696, allocations: 48.02 kB / 0.7378 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6699, allocations: 0.6729 MB / 0.7384 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.6699, allocations: 4 kB / 0.7384 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.67, allocations: 11.5 kB / 0.7384 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.67, allocations: 0 / 0.7384 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.002832/0.6728, allocations: 269.2 kB / 0.7387 GB, free: 13.23 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)