Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001539/0.001539, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002298/0.002298, allocations: 292.2 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9551/0.9551, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 99.44 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1876, allocations: 86.98 MB / 0.6808 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003156/0.1908, allocations: 1.47 MB / 0.6823 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.1917, allocations: 458.9 kB / 0.6827 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.1918, allocations: 0 / 0.6827 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.1918, allocations: 3.938 kB / 0.6827 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.1922, allocations: 27.84 kB / 0.6828 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.1923, allocations: 27.84 kB / 0.6828 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.1924, allocations: 51.78 kB / 0.6828 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1925, allocations: 12.28 kB / 0.6828 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1926, allocations: 23.86 kB / 0.6829 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.113e-05/0.1927, allocations: 19.92 kB / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1928, allocations: 7.984 kB / 0.6829 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.1928, allocations: 4 kB / 0.6829 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.1928, allocations: 11.98 kB / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.1929, allocations: 19.88 kB / 0.6829 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.193, allocations: 43.81 kB / 0.683 GB, free: 5.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.193, allocations: 0 / 0.683 GB, free: 5.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.193, allocations: 4 kB / 0.683 GB, free: 5.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.193, allocations: 0 / 0.683 GB, free: 5.969 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005978/0.1936, allocations: 351.4 kB / 0.6833 GB, free: 5.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1937, allocations: 8.031 kB / 0.6833 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.1937, allocations: 8.844 kB / 0.6833 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1939, allocations: 180.3 kB / 0.6835 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1939, allocations: 384 / 0.6835 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1939, allocations: 8.359 kB / 0.6835 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1941, allocations: 57.98 kB / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1941, allocations: 0 / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1941, allocations: 0 / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1941, allocations: 4 kB / 0.6836 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.18e-05/0.1942, allocations: 16 kB / 0.6836 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.1946, allocations: 272.8 kB / 0.6838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1947, allocations: 54.5 kB / 0.6839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.1948, allocations: 20.94 kB / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1948, allocations: 4 kB / 0.6839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.195, allocations: 63.39 kB / 0.684 GB, free: 4.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.195, allocations: 0 / 0.684 GB, free: 4.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002359/0.1952, allocations: 81.61 kB / 0.684 GB, free: 4.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1953, allocations: 51.41 kB / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1954, allocations: 117.8 kB / 0.6842 GB, free: 4.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1954, allocations: 29.7 kB / 0.6842 GB, free: 4.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1955, allocations: 84.14 kB / 0.6843 GB, free: 4.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1955, allocations: 12.58 kB / 0.6843 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1955, allocations: 21.7 kB / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1957, allocations: 314.8 kB / 0.6847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.1957, allocations: 12 kB / 0.6847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.1957, allocations: 20.17 kB / 0.6847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.1958, allocations: 36.98 kB / 0.6847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1958, allocations: 3.938 kB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001159/0.1959, allocations: 73.53 kB / 0.6848 GB, free: 3.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.196, allocations: 4 kB / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.196, allocations: 0 / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.196, allocations: 0 / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.1961, allocations: 8 kB / 0.6848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1961, allocations: 0 / 0.6848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.1962, allocations: 7.984 kB / 0.6848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1962, allocations: 0 / 0.6848 GB, free: 3.855 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.44e-05/0.1963, allocations: 121.8 kB / 0.6849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1963, allocations: 0 / 0.6849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.1963, allocations: 11.97 kB / 0.6849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1963, allocations: 0 / 0.6849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1963, allocations: 3.984 kB / 0.6849 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1963, allocations: 0 / 0.6849 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1965, allocations: 185.4 kB / 0.6851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1965, allocations: 0 / 0.6851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.1965, allocations: 4 kB / 0.6851 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1965, allocations: 4 kB / 0.6851 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1966, allocations: 7.984 kB / 0.6851 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1966, allocations: 0 / 0.6851 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1966, allocations: 0 / 0.6851 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1967, allocations: 93.19 kB / 0.6852 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.1968, allocations: 85.11 kB / 0.6853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1968, allocations: 3.984 kB / 0.6853 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.1969, allocations: 0 / 0.6853 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1969, allocations: 4 kB / 0.6853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1969, allocations: 7.984 kB / 0.6853 GB, free: 3.238 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.197, allocations: 87.28 kB / 0.6854 GB, free: 3.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.197, allocations: 0 / 0.6854 GB, free: 3.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1972, allocations: 23.84 kB / 0.6854 GB, free: 3.129 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.000111/0.1973, allocations: 99.23 kB / 0.6855 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1975, allocations: 43.92 kB / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1975, allocations: 0 / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.1975, allocations: 23.86 kB / 0.6856 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.1977, allocations: 9.016 kB / 0.6856 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.1981, allocations: 163.9 kB / 0.6857 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1984, allocations: 0.6807 MB / 0.6864 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.1984, allocations: 11.44 kB / 0.6864 GB, free: 2.039 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1984, allocations: 0 / 0.6864 GB, free: 2.039 MB / 494.1 MB Notification: Performance of Templates: time 0.002279/0.2007, allocations: 0.7388 MB / 0.6871 GB, free: 1.309 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)