Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, 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.001306/0.001307, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9199/0.9199, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 59.41 kB / 0.5049 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1852, allocations: 80.92 MB / 0.5839 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002854/0.1881, allocations: 1.495 MB / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000419/0.1885, allocations: 187.4 kB / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.1886, allocations: 0 / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.1886, allocations: 0 / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1889, allocations: 19.92 kB / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1891, allocations: 51.05 kB / 0.5856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.1892, allocations: 51.86 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1893, allocations: 7.984 kB / 0.5857 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.1894, allocations: 23.94 kB / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.248e-05/0.1895, allocations: 19.95 kB / 0.5857 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1895, allocations: 4 kB / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1895, allocations: 4 kB / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.1895, allocations: 11.94 kB / 0.5857 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.1896, allocations: 19.92 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1897, allocations: 40.2 kB / 0.5858 GB, free: 2.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1897, allocations: 3.938 kB / 0.5858 GB, free: 2.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1897, allocations: 0 / 0.5858 GB, free: 2.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1897, allocations: 0 / 0.5858 GB, free: 2.984 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005472/0.1903, allocations: 351.3 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1903, allocations: 12.03 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1904, allocations: 0.9375 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1905, allocations: 180.2 kB / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1905, allocations: 384 / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1906, allocations: 4.375 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1907, allocations: 64.81 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1907, allocations: 4.188 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1907, allocations: 7.938 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1907, allocations: 0 / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.338e-05/0.1908, allocations: 15.94 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1912, allocations: 260.9 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.1913, allocations: 42.5 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.1914, allocations: 20.94 kB / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.1914, allocations: 0 / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.1916, allocations: 67.33 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1916, allocations: 0 / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001979/0.1918, allocations: 73.67 kB / 0.5868 GB, free: 1.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.1918, allocations: 102.8 kB / 0.5869 GB, free: 1.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.1919, allocations: 101.9 kB / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1919, allocations: 33.7 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1921, allocations: 92.02 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1921, allocations: 7.906 kB / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1922, allocations: 21.7 kB / 0.5872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.1923, allocations: 318.8 kB / 0.5875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.1923, allocations: 12 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.1924, allocations: 34.5 kB / 0.5875 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.1924, allocations: 28.89 kB / 0.5875 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1924, allocations: 4.312 kB / 0.5876 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.796e-05/0.1925, allocations: 65.69 kB / 0.5876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1926, allocations: 4 kB / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1926, allocations: 0 / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1926, allocations: 3.938 kB / 0.5876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.1927, allocations: 15.92 kB / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1927, allocations: 0 / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1928, allocations: 7.906 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1928, allocations: 11.98 kB / 0.5877 GB, free: 0.793 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.358e-05/0.1929, allocations: 113.8 kB / 0.5878 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.1929, allocations: 4 kB / 0.5878 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.1929, allocations: 3.5 kB / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1929, allocations: 0 / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1929, allocations: 4 kB / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1929, allocations: 0 / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1931, allocations: 169.6 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1931, allocations: 4 kB / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.1931, allocations: 0 / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1931, allocations: 4 kB / 0.5879 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1931, allocations: 4 kB / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1931, allocations: 0 / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1931, allocations: 0 / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1933, allocations: 92.98 kB / 0.588 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1933, allocations: 89 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1934, allocations: 4 kB / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1935, allocations: 15.98 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.1935, allocations: 0 / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1935, allocations: 4 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.292e-05/0.1936, allocations: 87.27 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1936, allocations: 0 / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001869/0.1938, allocations: 8 kB / 0.5882 GB, free: 100 kB / 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001225/0.1939, allocations: 103.4 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.194, allocations: 40.16 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.194, allocations: 8 kB / 0.5884 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.1941, allocations: 12 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1942, allocations: 7.922 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.1945, allocations: 125.5 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1948, allocations: 0.6806 MB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.1948, allocations: 12 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.1949, allocations: 7.438 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1949, allocations: 3.938 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.002941/0.1978, allocations: 0.8624 MB / 0.59 GB, free: 14.2 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)