Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009488/0.0009487, allocations: 182.9 kB / 327.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000749/0.0007488, allocations: 88.23 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 12.94 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1846, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001436/0.1861, allocations: 1.168 MB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000334/0.1865, allocations: 179.5 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.1865, allocations: 0 / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.1865, allocations: 0 / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.1868, allocations: 11.92 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1869, allocations: 51.94 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.162e-05/0.187, allocations: 51.84 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.1871, allocations: 7.984 kB / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.1872, allocations: 19.92 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.1872, allocations: 15.92 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1873, allocations: 0 / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.1873, allocations: 4 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.1873, allocations: 11.97 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.1874, allocations: 45.62 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.934e-05/0.1874, allocations: 27.95 kB / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1875, allocations: 0 / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1875, allocations: 0 / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.1875, allocations: 0 / 0.903 GB, free: 61.72 MB / 0.6042 GB 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.000428/0.1879, allocations: 335.7 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1879, allocations: 12.03 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.188, allocations: 8.781 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.1881, allocations: 168.4 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1881, allocations: 8.312 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1881, allocations: 4.375 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1883, allocations: 68.81 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1883, allocations: 192 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1883, allocations: 3.938 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1883, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.1884, allocations: 19.92 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.1887, allocations: 272.9 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.1888, allocations: 42.5 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.1889, allocations: 16.86 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1889, allocations: 0 / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.189, allocations: 67.42 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1891, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.1892, allocations: 73.72 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1893, allocations: 106.8 kB / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.1894, allocations: 105.8 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1894, allocations: 29.7 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.1894, allocations: 80.14 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1894, allocations: 11.84 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1895, allocations: 0 / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.1895, allocations: 322.8 kB / 0.9047 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.1895, allocations: 8 kB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.1896, allocations: 42.55 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.1896, allocations: 20.86 kB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1896, allocations: 7.938 kB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.574e-05/0.1897, allocations: 61.58 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1897, allocations: 4 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1898, allocations: 4 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1898, allocations: 4.469 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.1898, allocations: 7.984 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1899, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.19, allocations: 15.94 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.19, allocations: 3.984 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 5.91e-05/0.1901, allocations: 117.8 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.1901, allocations: 4 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.1901, allocations: 11.5 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1901, allocations: 0 / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1901, allocations: 0 / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1901, allocations: 4 kB / 0.905 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.702e-05/0.1902, allocations: 165.6 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1902, allocations: 0 / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.1902, allocations: 4 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1902, allocations: 7.875 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1903, allocations: 4 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1903, allocations: 4 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1903, allocations: 0 / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1904, allocations: 96.89 kB / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.1904, allocations: 89.09 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1905, allocations: 0 / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1906, allocations: 12.64 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1906, allocations: 4 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1906, allocations: 0 / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.1907, allocations: 91.27 kB / 0.9054 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1907, allocations: 0 / 0.9054 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001795/0.1909, allocations: 16 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB 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 8.89e-05/0.191, allocations: 99.25 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.1911, allocations: 27.98 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1911, allocations: 0 / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.1911, allocations: 19.94 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.1913, allocations: 9.703 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.1915, allocations: 166.2 kB / 0.9058 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.1916, allocations: 0.677 MB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.1917, allocations: 11.44 kB / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.1917, allocations: 0 / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.001876/0.1936, allocations: 0.8092 MB / 0.9072 GB, free: 56.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)