Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 174.7 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-master/package.mo): time 0.7645/0.7645, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.63/1.63, allocations: 221.3 MB / 400.4 MB, free: 5.801 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.0008585/0.0008585, allocations: 97.44 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.357e-05/4.381e-05, allocations: 3.031 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1696, allocations: 82.31 MB / 0.6404 GB, free: 7.816 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6218/0.7915, allocations: 111.2 MB / 0.749 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.7918, allocations: 71.84 kB / 0.7491 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00275/0.7946, allocations: 0.7877 MB / 0.7499 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7946, allocations: 0 / 0.7499 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7946, allocations: 0 / 0.7499 GB, free: 27.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003124/0.7949, allocations: 332.8 kB / 0.7502 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.795, allocations: 11.38 kB / 0.7502 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.795, allocations: 8.156 kB / 0.7502 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.7951, allocations: 172 kB / 0.7504 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.7951, allocations: 6.688 kB / 0.7504 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.7952, allocations: 0 / 0.7504 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.7953, allocations: 43.83 kB / 0.7504 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7953, allocations: 0 / 0.7504 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.7953, allocations: 0 / 0.7504 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7953, allocations: 0 / 0.7504 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.7954, allocations: 10.88 kB / 0.7504 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.7958, allocations: 275.5 kB / 0.7507 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.7958, allocations: 32.83 kB / 0.7507 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.7959, allocations: 15.67 kB / 0.7508 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.7959, allocations: 3.875 kB / 0.7508 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.7959, allocations: 33.88 kB / 0.7508 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7959, allocations: 4 kB / 0.7508 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.7961, allocations: 47.98 kB / 0.7508 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.7961, allocations: 51.41 kB / 0.7509 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.7962, allocations: 98.83 kB / 0.751 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.7962, allocations: 29.64 kB / 0.751 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.7963, allocations: 86.3 kB / 0.7511 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.7963, allocations: 7.844 kB / 0.7511 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.7963, allocations: 3.125 kB / 0.7511 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7965, allocations: 322.3 kB / 0.7514 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.7965, allocations: 6.875 kB / 0.7514 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.7965, allocations: 11.66 kB / 0.7514 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.7966, allocations: 10.27 kB / 0.7514 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7966, allocations: 0 / 0.7514 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.045e-05/0.7966, allocations: 43.7 kB / 0.7515 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7967, allocations: 7.719 kB / 0.7515 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7967, allocations: 3.516 kB / 0.7515 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7967, allocations: 3.984 kB / 0.7515 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.7968, allocations: 11.91 kB / 0.7515 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7968, allocations: 3.375 kB / 0.7515 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.7969, allocations: 7.531 kB / 0.7515 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.7969, allocations: 0 / 0.7515 GB, free: 25.91 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 5.861e-05/0.7969, allocations: 108.9 kB / 0.7516 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.797, allocations: 7.344 kB / 0.7516 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.7971, allocations: 61.92 kB / 0.7517 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.7971, allocations: 0 / 0.7517 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7971, allocations: 3.719 kB / 0.7517 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7971, allocations: 0 / 0.7517 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.7973, allocations: 166.2 kB / 0.7518 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7973, allocations: 0 / 0.7518 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.7974, allocations: 14.64 kB / 0.7519 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7974, allocations: 0 / 0.7519 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.7974, allocations: 0 / 0.7519 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7974, allocations: 7.453 kB / 0.7519 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7974, allocations: 0 / 0.7519 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.7975, allocations: 152.2 kB / 0.752 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.7975, allocations: 77.11 kB / 0.7521 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.7976, allocations: 3.375 kB / 0.7521 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.7976, allocations: 10.95 kB / 0.7521 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.7977, allocations: 4.031 kB / 0.7521 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.7977, allocations: 3.812 kB / 0.7521 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.7978, allocations: 89.17 kB / 0.7522 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7978, allocations: 0 / 0.7522 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002119/0.798, allocations: 7.625 kB / 0.7522 GB, free: 25.25 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.0001696/0.7981, allocations: 102.4 kB / 0.7523 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.7982, allocations: 17.81 kB / 0.7523 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7982, allocations: 0 / 0.7523 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.7983, allocations: 18.94 kB / 0.7523 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.7984, allocations: 3.953 kB / 0.7523 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.7986, allocations: 66.58 kB / 0.7524 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.7989, allocations: 0.6824 MB / 0.7531 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.7989, allocations: 4.844 kB / 0.7531 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.7989, allocations: 7.438 kB / 0.7531 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/0.7989, allocations: 0 / 0.7531 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.002249/0.8012, allocations: 475 kB / 0.7535 GB, free: 24.32 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)