Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.006518/0.006518, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001144/0.001144, allocations: 196.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6342/0.6342, allocations: 95.48 MB / 365.4 MB, free: 9.766 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 74.09 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1901, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00299/0.1932, allocations: 1.38 MB / 0.5724 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.194, allocations: 412 kB / 0.5728 GB, free: 6.527 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.194, allocations: 3.938 kB / 0.5728 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1941, allocations: 0 / 0.5728 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.1941, allocations: 3.984 kB / 0.5728 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.177e-05/0.1942, allocations: 4 kB / 0.5728 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.1943, allocations: 15.94 kB / 0.5729 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1944, allocations: 7.984 kB / 0.5729 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1946, allocations: 7.938 kB / 0.5729 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.1947, allocations: 11.94 kB / 0.5729 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1947, allocations: 7.984 kB / 0.5729 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-06/0.1947, allocations: 0 / 0.5729 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1947, allocations: 3.984 kB / 0.5729 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1947, allocations: 11.94 kB / 0.5729 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.978e-05/0.1948, allocations: 11.98 kB / 0.5729 GB, free: 6.438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1948, allocations: 0 / 0.5729 GB, free: 6.438 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1948, allocations: 0 / 0.5729 GB, free: 6.438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1949, allocations: 0 / 0.5729 GB, free: 6.438 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004511/0.1953, allocations: 323.6 kB / 0.5732 GB, free: 6.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1954, allocations: 15.92 kB / 0.5732 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1954, allocations: 0.9375 kB / 0.5732 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1955, allocations: 168.3 kB / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1956, allocations: 384 / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1956, allocations: 3.938 kB / 0.5734 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1957, allocations: 45.61 kB / 0.5735 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1957, allocations: 0 / 0.5735 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1957, allocations: 0 / 0.5735 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1957, allocations: 0 / 0.5735 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.1958, allocations: 11.94 kB / 0.5735 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.1962, allocations: 244.9 kB / 0.5737 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.081e-05/0.1962, allocations: 30.52 kB / 0.5737 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.1963, allocations: 8.922 kB / 0.5737 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1963, allocations: 0 / 0.5737 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1963, allocations: 34.56 kB / 0.5738 GB, free: 5.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.1963, allocations: 0 / 0.5738 GB, free: 5.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.1965, allocations: 45.69 kB / 0.5738 GB, free: 5.355 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1966, allocations: 51.41 kB / 0.5739 GB, free: 5.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.1966, allocations: 97.86 kB / 0.574 GB, free: 5.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1967, allocations: 25.7 kB / 0.574 GB, free: 5.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.1967, allocations: 80.14 kB / 0.5741 GB, free: 5.074 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1967, allocations: 8.094 kB / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.1968, allocations: 21.72 kB / 0.5741 GB, free: 5.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1969, allocations: 322.7 kB / 0.5744 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.1969, allocations: 0 / 0.5744 GB, free: 4.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.1969, allocations: 4 kB / 0.5744 GB, free: 4.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.1969, allocations: 12.86 kB / 0.5744 GB, free: 4.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1969, allocations: 0 / 0.5744 GB, free: 4.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.335e-05/0.197, allocations: 41.7 kB / 0.5744 GB, free: 4.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.197, allocations: 8.094 kB / 0.5745 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.197, allocations: 0 / 0.5745 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1971, allocations: 3.984 kB / 0.5745 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.1971, allocations: 4 kB / 0.5745 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1971, allocations: 3.938 kB / 0.5745 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.1972, allocations: 0 / 0.5745 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1972, allocations: 0 / 0.5745 GB, free: 4.629 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.312e-05/0.1973, allocations: 117.8 kB / 0.5746 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.1973, allocations: 0 / 0.5746 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.1973, allocations: 11.08 kB / 0.5746 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1973, allocations: 0 / 0.5746 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1973, allocations: 4 kB / 0.5746 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1973, allocations: 0 / 0.5746 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1975, allocations: 161.5 kB / 0.5747 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1975, allocations: 0 / 0.5747 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.1975, allocations: 4 kB / 0.5747 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1975, allocations: 3.938 kB / 0.5748 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1975, allocations: 3.984 kB / 0.5748 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1976, allocations: 0 / 0.5748 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1976, allocations: 0 / 0.5748 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.1977, allocations: 143.4 kB / 0.5749 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1977, allocations: 81.05 kB / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1977, allocations: 0 / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.1978, allocations: 7.984 kB / 0.575 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1978, allocations: 4 kB / 0.575 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.1978, allocations: 0 / 0.575 GB, free: 4.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.1979, allocations: 83.31 kB / 0.5751 GB, free: 3.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1979, allocations: 0 / 0.5751 GB, free: 3.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1981, allocations: 7.938 kB / 0.5751 GB, free: 3.914 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001468/0.1983, allocations: 96.19 kB / 0.5752 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.934e-05/0.1984, allocations: 12 kB / 0.5752 GB, free: 3.797 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.1984, allocations: 0 / 0.5752 GB, free: 3.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.1984, allocations: 7.984 kB / 0.5752 GB, free: 3.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1986, allocations: 8.156 kB / 0.5752 GB, free: 3.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.1989, allocations: 106.1 kB / 0.5753 GB, free: 3.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.1992, allocations: 0.6768 MB / 0.5759 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.33e-05/0.1992, allocations: 0 / 0.5759 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.1992, allocations: 7.438 kB / 0.576 GB, free: 2.941 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1993, allocations: 4 kB / 0.576 GB, free: 2.938 MB / 446.1 MB Notification: Performance of Templates: time 0.002346/0.2016, allocations: 218.5 kB / 0.5762 GB, free: 2.734 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)