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.001345/0.001345, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001396/0.001396, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8232/0.8232, allocations: 135.1 MB / 426.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.91 kB / 0.506 GB, free: 8.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4018, allocations: 80.91 MB / 0.585 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001887/0.4037, allocations: 0.5712 MB / 0.5856 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002282/0.404, allocations: 37.16 kB / 0.5856 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.404, allocations: 0 / 0.5856 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.404, allocations: 3.188 kB / 0.5856 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.404, allocations: 0 / 0.5856 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.4043, allocations: 15.33 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.896e-05/0.4044, allocations: 1.469 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.4044, allocations: 0 / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.4044, allocations: 5.469 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.4045, allocations: 5.375 kB / 0.5856 GB, free: 24.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.4045, allocations: 0 / 0.5856 GB, free: 24.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.4046, allocations: 17.2 kB / 0.5857 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.4046, allocations: 0 / 0.5857 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.4046, allocations: 5.125 kB / 0.5857 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.889e-05/0.4047, allocations: 17.67 kB / 0.5857 GB, free: 24.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4047, allocations: 2.969 kB / 0.5857 GB, free: 24.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4047, allocations: 0 / 0.5857 GB, free: 24.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4048, allocations: 0 / 0.5857 GB, free: 24.92 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.0002455/0.405, allocations: 316.3 kB / 0.586 GB, free: 24.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.405, allocations: 10.8 kB / 0.586 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.4051, allocations: 1.562 kB / 0.586 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.94e-05/0.4051, allocations: 165 kB / 0.5862 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.4052, allocations: 5.391 kB / 0.5862 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4052, allocations: 10.59 kB / 0.5862 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.194e-05/0.4053, allocations: 27.42 kB / 0.5862 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4053, allocations: 1.781 kB / 0.5862 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.4053, allocations: 4.75 kB / 0.5862 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4053, allocations: 0 / 0.5862 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.4053, allocations: 3.125 kB / 0.5862 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.862e-05/0.4054, allocations: 151.5 kB / 0.5864 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.049e-05/0.4055, allocations: 19.42 kB / 0.5864 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.4055, allocations: 9.953 kB / 0.5864 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.4055, allocations: 1.75 kB / 0.5864 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.4055, allocations: 30.56 kB / 0.5864 GB, free: 24.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4055, allocations: 2.875 kB / 0.5864 GB, free: 24.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001159/0.4057, allocations: 38.86 kB / 0.5865 GB, free: 24.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.4057, allocations: 52.59 kB / 0.5865 GB, free: 23.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.611e-05/0.4057, allocations: 93.84 kB / 0.5866 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.4057, allocations: 26.89 kB / 0.5866 GB, free: 23.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/0.4057, allocations: 81.2 kB / 0.5867 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.4058, allocations: 5.094 kB / 0.5867 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.4058, allocations: 11.72 kB / 0.5867 GB, free: 23.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.4059, allocations: 316.3 kB / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.4059, allocations: 10.78 kB / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/0.4059, allocations: 0 / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.4059, allocations: 10.36 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4059, allocations: 0 / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.617e-05/0.406, allocations: 35.97 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.406, allocations: 5.031 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.406, allocations: 1.438 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.406, allocations: 7.875 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.4061, allocations: 2.25 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4061, allocations: 2.312 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.4061, allocations: 0 / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4061, allocations: 2.188 kB / 0.5871 GB, free: 23.34 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.259e-05/0.4062, allocations: 112.7 kB / 0.5872 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.4062, allocations: 1.312 kB / 0.5872 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.4063, allocations: 48 kB / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4063, allocations: 0 / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4063, allocations: 2.531 kB / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.4063, allocations: 0 / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.895e-05/0.4064, allocations: 147.1 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4064, allocations: 1.625 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.4064, allocations: 1.469 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4064, allocations: 1.344 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.4064, allocations: 3.938 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.4064, allocations: 0 / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4064, allocations: 6.594 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.239e-05/0.4065, allocations: 65.25 kB / 0.5875 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.4065, allocations: 77.11 kB / 0.5875 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.4065, allocations: 5.281 kB / 0.5875 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.4065, allocations: 0 / 0.5875 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.4065, allocations: 2.406 kB / 0.5875 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4065, allocations: 1.281 kB / 0.5875 GB, free: 22.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.367e-05/0.4066, allocations: 76.31 kB / 0.5876 GB, free: 22.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4066, allocations: 0 / 0.5876 GB, free: 22.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.4068, allocations: 5.469 kB / 0.5876 GB, free: 22.73 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.0001264/0.4069, allocations: 113 kB / 0.5877 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.928e-05/0.407, allocations: 4.781 kB / 0.5877 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.407, allocations: 0.9688 kB / 0.5877 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-06/0.407, allocations: 6.75 kB / 0.5877 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.4072, allocations: 1.344 kB / 0.5877 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.4073, allocations: 114.4 kB / 0.5879 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.43e-05/0.4074, allocations: 0.6704 MB / 0.5885 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.4075, allocations: 8.469 kB / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4075, allocations: 0 / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of Templates: time 0.001844/0.4093, allocations: 453.3 kB / 0.5889 GB, free: 21.6 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)