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.001166/0.001166, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.008632/0.008632, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8083/0.8083, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 8.562 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4677, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0006765/0.4684, allocations: 310.8 kB / 0.584 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.4687, allocations: 44.52 kB / 0.584 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-06/0.4687, allocations: 0.5625 kB / 0.584 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.4688, allocations: 0 / 0.584 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.4688, allocations: 0.6875 kB / 0.584 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.469, allocations: 15.75 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.456e-05/0.469, allocations: 2.688 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.4691, allocations: 1.625 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.4691, allocations: 1.781 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.4692, allocations: 1.938 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.4692, allocations: 0 / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.4693, allocations: 20.03 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.4693, allocations: 0.5625 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.4693, allocations: 35.34 kB / 0.5841 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/0.4694, allocations: 15.47 kB / 0.5841 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4694, allocations: 0 / 0.5841 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4694, allocations: 1.062 kB / 0.5841 GB, free: 3.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.4695, allocations: 0 / 0.5841 GB, free: 3.738 MB / 430.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.0002233/0.4697, allocations: 312 kB / 0.5844 GB, free: 3.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4697, allocations: 9.469 kB / 0.5844 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.4698, allocations: 1.734 kB / 0.5844 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.767e-05/0.4698, allocations: 165.1 kB / 0.5846 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.4698, allocations: 5.156 kB / 0.5846 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.4699, allocations: 1.188 kB / 0.5846 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.4699, allocations: 30.12 kB / 0.5846 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.47, allocations: 192 / 0.5846 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.47, allocations: 4.688 kB / 0.5846 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.47, allocations: 0.8125 kB / 0.5846 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.47, allocations: 5.125 kB / 0.5846 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.4701, allocations: 153.7 kB / 0.5848 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.401e-05/0.4702, allocations: 20.55 kB / 0.5848 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.4702, allocations: 6.625 kB / 0.5848 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.4702, allocations: 2.156 kB / 0.5848 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.4703, allocations: 36.3 kB / 0.5848 GB, free: 2.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4703, allocations: 0 / 0.5848 GB, free: 2.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.4704, allocations: 40.81 kB / 0.5849 GB, free: 2.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.4704, allocations: 56.5 kB / 0.5849 GB, free: 2.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.696e-05/0.4704, allocations: 89.86 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.4705, allocations: 26.31 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.003e-05/0.4705, allocations: 81.17 kB / 0.5851 GB, free: 2.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4705, allocations: 3.906 kB / 0.5851 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.4705, allocations: 11.34 kB / 0.5851 GB, free: 2.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.4706, allocations: 315.3 kB / 0.5854 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.4706, allocations: 5.094 kB / 0.5854 GB, free: 2.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.4706, allocations: 9.844 kB / 0.5854 GB, free: 2.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.4706, allocations: 8.172 kB / 0.5855 GB, free: 2.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4707, allocations: 0 / 0.5855 GB, free: 2.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.375e-05/0.4707, allocations: 33.16 kB / 0.5855 GB, free: 2.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4707, allocations: 6.688 kB / 0.5855 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4707, allocations: 1.828 kB / 0.5855 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4708, allocations: 3.938 kB / 0.5855 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.4708, allocations: 2.641 kB / 0.5855 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4708, allocations: 0.8125 kB / 0.5855 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.4708, allocations: 8.031 kB / 0.5855 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.4709, allocations: 2.75 kB / 0.5855 GB, free: 2.156 MB / 430.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.321e-05/0.4709, allocations: 107.6 kB / 0.5856 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.4709, allocations: 0 / 0.5856 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.471, allocations: 46.31 kB / 0.5857 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.471, allocations: 0 / 0.5857 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.471, allocations: 4.75 kB / 0.5857 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4711, allocations: 5.406 kB / 0.5857 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.577e-05/0.4711, allocations: 144.7 kB / 0.5858 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4711, allocations: 0 / 0.5858 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.4711, allocations: 3.781 kB / 0.5858 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4712, allocations: 0 / 0.5858 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4712, allocations: 4.688 kB / 0.5858 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4712, allocations: 0.6562 kB / 0.5858 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4712, allocations: 0 / 0.5858 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.676e-05/0.4712, allocations: 66.02 kB / 0.5859 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.4713, allocations: 78.44 kB / 0.586 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.4713, allocations: 9.281 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.4713, allocations: 0.9062 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.4713, allocations: 0.6562 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.4713, allocations: 2.5 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.016e-05/0.4713, allocations: 75.28 kB / 0.586 GB, free: 1.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4713, allocations: 0 / 0.586 GB, free: 1.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.4715, allocations: 4.594 kB / 0.586 GB, free: 1.551 MB / 430.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.0001351/0.4717, allocations: 108.5 kB / 0.5861 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.398e-05/0.4717, allocations: 5.141 kB / 0.5862 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4718, allocations: 7.875 kB / 0.5862 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-06/0.4718, allocations: 2.672 kB / 0.5862 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.4719, allocations: 1.25 kB / 0.5862 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001426/0.4721, allocations: 73.81 kB / 0.5862 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.4721, allocations: 0.6754 MB / 0.5869 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.693e-05/0.4722, allocations: 1.672 kB / 0.5869 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.4722, allocations: 13.55 kB / 0.5869 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4722, allocations: 1.438 kB / 0.5869 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of Templates: time 0.002278/0.4745, allocations: 274.7 kB / 0.5872 GB, free: 0.5898 MB / 430.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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)