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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 102 kB / 16.35 MB, free: 5.875 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.001201/0.001201, allocations: 196 kB / 17.3 MB, free: 5.516 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7916/0.7916, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 55.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3984, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002339/0.4007, allocations: 1.432 MB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000262/0.401, allocations: 93.73 kB / 0.583 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.4011, allocations: 1.344 kB / 0.583 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.571e-05/0.4011, allocations: 9.672 kB / 0.583 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.231e-05/0.4012, allocations: 5.344 kB / 0.583 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.4014, allocations: 17.52 kB / 0.583 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.4015, allocations: 30.02 kB / 0.583 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.4016, allocations: 5.594 kB / 0.583 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.4016, allocations: 10.61 kB / 0.583 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.4017, allocations: 11.88 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4017, allocations: 1.281 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.4018, allocations: 23.28 kB / 0.5831 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.4018, allocations: 3.906 kB / 0.5831 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.4018, allocations: 12.86 kB / 0.5831 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.4019, allocations: 39.92 kB / 0.5831 GB, free: 26.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.402, allocations: 0 / 0.5831 GB, free: 26.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.402, allocations: 0.625 kB / 0.5831 GB, free: 26.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.402, allocations: 0 / 0.5831 GB, free: 26.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003485/0.4023, allocations: 346.8 kB / 0.5835 GB, free: 25.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.4024, allocations: 8.562 kB / 0.5835 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.4024, allocations: 6.75 kB / 0.5835 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.252e-05/0.4025, allocations: 170.9 kB / 0.5836 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.4025, allocations: 0.9062 kB / 0.5836 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.4025, allocations: 4.188 kB / 0.5837 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.4027, allocations: 54.61 kB / 0.5837 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4027, allocations: 5.422 kB / 0.5837 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4027, allocations: 3.938 kB / 0.5837 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4027, allocations: 0 / 0.5837 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.4029, allocations: 45.34 kB / 0.5838 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.4031, allocations: 248.1 kB / 0.584 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4032, allocations: 50.67 kB / 0.584 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.4033, allocations: 29.94 kB / 0.5841 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.4034, allocations: 1.625 kB / 0.5841 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.4034, allocations: 31.84 kB / 0.5841 GB, free: 25.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4034, allocations: 0.625 kB / 0.5841 GB, free: 25.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003292/0.4037, allocations: 95.27 kB / 0.5842 GB, free: 25.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.4038, allocations: 52.53 kB / 0.5842 GB, free: 25.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.4038, allocations: 107.6 kB / 0.5843 GB, free: 24.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.4038, allocations: 25.7 kB / 0.5844 GB, free: 24.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.4039, allocations: 89.38 kB / 0.5845 GB, free: 24.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.4039, allocations: 9.234 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.4039, allocations: 13.47 kB / 0.5845 GB, free: 24.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.404, allocations: 316.1 kB / 0.5848 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.4041, allocations: 15.8 kB / 0.5848 GB, free: 24.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.4041, allocations: 22.34 kB / 0.5848 GB, free: 24.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4043, allocations: 45.17 kB / 0.5849 GB, free: 24.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4043, allocations: 0 / 0.5849 GB, free: 24.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.4045, allocations: 73.44 kB / 0.5849 GB, free: 24.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4045, allocations: 5.219 kB / 0.5849 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4045, allocations: 0.5938 kB / 0.5849 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4045, allocations: 0 / 0.5849 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.4046, allocations: 12.14 kB / 0.5849 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4046, allocations: 1.656 kB / 0.5849 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.4047, allocations: 10.48 kB / 0.585 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.4047, allocations: 5.125 kB / 0.585 GB, free: 24.42 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 (2): * Single equations (assignments): 2 * 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.74e-05/0.4047, allocations: 112.9 kB / 0.5851 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.4048, allocations: 3.156 kB / 0.5851 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.405, allocations: 78.81 kB / 0.5851 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.405, allocations: 1.406 kB / 0.5851 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.405, allocations: 5.297 kB / 0.5852 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.405, allocations: 0 / 0.5852 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.4051, allocations: 163.7 kB / 0.5853 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4051, allocations: 2.125 kB / 0.5853 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.4052, allocations: 11.23 kB / 0.5853 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4052, allocations: 1.406 kB / 0.5853 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4052, allocations: 0 / 0.5853 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4052, allocations: 0 / 0.5853 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4052, allocations: 5.156 kB / 0.5853 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.4054, allocations: 172.1 kB / 0.5855 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.4054, allocations: 77.98 kB / 0.5856 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.4055, allocations: 5.078 kB / 0.5856 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.4055, allocations: 4.312 kB / 0.5856 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.4056, allocations: 6.625 kB / 0.5856 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4056, allocations: 5.016 kB / 0.5856 GB, free: 23.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.471e-05/0.4056, allocations: 84.75 kB / 0.5857 GB, free: 23.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4056, allocations: 2.562 kB / 0.5857 GB, free: 23.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.4058, allocations: 7.656 kB / 0.5857 GB, free: 23.69 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 (2): * Single equations (assignments): 2 * 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.0001067/0.406, allocations: 97.03 kB / 0.5858 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.4062, allocations: 46.73 kB / 0.5858 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4062, allocations: 0 / 0.5858 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.4062, allocations: 20.8 kB / 0.5858 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.4065, allocations: 15.61 kB / 0.5858 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.4067, allocations: 121 kB / 0.586 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.4069, allocations: 0.6796 MB / 0.5866 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.149e-05/0.4069, allocations: 4.156 kB / 0.5866 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.4069, allocations: 7.438 kB / 0.5866 GB, free: 22.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4069, allocations: 0.5 kB / 0.5866 GB, free: 22.73 MB / 446.1 MB Notification: Performance of Templates: time 0.002544/0.4095, allocations: 0.5325 MB / 0.5872 GB, free: 22.48 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)