Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008447/0.0008446, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8547/0.8547, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002847, allocations: 12.5 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0005555/0.1462, allocations: 295.1 kB / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001517/0.1463, allocations: 35.91 kB / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-06/0.1464, allocations: 0 / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.714e-06/0.1464, allocations: 4 kB / 0.5875 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.1464, allocations: 0 / 0.5875 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.1466, allocations: 7.984 kB / 0.5875 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.831e-05/0.1466, allocations: 4 kB / 0.5875 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.1467, allocations: 0 / 0.5875 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1467, allocations: 7.922 kB / 0.5876 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.1467, allocations: 4 kB / 0.5876 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.1468, allocations: 0 / 0.5876 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.1468, allocations: 11.98 kB / 0.5876 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-06/0.1468, allocations: 0 / 0.5876 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1469, allocations: 29.7 kB / 0.5876 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.925e-05/0.1469, allocations: 11.98 kB / 0.5876 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1469, allocations: 0 / 0.5876 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1469, allocations: 3.938 kB / 0.5876 GB, free: 2.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.147, allocations: 0 / 0.5876 GB, free: 2.68 MB / 494.1 MB 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.000228/0.1472, allocations: 319.4 kB / 0.5879 GB, free: 2.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1472, allocations: 8.031 kB / 0.5879 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.1472, allocations: 0 / 0.5879 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/0.1473, allocations: 167 kB / 0.5881 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.1474, allocations: 0 / 0.5881 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.1474, allocations: 4 kB / 0.5881 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.1475, allocations: 37.62 kB / 0.5881 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.1475, allocations: 0 / 0.5881 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.1475, allocations: 0 / 0.5881 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1475, allocations: 0 / 0.5881 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.1475, allocations: 4 kB / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.1476, allocations: 149.6 kB / 0.5883 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.031e-05/0.1477, allocations: 14.58 kB / 0.5883 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1477, allocations: 8.094 kB / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1477, allocations: 34.55 kB / 0.5883 GB, free: 1.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.685e-06/0.1477, allocations: 0 / 0.5883 GB, free: 1.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.914e-05/0.1478, allocations: 33.64 kB / 0.5884 GB, free: 1.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1479, allocations: 59.41 kB / 0.5884 GB, free: 1.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.793e-05/0.1479, allocations: 89.86 kB / 0.5885 GB, free: 1.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.1479, allocations: 25.7 kB / 0.5885 GB, free: 1.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.148, allocations: 84.27 kB / 0.5886 GB, free: 1.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.148, allocations: 3.906 kB / 0.5886 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.148, allocations: 0 / 0.5886 GB, free: 1.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.1481, allocations: 310.8 kB / 0.5889 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.1481, allocations: 4 kB / 0.5889 GB, free: 1.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.1481, allocations: 3.984 kB / 0.5889 GB, free: 1.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.218e-05/0.1481, allocations: 0 / 0.5889 GB, free: 1.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1481, allocations: 0 / 0.5889 GB, free: 1.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.1e-05/0.1482, allocations: 45.69 kB / 0.589 GB, free: 1.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1482, allocations: 8 kB / 0.589 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1482, allocations: 0 / 0.589 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1482, allocations: 0 / 0.589 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.1483, allocations: 4 kB / 0.589 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1483, allocations: 7.922 kB / 0.589 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.1483, allocations: 0 / 0.589 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1483, allocations: 3.984 kB / 0.589 GB, free: 1.066 MB / 494.1 MB 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 () * Number of clocked 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 6.124e-05/0.1484, allocations: 109.8 kB / 0.5891 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.1484, allocations: 3.953 kB / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.225e-05/0.1485, allocations: 44.77 kB / 0.5891 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1485, allocations: 3.984 kB / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1485, allocations: 4 kB / 0.5891 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1485, allocations: 0 / 0.5891 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.347e-05/0.1486, allocations: 141.7 kB / 0.5893 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1486, allocations: 0 / 0.5893 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.1486, allocations: 4 kB / 0.5893 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1486, allocations: 11.92 kB / 0.5893 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.1487, allocations: 0 / 0.5893 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1487, allocations: 0 / 0.5893 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1487, allocations: 0 / 0.5893 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.586e-05/0.1487, allocations: 61.12 kB / 0.5893 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.1488, allocations: 77.11 kB / 0.5894 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1488, allocations: 7.953 kB / 0.5894 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.1488, allocations: 0 / 0.5894 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1488, allocations: 15.94 kB / 0.5894 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1488, allocations: 4 kB / 0.5894 GB, free: 496 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.1489, allocations: 79.28 kB / 0.5895 GB, free: 416 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1489, allocations: 0 / 0.5895 GB, free: 416 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.149, allocations: 4 kB / 0.5895 GB, free: 412 kB / 494.1 MB 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 () * Number of clocked 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.0001258/0.1492, allocations: 99.25 kB / 0.5896 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.856e-05/0.1492, allocations: 4 kB / 0.5896 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1492, allocations: 4.062 kB / 0.5896 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.171e-06/0.1492, allocations: 0 / 0.5896 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.281e-05/0.1493, allocations: 4 kB / 0.5896 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001346/0.1495, allocations: 86.91 kB / 0.5897 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1497, allocations: 0.6731 MB / 0.5904 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.1497, allocations: 4.062 kB / 0.5904 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.1498, allocations: 11.42 kB / 0.5904 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1498, allocations: 3.938 kB / 0.5904 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.001825/0.1516, allocations: 270.4 kB / 0.5906 GB, free: 15.2 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: