Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.004337/0.004337, allocations: 183.1 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7186/0.7186, allocations: 130.6 MB / 138.5 MB, free: 2.254 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.567/1.567, allocations: 221.3 MB / 391.4 MB, free: 13.11 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.001052/0.001052, allocations: 98.34 kB / 473.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.699e-06/9.728e-06, allocations: 7.219 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5471/0.7164, allocations: 110.3 MB / 0.7352 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.7167, allocations: 73.36 kB / 0.7353 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002282/0.719, allocations: 493.2 kB / 0.7358 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.7191, allocations: 7.562 kB / 0.7358 GB, free: 11.36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004399/0.7195, allocations: 337 kB / 0.7361 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7196, allocations: 7.438 kB / 0.7361 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.7196, allocations: 7.781 kB / 0.7361 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.7197, allocations: 168.3 kB / 0.7363 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.7198, allocations: 0 / 0.7363 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.7198, allocations: 3.844 kB / 0.7363 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.304e-05/0.7199, allocations: 17.42 kB / 0.7363 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.72e-05/0.7199, allocations: 37.06 kB / 0.7363 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.72, allocations: 4.156 kB / 0.7363 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.72, allocations: 0 / 0.7363 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.72, allocations: 0 / 0.7363 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.7204, allocations: 253.1 kB / 0.7366 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.7205, allocations: 26.8 kB / 0.7366 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.7205, allocations: 19.03 kB / 0.7366 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.7206, allocations: 8.734 kB / 0.7366 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.7206, allocations: 36.06 kB / 0.7367 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7206, allocations: 0 / 0.7367 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002061/0.7208, allocations: 51.59 kB / 0.7367 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.7209, allocations: 52.16 kB / 0.7368 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.677e-05/0.721, allocations: 102.1 kB / 0.7369 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.721, allocations: 25.7 kB / 0.7369 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.721, allocations: 85.44 kB / 0.737 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.7211, allocations: 7.844 kB / 0.737 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.7211, allocations: 0 / 0.737 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7212, allocations: 323.6 kB / 0.7373 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.7212, allocations: 5.016 kB / 0.7373 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.7212, allocations: 7.719 kB / 0.7373 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.7213, allocations: 8.438 kB / 0.7373 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7213, allocations: 0 / 0.7373 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001015/0.7214, allocations: 52.02 kB / 0.7374 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.7214, allocations: 7.781 kB / 0.7374 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7214, allocations: 0.7969 kB / 0.7374 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7214, allocations: 3.906 kB / 0.7374 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.7215, allocations: 13.77 kB / 0.7374 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7216, allocations: 0 / 0.7374 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.7216, allocations: 15.83 kB / 0.7374 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.7216, allocations: 0.75 kB / 0.7374 GB, free: 25.78 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 (2): * Single equations (assignments): 2 * 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 6.788e-05/0.7217, allocations: 101 kB / 0.7375 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.7218, allocations: 7.75 kB / 0.7375 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.7219, allocations: 57.88 kB / 0.7376 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7219, allocations: 3.812 kB / 0.7376 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7219, allocations: 0 / 0.7376 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.7219, allocations: 4.641 kB / 0.7376 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.7221, allocations: 143.1 kB / 0.7377 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7221, allocations: 0.7031 kB / 0.7377 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.7222, allocations: 16.48 kB / 0.7377 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7222, allocations: 3.906 kB / 0.7377 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.7222, allocations: 0 / 0.7377 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7222, allocations: 0.7969 kB / 0.7377 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7222, allocations: 0 / 0.7377 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001314/0.7223, allocations: 149.7 kB / 0.7379 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.7224, allocations: 77.86 kB / 0.7379 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.7224, allocations: 0 / 0.7379 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.7225, allocations: 10.69 kB / 0.738 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.7225, allocations: 5.391 kB / 0.738 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.7226, allocations: 7.969 kB / 0.738 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.335e-05/0.7226, allocations: 85.67 kB / 0.7381 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002133/0.7228, allocations: 7.688 kB / 0.7381 GB, free: 25.15 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 (2): * Single equations (assignments): 2 * 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.0001582/0.723, allocations: 111.8 kB / 0.7382 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.7231, allocations: 15.52 kB / 0.7382 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7231, allocations: 0 / 0.7382 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.7231, allocations: 7.625 kB / 0.7382 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.7233, allocations: 15.69 kB / 0.7382 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.7236, allocations: 60.42 kB / 0.7383 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.7238, allocations: 0.6935 MB / 0.7389 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.7238, allocations: 0 / 0.7389 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.00242/0.7263, allocations: 0.5011 MB / 0.7394 GB, free: 24.23 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)