Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006371/0.006371, allocations: 100.5 kB / 15.87 MB, free: 5.871 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.001245/0.001245, allocations: 192.2 kB / 16.79 MB, free: 5.816 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9801/0.9801, allocations: 135.1 MB / 425.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.94 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1842, allocations: 80.91 MB / 0.5844 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002754/0.187, allocations: 1.503 MB / 0.5858 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003932/0.1874, allocations: 175.5 kB / 0.586 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.1874, allocations: 0 / 0.586 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.1875, allocations: 7.922 kB / 0.586 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.1877, allocations: 15.94 kB / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.1879, allocations: 54.86 kB / 0.5861 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.188, allocations: 51.84 kB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1881, allocations: 8 kB / 0.5861 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.1882, allocations: 19.92 kB / 0.5861 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.1882, allocations: 15.92 kB / 0.5862 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1883, allocations: 4 kB / 0.5862 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.1883, allocations: 0 / 0.5862 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1883, allocations: 15.97 kB / 0.5862 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.1884, allocations: 19.92 kB / 0.5862 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.193e-05/0.1884, allocations: 24.23 kB / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1885, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1885, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1885, allocations: 0 / 0.5862 GB, free: 3.066 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.0005401/0.189, allocations: 347.4 kB / 0.5865 GB, free: 2.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1891, allocations: 12.03 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.1891, allocations: 0.9375 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1893, allocations: 184.2 kB / 0.5867 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1893, allocations: 4.375 kB / 0.5867 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1893, allocations: 8.312 kB / 0.5867 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1895, allocations: 68.81 kB / 0.5868 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1895, allocations: 192 / 0.5868 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1895, allocations: 3.938 kB / 0.5868 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1895, allocations: 0 / 0.5868 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.1896, allocations: 12 kB / 0.5868 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.19, allocations: 268.9 kB / 0.5871 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.99e-05/0.1901, allocations: 46.45 kB / 0.5871 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.1901, allocations: 16.94 kB / 0.5871 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.1901, allocations: 0 / 0.5871 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.1903, allocations: 63.39 kB / 0.5872 GB, free: 1.875 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1903, allocations: 0 / 0.5872 GB, free: 1.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002168/0.1906, allocations: 81.61 kB / 0.5873 GB, free: 1.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.1906, allocations: 102.8 kB / 0.5874 GB, free: 1.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.1907, allocations: 105.8 kB / 0.5875 GB, free: 1.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1907, allocations: 25.7 kB / 0.5875 GB, free: 1.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.1908, allocations: 84.05 kB / 0.5876 GB, free: 1.434 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1908, allocations: 11.91 kB / 0.5876 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.1909, allocations: 21.7 kB / 0.5876 GB, free: 1.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.191, allocations: 318.8 kB / 0.5879 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.191, allocations: 8 kB / 0.5879 GB, free: 1.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.1911, allocations: 30.81 kB / 0.588 GB, free: 1.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.676e-05/0.1912, allocations: 36.92 kB / 0.588 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1912, allocations: 3.938 kB / 0.588 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.1913, allocations: 61.62 kB / 0.5881 GB, free: 0.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1913, allocations: 6.344 kB / 0.5881 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1913, allocations: 8.016 kB / 0.5881 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1913, allocations: 4 kB / 0.5881 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.1914, allocations: 7.984 kB / 0.5881 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1914, allocations: 0 / 0.5881 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1915, allocations: 11.89 kB / 0.5881 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1916, allocations: 4 kB / 0.5881 GB, free: 0.8789 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.472e-05/0.1916, allocations: 117.8 kB / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.1917, allocations: 0 / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.1917, allocations: 11.5 kB / 0.5882 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1917, allocations: 7.938 kB / 0.5882 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1917, allocations: 0 / 0.5882 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1917, allocations: 0 / 0.5882 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1919, allocations: 169.8 kB / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1919, allocations: 0 / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.1919, allocations: 0 / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1919, allocations: 7.984 kB / 0.5884 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1919, allocations: 3.938 kB / 0.5884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1919, allocations: 0 / 0.5884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1919, allocations: 0 / 0.5884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.1921, allocations: 93.05 kB / 0.5885 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1921, allocations: 93 kB / 0.5886 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1922, allocations: 4 kB / 0.5886 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1923, allocations: 12.05 kB / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1923, allocations: 0 / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1923, allocations: 7.984 kB / 0.5886 GB, free: 268 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.1924, allocations: 87.22 kB / 0.5887 GB, free: 180 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1924, allocations: 4 kB / 0.5887 GB, free: 176 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1926, allocations: 8 kB / 0.5887 GB, free: 168 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.0001171/0.1927, allocations: 107.2 kB / 0.5888 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.1928, allocations: 31.98 kB / 0.5888 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1929, allocations: 0 / 0.5888 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.1929, allocations: 15.98 kB / 0.5888 GB, free: 0 / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.1931, allocations: 10.8 kB / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.1934, allocations: 152.9 kB / 0.589 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1937, allocations: 0.6809 MB / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1937, allocations: 11.44 kB / 0.5897 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.764e-06/0.1937, allocations: 0 / 0.5897 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.00209/0.1958, allocations: 0.7993 MB / 0.5905 GB, free: 14.3 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)