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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00329/0.00329, allocations: 175.2 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7098/0.7098, allocations: 130.6 MB / 138.5 MB, free: 2.297 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.537/1.537, allocations: 221.4 MB / 391.4 MB, free: 13.16 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.0009323/0.0009323, allocations: 100.7 kB / 473.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.432e-05, allocations: 2.969 kB / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1792, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.6174, allocations: 109.5 MB / 0.7346 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.6176, allocations: 75.81 kB / 0.7346 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0009419/0.6186, allocations: 163.2 kB / 0.7348 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6186, allocations: 0 / 0.7348 GB, free: 11.46 MB / 0.4948 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.000225/0.6188, allocations: 309.2 kB / 0.7351 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6189, allocations: 12.28 kB / 0.7351 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.6189, allocations: 2.469 kB / 0.7351 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.619, allocations: 168.2 kB / 0.7352 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.619, allocations: 0 / 0.7352 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.619, allocations: 0 / 0.7352 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.404e-05/0.6191, allocations: 6.453 kB / 0.7353 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.016e-05/0.6192, allocations: 27.11 kB / 0.7353 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-06/0.6192, allocations: 4 kB / 0.7353 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.6192, allocations: 0.7969 kB / 0.7353 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6192, allocations: 0 / 0.7353 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.6193, allocations: 127.3 kB / 0.7354 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.374e-05/0.6194, allocations: 18.48 kB / 0.7354 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.6194, allocations: 5.516 kB / 0.7354 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.6194, allocations: 11.47 kB / 0.7354 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.6194, allocations: 35.22 kB / 0.7355 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.6195, allocations: 0 / 0.7355 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.6196, allocations: 30.83 kB / 0.7355 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.6197, allocations: 56.02 kB / 0.7356 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.011e-05/0.6197, allocations: 88.94 kB / 0.7356 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.6197, allocations: 25.7 kB / 0.7357 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.6197, allocations: 84.05 kB / 0.7357 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.6198, allocations: 0.75 kB / 0.7357 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.6198, allocations: 0 / 0.7357 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.6199, allocations: 319.4 kB / 0.7361 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.6199, allocations: 3.312 kB / 0.7361 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.6199, allocations: 0 / 0.7361 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.6199, allocations: 4.469 kB / 0.7361 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6199, allocations: 3.938 kB / 0.7361 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.577e-05/0.62, allocations: 39.48 kB / 0.7361 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.62, allocations: 3.875 kB / 0.7361 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.62, allocations: 0 / 0.7361 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.6201, allocations: 4.844 kB / 0.7361 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.183e-05/0.6201, allocations: 3.812 kB / 0.7361 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.6201, allocations: 2.312 kB / 0.7361 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.6201, allocations: 3.938 kB / 0.7361 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.6201, allocations: 0 / 0.7361 GB, free: 25.97 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 5.071e-05/0.6202, allocations: 105.5 kB / 0.7362 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.6202, allocations: 3.844 kB / 0.7362 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.6203, allocations: 47.58 kB / 0.7363 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.6203, allocations: 4.406 kB / 0.7363 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6203, allocations: 3.938 kB / 0.7363 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6204, allocations: 0 / 0.7363 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.665e-05/0.6204, allocations: 129 kB / 0.7364 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.6204, allocations: 0 / 0.7364 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.6205, allocations: 4.5 kB / 0.7364 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6205, allocations: 4.875 kB / 0.7364 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.6205, allocations: 0 / 0.7364 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.6205, allocations: 0 / 0.7364 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6205, allocations: 0 / 0.7364 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.102e-05/0.6206, allocations: 55.39 kB / 0.7365 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.6206, allocations: 81.67 kB / 0.7365 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.6206, allocations: 2.734 kB / 0.7365 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.6206, allocations: 0 / 0.7365 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.6206, allocations: 4.688 kB / 0.7365 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6207, allocations: 11.06 kB / 0.7366 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-05/0.6207, allocations: 75.28 kB / 0.7366 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001963/0.6209, allocations: 4.5 kB / 0.7366 GB, free: 25.41 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.0001295/0.621, allocations: 103.5 kB / 0.7367 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.907e-05/0.6211, allocations: 7.781 kB / 0.7367 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6211, allocations: 0 / 0.7367 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-06/0.6211, allocations: 8.484 kB / 0.7367 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.6212, allocations: 0 / 0.7367 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001359/0.6214, allocations: 41.31 kB / 0.7368 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.6216, allocations: 0.6825 MB / 0.7375 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.6216, allocations: 0 / 0.7375 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.001733/0.6234, allocations: 317.9 kB / 0.7378 GB, free: 24.5 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)