Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007005/0.007005, allocations: 102.3 kB / 15.73 MB, free: 6.008 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.001358/0.001358, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.446/1.446, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8715/0.8715, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.09 kB / 0.5814 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1859, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002704/0.1886, allocations: 1.265 MB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.191, allocations: 1.447 MB / 0.6623 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.1911, allocations: 0 / 0.6623 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.1911, allocations: 0 / 0.6623 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1914, allocations: 19.91 kB / 0.6624 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.192, allocations: 210.7 kB / 0.6626 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.1921, allocations: 23.92 kB / 0.6626 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.1922, allocations: 4 kB / 0.6626 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.1923, allocations: 23.91 kB / 0.6626 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1924, allocations: 7.938 kB / 0.6626 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1924, allocations: 4 kB / 0.6626 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.1927, allocations: 171.8 kB / 0.6628 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1927, allocations: 8 kB / 0.6628 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1928, allocations: 11.92 kB / 0.6628 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.193, allocations: 143.8 kB / 0.6629 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.193, allocations: 4 kB / 0.6629 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.193, allocations: 0 / 0.6629 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.193, allocations: 0 / 0.6629 GB, free: 6.93 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004939/0.1935, allocations: 363.5 kB / 0.6633 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1936, allocations: 12.03 kB / 0.6633 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.1937, allocations: 84.12 kB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1938, allocations: 243.6 kB / 0.6636 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.1939, allocations: 158.9 kB / 0.6638 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.194, allocations: 162.6 kB / 0.6639 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.553e-05/0.194, allocations: 101 kB / 0.664 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.1941, allocations: 75.28 kB / 0.6641 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.1941, allocations: 158.6 kB / 0.6642 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/0.1942, allocations: 150.6 kB / 0.6644 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.465e-05/0.1943, allocations: 154.5 kB / 0.6645 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1946, allocations: 457.9 kB / 0.665 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.1947, allocations: 181.1 kB / 0.6651 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.1947, allocations: 88.08 kB / 0.6652 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1947, allocations: 75.28 kB / 0.6653 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.1948, allocations: 105.8 kB / 0.6654 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1948, allocations: 0 / 0.6654 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.875e-05/0.1949, allocations: 33.64 kB / 0.6654 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.195, allocations: 134.7 kB / 0.6656 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1951, allocations: 105.8 kB / 0.6657 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1951, allocations: 25.7 kB / 0.6657 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.1951, allocations: 80.14 kB / 0.6658 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.1952, allocations: 0 / 0.6658 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1952, allocations: 25.7 kB / 0.6658 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1954, allocations: 310.8 kB / 0.6661 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.1954, allocations: 0 / 0.6661 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.1954, allocations: 34.56 kB / 0.6661 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.1955, allocations: 22.52 kB / 0.6661 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1955, allocations: 0 / 0.6661 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001349/0.1956, allocations: 57.56 kB / 0.6662 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1957, allocations: 9.969 kB / 0.6662 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1957, allocations: 0 / 0.6662 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1957, allocations: 4 kB / 0.6662 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.1958, allocations: 4 kB / 0.6662 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1958, allocations: 0 / 0.6662 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.196, allocations: 19.83 kB / 0.6662 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.196, allocations: 4 kB / 0.6662 GB, free: 3.312 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 0.000119/0.1961, allocations: 182 kB / 0.6664 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.1962, allocations: 116.9 kB / 0.6665 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.1962, allocations: 112.1 kB / 0.6666 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.437e-05/0.1963, allocations: 180.2 kB / 0.6668 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.418e-05/0.1964, allocations: 180.3 kB / 0.667 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-05/0.1965, allocations: 176.3 kB / 0.6671 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1967, allocations: 413.1 kB / 0.6675 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-05/0.1968, allocations: 105 kB / 0.6676 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.1968, allocations: 108.9 kB / 0.6677 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.064e-05/0.1969, allocations: 180.2 kB / 0.6679 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.197, allocations: 180.2 kB / 0.6681 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.929e-05/0.1971, allocations: 184.5 kB / 0.6682 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-05/0.1972, allocations: 188.3 kB / 0.6684 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1973, allocations: 307.7 kB / 0.6687 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.1974, allocations: 182.1 kB / 0.6689 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.1976, allocations: 188.2 kB / 0.6691 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1977, allocations: 101 kB / 0.6692 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1978, allocations: 184.2 kB / 0.6693 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.1979, allocations: 105 kB / 0.6694 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.1979, allocations: 79.28 kB / 0.6695 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1979, allocations: 0 / 0.6695 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003406/0.1983, allocations: 51.98 kB / 0.6696 GB, free: 15.66 MB / 0.5137 GB 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 (0): * Single equations (assignments): 0 * 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.0007132/0.199, allocations: 350.3 kB / 0.6699 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1991, allocations: 11.94 kB / 0.6699 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1991, allocations: 0 / 0.6699 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.1992, allocations: 0 / 0.6699 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1996, allocations: 459.6 kB / 0.6704 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.1999, allocations: 181.4 kB / 0.6705 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.2002, allocations: 0.6729 MB / 0.6712 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.2003, allocations: 11.86 kB / 0.6712 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.2003, allocations: 11.44 kB / 0.6712 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2003, allocations: 0 / 0.6712 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.004326/0.2046, allocations: 1.604 MB / 0.6728 GB, free: 12.39 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)