Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000805/0.000805, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008037/0.0008037, allocations: 168.7 kB / 15.95 MB, free: 204 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.335/1.335, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 275.1 kB / 291.4 MB, free: 1.828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 13.91 kB / 0.598 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001598/0.1892, allocations: 1.296 MB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007412/0.1899, allocations: 0.4977 MB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.19, allocations: 0 / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.19, allocations: 9.109 kB / 0.6863 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.1903, allocations: 33.66 kB / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.1904, allocations: 31.95 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1905, allocations: 95.58 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.1906, allocations: 17.64 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.1907, allocations: 41.34 kB / 0.6865 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.1908, allocations: 39.83 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1909, allocations: 4 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.1909, allocations: 7 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.1909, allocations: 23.91 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.1909, allocations: 41.62 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.046e-05/0.191, allocations: 63.81 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.191, allocations: 0 / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1911, allocations: 0 / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1911, allocations: 0 / 0.6866 GB, free: 13.24 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005967/0.1917, allocations: 385.3 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1917, allocations: 9.938 kB / 0.687 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.1917, allocations: 19.86 kB / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1919, allocations: 171 kB / 0.6872 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1919, allocations: 11.94 kB / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1919, allocations: 4 kB / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1921, allocations: 86.33 kB / 0.6873 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1921, allocations: 5.703 kB / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1921, allocations: 4 kB / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1921, allocations: 8 kB / 0.6873 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1922, allocations: 43.97 kB / 0.6873 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1927, allocations: 347.7 kB / 0.6877 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1929, allocations: 104.8 kB / 0.6878 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.193, allocations: 44.83 kB / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.193, allocations: 11.88 kB / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.1932, allocations: 103.9 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.1933, allocations: 0.7188 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002825/0.1935, allocations: 141.5 kB / 0.6881 GB, free: 11.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1936, allocations: 56.22 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.1937, allocations: 130.8 kB / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1937, allocations: 29.7 kB / 0.6883 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1938, allocations: 97.62 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.1938, allocations: 39.55 kB / 0.6884 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.1938, allocations: 0 / 0.6884 GB, free: 11.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1939, allocations: 315.6 kB / 0.6887 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.194, allocations: 31.98 kB / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.194, allocations: 36.86 kB / 0.6888 GB, free: 10.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.79e-05/0.1941, allocations: 27.98 kB / 0.6888 GB, free: 10.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1941, allocations: 0 / 0.6888 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001738/0.1943, allocations: 107 kB / 0.6889 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1943, allocations: 13.52 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1943, allocations: 0 / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1943, allocations: 0 / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1944, allocations: 23.92 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1944, allocations: 0 / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-05/0.1945, allocations: 11.91 kB / 0.6889 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1946, allocations: 7.984 kB / 0.689 GB, free: 10.65 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: 6 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 8.262e-05/0.1946, allocations: 118.5 kB / 0.6891 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.1947, allocations: 4 kB / 0.6891 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.1949, allocations: 156.3 kB / 0.6892 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1949, allocations: 4 kB / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1949, allocations: 4 kB / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.195, allocations: 3.984 kB / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.1951, allocations: 213.5 kB / 0.6894 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1951, allocations: 0 / 0.6894 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.1952, allocations: 12 kB / 0.6894 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1952, allocations: 0 / 0.6894 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1952, allocations: 11.98 kB / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1952, allocations: 3.953 kB / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1952, allocations: 0 / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1955, allocations: 164.9 kB / 0.6896 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1955, allocations: 85.02 kB / 0.6897 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1955, allocations: 7.938 kB / 0.6897 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.1956, allocations: 7.984 kB / 0.6897 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1957, allocations: 15.94 kB / 0.6897 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1957, allocations: 15.98 kB / 0.6897 GB, free: 9.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.498e-05/0.1958, allocations: 99.2 kB / 0.6898 GB, free: 9.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1958, allocations: 0 / 0.6898 GB, free: 9.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000192/0.196, allocations: 24 kB / 0.6899 GB, free: 9.621 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001017/0.1961, allocations: 103.2 kB / 0.69 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1963, allocations: 79.91 kB / 0.69 GB, free: 9.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1963, allocations: 0 / 0.69 GB, free: 9.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.1964, allocations: 55.92 kB / 0.6901 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1965, allocations: 9.031 kB / 0.6901 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.1969, allocations: 241.8 kB / 0.6903 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1971, allocations: 0.7004 MB / 0.691 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.679e-05/0.1972, allocations: 12.55 kB / 0.691 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.1972, allocations: 19.42 kB / 0.691 GB, free: 8.355 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1972, allocations: 0 / 0.691 GB, free: 8.355 MB / 494.1 MB Notification: Performance of Templates: time 0.002862/0.2001, allocations: 0.9529 MB / 0.692 GB, free: 7.414 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)