Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8636/0.8636, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 64.31 kB / 0.5055 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1646, allocations: 80.93 MB / 0.5845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002089/0.1667, allocations: 1.253 MB / 0.5857 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1685, allocations: 1.434 MB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.1685, allocations: 3.938 kB / 0.5871 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1685, allocations: 0 / 0.5871 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1687, allocations: 19.91 kB / 0.5871 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.1693, allocations: 222.2 kB / 0.5873 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.1693, allocations: 27.86 kB / 0.5874 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1694, allocations: 4 kB / 0.5874 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.1694, allocations: 23.91 kB / 0.5874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.1695, allocations: 8 kB / 0.5874 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1696, allocations: 4 kB / 0.5874 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1698, allocations: 155.8 kB / 0.5876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1698, allocations: 4 kB / 0.5876 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.1698, allocations: 11.98 kB / 0.5876 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1701, allocations: 135.8 kB / 0.5877 GB, free: 1.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1701, allocations: 4 kB / 0.5877 GB, free: 1.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1701, allocations: 0 / 0.5877 GB, free: 1.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1701, allocations: 0 / 0.5877 GB, free: 1.094 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003369/0.1704, allocations: 387.5 kB / 0.5881 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1705, allocations: 8.031 kB / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.1705, allocations: 106 kB / 0.5882 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.1706, allocations: 80.22 kB / 0.5883 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1707, allocations: 239.7 kB / 0.5885 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.1708, allocations: 154.9 kB / 0.5886 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1708, allocations: 166.4 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.895e-05/0.1709, allocations: 101 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.1709, allocations: 75.28 kB / 0.589 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.171, allocations: 150.6 kB / 0.5891 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.171, allocations: 150.6 kB / 0.5893 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.1711, allocations: 158.5 kB / 0.5894 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.1713, allocations: 457.9 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.014e-05/0.1714, allocations: 177 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.1714, allocations: 80.14 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1715, allocations: 75.28 kB / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1715, allocations: 109.8 kB / 0.5903 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1715, allocations: 0 / 0.5903 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.169e-05/0.1716, allocations: 29.7 kB / 0.5903 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1716, allocations: 130.6 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.1717, allocations: 109.8 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1717, allocations: 29.7 kB / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.1718, allocations: 84.08 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.1718, allocations: 4 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1718, allocations: 25.7 kB / 0.5907 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.1719, allocations: 310.8 kB / 0.591 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.1719, allocations: 4 kB / 0.591 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.136e-05/0.172, allocations: 26.56 kB / 0.591 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.172, allocations: 30.52 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.172, allocations: 0 / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001109/0.1722, allocations: 53.56 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1722, allocations: 4 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1722, allocations: 4 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1722, allocations: 0 / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.1722, allocations: 4 kB / 0.5911 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1723, allocations: 0 / 0.5911 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1724, allocations: 12.08 kB / 0.5911 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1724, allocations: 8 kB / 0.5911 GB, free: 13.36 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 8.408e-05/0.1725, allocations: 193 kB / 0.5913 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.1726, allocations: 105.2 kB / 0.5914 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.1726, allocations: 108.1 kB / 0.5915 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/0.1727, allocations: 184.3 kB / 0.5917 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/0.1727, allocations: 192.1 kB / 0.5918 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.47e-05/0.1728, allocations: 176.3 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.173, allocations: 413.2 kB / 0.5924 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/0.173, allocations: 101 kB / 0.5925 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.173, allocations: 109 kB / 0.5926 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.054e-05/0.1731, allocations: 184.2 kB / 0.5928 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.1732, allocations: 184.2 kB / 0.593 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-05/0.1732, allocations: 180.2 kB / 0.5931 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-05/0.1733, allocations: 176.3 kB / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1734, allocations: 315.6 kB / 0.5936 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1735, allocations: 182.1 kB / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.1735, allocations: 184.2 kB / 0.5939 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1736, allocations: 105 kB / 0.594 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.1737, allocations: 180.2 kB / 0.5942 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.1737, allocations: 105 kB / 0.5943 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.1737, allocations: 83.28 kB / 0.5944 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1737, allocations: 7.938 kB / 0.5944 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002911/0.174, allocations: 51.98 kB / 0.5945 GB, free: 9.695 MB / 0.4981 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.0006737/0.1747, allocations: 0.9688 MB / 0.5954 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.1748, allocations: 15.98 kB / 0.5954 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1748, allocations: 0 / 0.5954 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1748, allocations: 0 / 0.5954 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1751, allocations: 459.6 kB / 0.5959 GB, free: 8.277 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.1761, allocations: 1.357 MB / 0.5972 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.1763, allocations: 0.6729 MB / 0.5978 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.1763, allocations: 0 / 0.5978 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1763, allocations: 15.42 kB / 0.5978 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1763, allocations: 0 / 0.5978 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.86/2.036, allocations: 2.596 MB / 0.6004 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/12.91, allocations: 18.3 kB / 0.6004 GB, free: 3.656 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)