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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 100.8 kB / 16.35 MB, free: 5.824 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.00164/0.00164, allocations: 193.9 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7869/0.7869, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3625, allocations: 80.19 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0017/0.3642, allocations: 0.584 MB / 0.5821 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002411/0.3645, allocations: 33.16 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.3645, allocations: 0 / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.3645, allocations: 2.625 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.3645, allocations: 0 / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3648, allocations: 22.39 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.3649, allocations: 1.594 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.3649, allocations: 1.312 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.3649, allocations: 1.375 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.365, allocations: 1 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.365, allocations: 0.5 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.3651, allocations: 20.28 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-06/0.3651, allocations: 1.094 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.3651, allocations: 7.922 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.578e-05/0.3652, allocations: 16.86 kB / 0.5822 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3652, allocations: 0 / 0.5822 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3652, allocations: 0 / 0.5822 GB, free: 27.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3652, allocations: 0 / 0.5822 GB, free: 27.08 MB / 446.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.0002327/0.3655, allocations: 317.2 kB / 0.5825 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3655, allocations: 10.56 kB / 0.5825 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.3655, allocations: 0.9375 kB / 0.5825 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.309e-05/0.3656, allocations: 165.2 kB / 0.5826 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3656, allocations: 1.75 kB / 0.5826 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3656, allocations: 4.906 kB / 0.5826 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.3657, allocations: 33.66 kB / 0.5827 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3657, allocations: 0.7812 kB / 0.5827 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3657, allocations: 3.938 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3658, allocations: 0.5 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.3658, allocations: 3.344 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.323e-05/0.3659, allocations: 143.1 kB / 0.5828 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.3659, allocations: 21.95 kB / 0.5828 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.3659, allocations: 9.547 kB / 0.5829 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.366, allocations: 2.938 kB / 0.5829 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.366, allocations: 35.45 kB / 0.5829 GB, free: 26.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.366, allocations: 5.594 kB / 0.5829 GB, free: 26.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.3661, allocations: 36.52 kB / 0.5829 GB, free: 26.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.3662, allocations: 51.41 kB / 0.583 GB, free: 26.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.694e-05/0.3662, allocations: 89.86 kB / 0.5831 GB, free: 26.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.3662, allocations: 27.8 kB / 0.5831 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.332e-05/0.3662, allocations: 80.92 kB / 0.5832 GB, free: 25.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3662, allocations: 7.906 kB / 0.5832 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.3663, allocations: 13.5 kB / 0.5832 GB, free: 25.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.3663, allocations: 316 kB / 0.5835 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.3664, allocations: 9.781 kB / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.3664, allocations: 2.312 kB / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.3664, allocations: 8.891 kB / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3664, allocations: 0 / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.397e-05/0.3664, allocations: 34.73 kB / 0.5835 GB, free: 25.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3665, allocations: 7.031 kB / 0.5835 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3665, allocations: 0 / 0.5835 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3665, allocations: 3.938 kB / 0.5836 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.3665, allocations: 8.078 kB / 0.5836 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3666, allocations: 0 / 0.5836 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.3666, allocations: 1.312 kB / 0.5836 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3666, allocations: 3.75 kB / 0.5836 GB, free: 25.5 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.3666, allocations: 111.2 kB / 0.5837 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.3667, allocations: 3.984 kB / 0.5837 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.3667, allocations: 47.91 kB / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3668, allocations: 1.469 kB / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3668, allocations: 0 / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3668, allocations: 2.031 kB / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.296e-05/0.3668, allocations: 143.2 kB / 0.5839 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3668, allocations: 4 kB / 0.5839 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.3668, allocations: 1.656 kB / 0.5839 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3669, allocations: 5.422 kB / 0.5839 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3669, allocations: 4.656 kB / 0.5839 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3669, allocations: 1.312 kB / 0.5839 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3669, allocations: 0.5625 kB / 0.5839 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.797e-05/0.3669, allocations: 61.98 kB / 0.5839 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.3669, allocations: 78.83 kB / 0.584 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.367, allocations: 7.922 kB / 0.584 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.367, allocations: 0 / 0.584 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.367, allocations: 1.719 kB / 0.584 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.367, allocations: 3 kB / 0.584 GB, free: 24.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.087e-05/0.367, allocations: 75.28 kB / 0.5841 GB, free: 24.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.367, allocations: 0 / 0.5841 GB, free: 24.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.3672, allocations: 9.062 kB / 0.5841 GB, free: 24.89 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.3673, allocations: 104.1 kB / 0.5842 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.216e-05/0.3674, allocations: 9.156 kB / 0.5842 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3674, allocations: 1.062 kB / 0.5842 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.687e-06/0.3674, allocations: 10.58 kB / 0.5842 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3676, allocations: 8.625 kB / 0.5842 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.3677, allocations: 78.77 kB / 0.5843 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.3678, allocations: 0.6737 MB / 0.585 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.3679, allocations: 5.344 kB / 0.585 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.3679, allocations: 8.562 kB / 0.585 GB, free: 23.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3679, allocations: 0 / 0.585 GB, free: 23.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002182/0.3701, allocations: 283.2 kB / 0.5852 GB, free: 23.85 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)