Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008082/0.0008082, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0008561/0.0008561, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.099/1.099, allocations: 135.3 MB / 426.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 12 kB / 0.507 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1873, allocations: 82.31 MB / 0.5874 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007537/0.1881, allocations: 307.1 kB / 0.5877 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000211/0.1884, allocations: 31.91 kB / 0.5877 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.1884, allocations: 0 / 0.5877 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.1884, allocations: 0 / 0.5877 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.1885, allocations: 3.938 kB / 0.5877 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.1887, allocations: 11.98 kB / 0.5877 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.644e-05/0.1887, allocations: 4 kB / 0.5877 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.1888, allocations: 0 / 0.5877 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.1888, allocations: 7.938 kB / 0.5877 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.1889, allocations: 7.938 kB / 0.5877 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1889, allocations: 0 / 0.5877 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.189, allocations: 23.98 kB / 0.5878 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.189, allocations: 7.984 kB / 0.5878 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.189, allocations: 25.7 kB / 0.5878 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.936e-05/0.1891, allocations: 15.97 kB / 0.5878 GB, free: 2.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1891, allocations: 0 / 0.5878 GB, free: 2.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1891, allocations: 0 / 0.5878 GB, free: 2.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.1891, allocations: 0 / 0.5878 GB, free: 2.688 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000351/0.1895, allocations: 349.1 kB / 0.5881 GB, free: 2.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1895, allocations: 12.03 kB / 0.5882 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1896, allocations: 3.906 kB / 0.5882 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1897, allocations: 171.2 kB / 0.5883 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1897, allocations: 4 kB / 0.5883 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1897, allocations: 0 / 0.5883 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1899, allocations: 53.69 kB / 0.5884 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1899, allocations: 0 / 0.5884 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1899, allocations: 0 / 0.5884 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.1899, allocations: 7.984 kB / 0.5884 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.165e-05/0.19, allocations: 27.98 kB / 0.5884 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.1904, allocations: 268.7 kB / 0.5887 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.1904, allocations: 14.58 kB / 0.5887 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.1904, allocations: 12.91 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.1905, allocations: 0 / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1905, allocations: 30.56 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.1905, allocations: 4 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001812/0.1907, allocations: 75.3 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1907, allocations: 77.11 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.1908, allocations: 113.8 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1909, allocations: 25.7 kB / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1909, allocations: 107.9 kB / 0.5891 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.1909, allocations: 3.906 kB / 0.5891 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.191, allocations: 4 kB / 0.5891 GB, free: 1.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1911, allocations: 323 kB / 0.5894 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.1911, allocations: 11.94 kB / 0.5894 GB, free: 0.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.1912, allocations: 58.86 kB / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.1912, allocations: 53.62 kB / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1913, allocations: 3.938 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001388/0.1914, allocations: 111.2 kB / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.1914, allocations: 43.98 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1915, allocations: 256 / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1915, allocations: 11.98 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.1916, allocations: 19.94 kB / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1916, allocations: 0 / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.167e-05/0.1916, allocations: 7.906 kB / 0.5897 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1917, allocations: 8 kB / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.1918, allocations: 151.4 kB / 0.5899 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1918, allocations: 4 kB / 0.5899 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.1918, allocations: 3.531 kB / 0.5899 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1918, allocations: 4 kB / 0.5899 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1918, allocations: 3.953 kB / 0.5899 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1919, allocations: 4 kB / 0.5899 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.192, allocations: 153.7 kB / 0.5901 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.192, allocations: 0 / 0.5901 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.192, allocations: 4 kB / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.192, allocations: 0 / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.192, allocations: 0 / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.192, allocations: 0 / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.192, allocations: 0 / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1922, allocations: 169.2 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.1922, allocations: 81.02 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.1923, allocations: 4 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.1923, allocations: 0 / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.1923, allocations: 7.922 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1924, allocations: 4 kB / 0.5903 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.1924, allocations: 87.75 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1924, allocations: 0 / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002367/0.1927, allocations: 15.98 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB 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): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001992/0.1929, allocations: 107.2 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.193, allocations: 87.27 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.193, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.1931, allocations: 55.41 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1933, allocations: 4.562 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.1935, allocations: 110.8 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1938, allocations: 0.677 MB / 0.5914 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.755e-05/0.1939, allocations: 16.16 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.1939, allocations: 7.438 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1939, allocations: 3.938 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.002666/0.1966, allocations: 0.489 MB / 0.5919 GB, free: 14.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)