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.001217/0.001221, allocations: 112 kB / 16.37 MB, free: 5.539 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.001172/0.001172, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8151/0.8151, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4057, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001889/0.4076, allocations: 0.5798 MB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.4079, allocations: 32.97 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.4079, allocations: 0 / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.4079, allocations: 0 / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.408, allocations: 1.062 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.4082, allocations: 19.05 kB / 0.5821 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.4083, allocations: 2.188 kB / 0.5821 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.4083, allocations: 1.5 kB / 0.5821 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.4084, allocations: 5.906 kB / 0.5821 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.4084, allocations: 3.938 kB / 0.5821 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.4084, allocations: 1.844 kB / 0.5821 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.4085, allocations: 17.05 kB / 0.5822 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.4085, allocations: 0 / 0.5822 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.4086, allocations: 7.969 kB / 0.5822 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.4087, allocations: 15.45 kB / 0.5822 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4087, allocations: 0.9062 kB / 0.5822 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4087, allocations: 0 / 0.5822 GB, free: 27.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.4087, allocations: 0.5625 kB / 0.5822 GB, free: 27.03 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.000263/0.409, allocations: 313.9 kB / 0.5825 GB, free: 26.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.409, allocations: 12.98 kB / 0.5825 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.4091, allocations: 0.9375 kB / 0.5825 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.246e-05/0.4091, allocations: 166.3 kB / 0.5826 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4092, allocations: 384 / 0.5826 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.4092, allocations: 2.812 kB / 0.5827 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.91e-05/0.4093, allocations: 31.58 kB / 0.5827 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.4093, allocations: 0.6875 kB / 0.5827 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.4093, allocations: 5.062 kB / 0.5827 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4093, allocations: 2.75 kB / 0.5827 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.4093, allocations: 1.344 kB / 0.5827 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.4095, allocations: 147 kB / 0.5828 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.946e-05/0.4095, allocations: 25.23 kB / 0.5829 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.4095, allocations: 10.83 kB / 0.5829 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.4096, allocations: 1.062 kB / 0.5829 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.4096, allocations: 39.75 kB / 0.5829 GB, free: 26.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4096, allocations: 3.938 kB / 0.5829 GB, free: 26.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.4097, allocations: 39 kB / 0.5829 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.4098, allocations: 52.94 kB / 0.583 GB, free: 26.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.215e-05/0.4098, allocations: 89.86 kB / 0.5831 GB, free: 25.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.4098, allocations: 25.7 kB / 0.5831 GB, free: 25.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.618e-05/0.4098, allocations: 80.14 kB / 0.5832 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.4099, allocations: 9.844 kB / 0.5832 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.4099, allocations: 13.78 kB / 0.5832 GB, free: 25.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.41, allocations: 310.8 kB / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.41, allocations: 1.406 kB / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.41, allocations: 3.406 kB / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.41, allocations: 15.88 kB / 0.5835 GB, free: 25.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.41, allocations: 0 / 0.5835 GB, free: 25.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.541e-05/0.4101, allocations: 35.02 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4101, allocations: 7.938 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4101, allocations: 2.906 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4101, allocations: 3.938 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.4102, allocations: 2.969 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4102, allocations: 3.984 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.4102, allocations: 0.5938 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4102, allocations: 5.391 kB / 0.5836 GB, free: 25.44 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.973e-05/0.4103, allocations: 113.9 kB / 0.5837 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.4103, allocations: 0 / 0.5837 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.441e-05/0.4104, allocations: 47.42 kB / 0.5837 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4104, allocations: 1.281 kB / 0.5837 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4104, allocations: 5.766 kB / 0.5837 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4104, allocations: 1.25 kB / 0.5837 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.508e-05/0.4105, allocations: 141.7 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4105, allocations: 1.406 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.4105, allocations: 1.219 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4105, allocations: 1.938 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.4105, allocations: 3.938 kB / 0.5839 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4105, allocations: 4.812 kB / 0.5839 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4106, allocations: 1.406 kB / 0.5839 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.686e-05/0.4106, allocations: 64.94 kB / 0.584 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.4106, allocations: 78.42 kB / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4107, allocations: 3.938 kB / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.4107, allocations: 2.125 kB / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.4107, allocations: 4 kB / 0.584 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4107, allocations: 6.078 kB / 0.584 GB, free: 24.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.41e-05/0.4107, allocations: 75.91 kB / 0.5841 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4107, allocations: 1.5 kB / 0.5841 GB, free: 24.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.4109, allocations: 10.72 kB / 0.5841 GB, free: 24.82 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.0001417/0.4111, allocations: 98.38 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.204e-05/0.4112, allocations: 5.125 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4112, allocations: 0 / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-06/0.4112, allocations: 6.094 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.4114, allocations: 9.594 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.4116, allocations: 83.78 kB / 0.5843 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.4117, allocations: 0.6738 MB / 0.585 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.4117, allocations: 4.031 kB / 0.585 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.4117, allocations: 8.625 kB / 0.585 GB, free: 23.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4118, allocations: 2.281 kB / 0.585 GB, free: 23.92 MB / 446.1 MB Notification: Performance of Templates: time 0.002272/0.414, allocations: 277.7 kB / 0.5853 GB, free: 23.8 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)