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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00119/0.00119, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9706/0.9706, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 64.12 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2117, allocations: 80.93 MB / 0.5839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.002055/0.2138, allocations: 0.631 MB / 0.5845 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.2141, allocations: 31.89 kB / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.2142, allocations: 7.938 kB / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.2142, allocations: 0 / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.942e-06/0.2142, allocations: 0 / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.2146, allocations: 19.92 kB / 0.5846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.2146, allocations: 0 / 0.5846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.2147, allocations: 4 kB / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.832e-05/0.2147, allocations: 0 / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.2148, allocations: 3.984 kB / 0.5846 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2148, allocations: 0 / 0.5846 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.2149, allocations: 15.98 kB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2149, allocations: 0 / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.215, allocations: 11.92 kB / 0.5846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2151, allocations: 15.98 kB / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2151, allocations: 0 / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.2151, allocations: 0 / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2151, allocations: 0 / 0.5846 GB, free: 4.109 MB / 494.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.0004254/0.2156, allocations: 315.6 kB / 0.5849 GB, free: 3.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.2156, allocations: 12.03 kB / 0.5849 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.2157, allocations: 0.9375 kB / 0.5849 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2158, allocations: 164.4 kB / 0.5851 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2158, allocations: 4.375 kB / 0.5851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.2158, allocations: 4.312 kB / 0.5851 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.2159, allocations: 34.25 kB / 0.5851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.216, allocations: 192 / 0.5851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.216, allocations: 3.938 kB / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.216, allocations: 0 / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.216, allocations: 0 / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.2162, allocations: 145.7 kB / 0.5853 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.91e-05/0.2162, allocations: 22.58 kB / 0.5853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.2163, allocations: 16.88 kB / 0.5853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.2163, allocations: 0 / 0.5853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2163, allocations: 30.56 kB / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.2163, allocations: 0 / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001457/0.2165, allocations: 37.64 kB / 0.5854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2165, allocations: 51.41 kB / 0.5854 GB, free: 3.102 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.831e-05/0.2166, allocations: 93.98 kB / 0.5855 GB, free: 3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2166, allocations: 25.7 kB / 0.5855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.2166, allocations: 80.14 kB / 0.5856 GB, free: 2.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.2167, allocations: 7.906 kB / 0.5856 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.2167, allocations: 21.7 kB / 0.5856 GB, free: 2.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2168, allocations: 314.8 kB / 0.5859 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.2168, allocations: 3.938 kB / 0.586 GB, free: 2.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.2169, allocations: 7.938 kB / 0.586 GB, free: 2.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.2169, allocations: 8.922 kB / 0.586 GB, free: 2.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2169, allocations: 0 / 0.586 GB, free: 2.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.431e-05/0.217, allocations: 37.7 kB / 0.586 GB, free: 2.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.217, allocations: 4 kB / 0.586 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.217, allocations: 3.984 kB / 0.586 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.217, allocations: 3.938 kB / 0.586 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.2171, allocations: 4 kB / 0.586 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2171, allocations: 0 / 0.586 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.2171, allocations: 0 / 0.586 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.2171, allocations: 0 / 0.586 GB, free: 2.453 MB / 494.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 7.648e-05/0.2172, allocations: 117.8 kB / 0.5861 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.2172, allocations: 0 / 0.5861 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.2174, allocations: 48.73 kB / 0.5862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2174, allocations: 0 / 0.5862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2174, allocations: 4 kB / 0.5862 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2174, allocations: 0 / 0.5862 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.631e-05/0.2175, allocations: 145.7 kB / 0.5863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2175, allocations: 4 kB / 0.5863 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.2175, allocations: 7.984 kB / 0.5863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2175, allocations: 0 / 0.5863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2175, allocations: 3.938 kB / 0.5863 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2175, allocations: 0 / 0.5863 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2176, allocations: 0 / 0.5863 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.614e-05/0.2176, allocations: 65.08 kB / 0.5864 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.2177, allocations: 81.09 kB / 0.5865 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2177, allocations: 3.938 kB / 0.5865 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.2177, allocations: 0 / 0.5865 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.2177, allocations: 0 / 0.5865 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2177, allocations: 4 kB / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.2178, allocations: 75.28 kB / 0.5866 GB, free: 1.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2178, allocations: 0 / 0.5866 GB, free: 1.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.218, allocations: 4 kB / 0.5866 GB, free: 1.797 MB / 494.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.0001975/0.2182, allocations: 107.2 kB / 0.5867 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.56e-05/0.2183, allocations: 7.984 kB / 0.5867 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2183, allocations: 0 / 0.5867 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.2183, allocations: 7.938 kB / 0.5867 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.2185, allocations: 7.094 kB / 0.5867 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.2187, allocations: 76.94 kB / 0.5868 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2189, allocations: 0.6729 MB / 0.5874 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.949e-05/0.219, allocations: 8.109 kB / 0.5874 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.219, allocations: 11.38 kB / 0.5874 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.219, allocations: 4 kB / 0.5874 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of Templates: time 0.002508/0.2215, allocations: 282.6 kB / 0.5877 GB, free: 0.5625 MB / 494.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)