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.001091/0.001091, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001078/0.001078, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.309/1.309, 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-master/package.mo): time 0.7674/0.7674, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 75.89 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.383, allocations: 80.89 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.00182/0.3849, allocations: 0.5817 MB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002278/0.3851, allocations: 36.81 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.3852, allocations: 0 / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.3852, allocations: 2.094 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.3852, allocations: 0 / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3855, allocations: 10.03 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.708e-05/0.3855, allocations: 10.23 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.3856, allocations: 1.656 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.3856, allocations: 1.938 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.3857, allocations: 0 / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3857, allocations: 2.281 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.3858, allocations: 19.8 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.3858, allocations: 0.5312 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.3858, allocations: 3.938 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.569e-05/0.3859, allocations: 23.33 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3859, allocations: 1.094 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3859, allocations: 0 / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3859, allocations: 0.7188 kB / 0.5864 GB, free: 25.05 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.0002285/0.3862, allocations: 313.4 kB / 0.5867 GB, free: 24.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3862, allocations: 10.33 kB / 0.5868 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.3862, allocations: 6.047 kB / 0.5868 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.565e-05/0.3863, allocations: 164.4 kB / 0.5869 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3863, allocations: 1.438 kB / 0.5869 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.3863, allocations: 2 kB / 0.5869 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.842e-05/0.3864, allocations: 32.36 kB / 0.5869 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3864, allocations: 3.062 kB / 0.5869 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.3864, allocations: 3.938 kB / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3864, allocations: 0 / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.3865, allocations: 1.688 kB / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.897e-05/0.3866, allocations: 151.9 kB / 0.5871 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.235e-05/0.3866, allocations: 18.61 kB / 0.5871 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.3866, allocations: 6.266 kB / 0.5871 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3867, allocations: 2.469 kB / 0.5871 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.3867, allocations: 39.66 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3867, allocations: 0 / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.00012/0.3868, allocations: 35.52 kB / 0.5872 GB, free: 24.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.3868, allocations: 53.31 kB / 0.5872 GB, free: 24.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.921e-05/0.3869, allocations: 94.56 kB / 0.5873 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.3869, allocations: 25.7 kB / 0.5874 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.049e-05/0.3869, allocations: 83.64 kB / 0.5874 GB, free: 23.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3869, allocations: 7.844 kB / 0.5875 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.387, allocations: 11.88 kB / 0.5875 GB, free: 23.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.387, allocations: 316.1 kB / 0.5878 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.387, allocations: 5.938 kB / 0.5878 GB, free: 23.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.387, allocations: 1.125 kB / 0.5878 GB, free: 23.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.227e-05/0.3871, allocations: 12.39 kB / 0.5878 GB, free: 23.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3871, allocations: 0 / 0.5878 GB, free: 23.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.309e-05/0.3871, allocations: 36.84 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3871, allocations: 5.188 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3871, allocations: 1.125 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3872, allocations: 5.656 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.3872, allocations: 2.625 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3872, allocations: 0 / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.3872, allocations: 1.312 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3873, allocations: 3.938 kB / 0.5878 GB, free: 23.48 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 3.824e-05/0.3873, allocations: 110.7 kB / 0.5879 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.3873, allocations: 1.312 kB / 0.5879 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.528e-05/0.3874, allocations: 50.94 kB / 0.588 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3874, allocations: 2.5 kB / 0.588 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3874, allocations: 0 / 0.588 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3874, allocations: 0 / 0.588 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.713e-05/0.3875, allocations: 151.2 kB / 0.5881 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3875, allocations: 1.031 kB / 0.5881 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.3875, allocations: 2.781 kB / 0.5881 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3875, allocations: 0.9062 kB / 0.5881 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3875, allocations: 4.812 kB / 0.5881 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3875, allocations: 0 / 0.5881 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3875, allocations: 2.656 kB / 0.5881 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.773e-05/0.3876, allocations: 60.38 kB / 0.5882 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.3876, allocations: 78.64 kB / 0.5883 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.3876, allocations: 3.938 kB / 0.5883 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.3876, allocations: 0.5 kB / 0.5883 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.3877, allocations: 5.875 kB / 0.5883 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3877, allocations: 1.062 kB / 0.5883 GB, free: 22.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.224e-05/0.3877, allocations: 77.81 kB / 0.5884 GB, free: 22.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 1.438 kB / 0.5884 GB, free: 22.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001912/0.3879, allocations: 3.906 kB / 0.5884 GB, free: 22.87 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.0001133/0.388, allocations: 104.1 kB / 0.5885 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.015e-05/0.3881, allocations: 8.281 kB / 0.5885 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3881, allocations: 1.562 kB / 0.5885 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.3881, allocations: 6.719 kB / 0.5885 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.3882, allocations: 8.438 kB / 0.5885 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.3884, allocations: 83.33 kB / 0.5886 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3885, allocations: 0.674 MB / 0.5892 GB, free: 21.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.142e-05/0.3885, allocations: 3.062 kB / 0.5892 GB, free: 21.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.3885, allocations: 10.06 kB / 0.5892 GB, free: 21.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3885, allocations: 1.562 kB / 0.5892 GB, free: 21.96 MB / 446.1 MB Notification: Performance of Templates: time 0.002126/0.3907, allocations: 292.8 kB / 0.5895 GB, free: 21.82 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)