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.0007802/0.0007801, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008239/0.000824, allocations: 168.7 kB / 15.95 MB, free: 200 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 259.2 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9451/0.9451, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004324, allocations: 14.97 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1888, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001409/0.1903, allocations: 1.183 MB / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.1909, allocations: 433.3 kB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.191, allocations: 0 / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.191, allocations: 7.922 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1912, allocations: 17.11 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.21e-05/0.1913, allocations: 13.61 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.1913, allocations: 47.8 kB / 0.6861 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.515e-05/0.1914, allocations: 12.25 kB / 0.6862 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.1915, allocations: 28.95 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.1916, allocations: 15.92 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1916, allocations: 0 / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.1916, allocations: 5.969 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1917, allocations: 7.938 kB / 0.6862 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.1917, allocations: 33.69 kB / 0.6862 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.275e-05/0.1918, allocations: 31.88 kB / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1918, allocations: 0 / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1918, allocations: 1.156 kB / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1918, allocations: 0 / 0.6863 GB, free: 13.6 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.0005196/0.1923, allocations: 350.8 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1924, allocations: 8.031 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1924, allocations: 4.75 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1925, allocations: 178.9 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1926, allocations: 0.5312 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1926, allocations: 10.69 kB / 0.6868 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1927, allocations: 49.67 kB / 0.6868 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1927, allocations: 0 / 0.6868 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1927, allocations: 0 / 0.6868 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1927, allocations: 0 / 0.6868 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.1928, allocations: 19.98 kB / 0.6869 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.1932, allocations: 274.6 kB / 0.6871 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/0.1933, allocations: 46.5 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.1933, allocations: 26.66 kB / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.1933, allocations: 3.938 kB / 0.6872 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.1935, allocations: 64.27 kB / 0.6873 GB, free: 12.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1935, allocations: 0 / 0.6873 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.1937, allocations: 90.2 kB / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1938, allocations: 52.81 kB / 0.6874 GB, free: 12.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.1938, allocations: 105.8 kB / 0.6875 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1939, allocations: 29.7 kB / 0.6875 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.1939, allocations: 88.78 kB / 0.6876 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1939, allocations: 19.8 kB / 0.6876 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1939, allocations: 0.625 kB / 0.6876 GB, free: 12.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.194, allocations: 314.8 kB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.1941, allocations: 15.98 kB / 0.6879 GB, free: 11.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.1941, allocations: 8 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.1941, allocations: 16.38 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1941, allocations: 0 / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.568e-05/0.1942, allocations: 69.62 kB / 0.688 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1943, allocations: 8 kB / 0.688 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1943, allocations: 3.938 kB / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1943, allocations: 0 / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.1944, allocations: 7.984 kB / 0.6881 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1944, allocations: 11.95 kB / 0.6881 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.1944, allocations: 0 / 0.6881 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1945, allocations: 4 kB / 0.6881 GB, free: 11.55 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 ($whenCondition1,$PRE.locTim.tNext,locTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.97e-05/0.1945, allocations: 114.5 kB / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.1946, allocations: 3.906 kB / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.1946, allocations: 7.953 kB / 0.6882 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1946, allocations: 4 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1946, allocations: 0 / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.1946, allocations: 7.953 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1947, allocations: 169.6 kB / 0.6884 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1947, allocations: 0 / 0.6884 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.1948, allocations: 11.98 kB / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1948, allocations: 0 / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1948, allocations: 4 kB / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1948, allocations: 3.938 kB / 0.6884 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1948, allocations: 3.938 kB / 0.6884 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.1949, allocations: 96.98 kB / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.195, allocations: 81.09 kB / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.195, allocations: 8 kB / 0.6886 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.1951, allocations: 0 / 0.6886 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.1951, allocations: 7.984 kB / 0.6886 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1951, allocations: 0 / 0.6886 GB, free: 10.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.1952, allocations: 87.28 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1952, allocations: 0 / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001818/0.1954, allocations: 16 kB / 0.6887 GB, free: 10.84 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 (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.0001078/0.1955, allocations: 113.4 kB / 0.6888 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1956, allocations: 40.05 kB / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1956, allocations: 0 / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.1956, allocations: 20 kB / 0.6888 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1958, allocations: 4 kB / 0.6888 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.1961, allocations: 146.7 kB / 0.689 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.1963, allocations: 0.6887 MB / 0.6897 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.44e-05/0.1963, allocations: 3.906 kB / 0.6897 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.1964, allocations: 11.44 kB / 0.6897 GB, free: 9.758 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1964, allocations: 0 / 0.6897 GB, free: 9.758 MB / 494.1 MB Notification: Performance of Templates: time 0.002254/0.1986, allocations: 0.4912 MB / 0.6901 GB, free: 9.301 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)