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.005655/0.005655, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001224/0.001224, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8134/0.8134, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 72.7 kB / 0.5852 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1657, allocations: 80.9 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002582/0.1683, allocations: 1.276 MB / 0.6654 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1707, allocations: 1.445 MB / 0.6668 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.445e-05/0.1708, allocations: 0 / 0.6668 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.1708, allocations: 0 / 0.6668 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.171, allocations: 23.92 kB / 0.6668 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.1717, allocations: 213.7 kB / 0.667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.1718, allocations: 27.92 kB / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.1718, allocations: 0 / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.1719, allocations: 15.94 kB / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.172, allocations: 27.84 kB / 0.6671 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.172, allocations: 0 / 0.6671 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.1723, allocations: 163.8 kB / 0.6673 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1724, allocations: 7.984 kB / 0.6673 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.1724, allocations: 7.938 kB / 0.6673 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1727, allocations: 147.8 kB / 0.6674 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1727, allocations: 0 / 0.6674 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1727, allocations: 4 kB / 0.6674 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.1727, allocations: 0 / 0.6674 GB, free: 2.918 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.0003654/0.1731, allocations: 362.4 kB / 0.6678 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1731, allocations: 9.109 kB / 0.6678 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.1732, allocations: 106 kB / 0.6679 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.1733, allocations: 84.2 kB / 0.668 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1734, allocations: 247.6 kB / 0.6682 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.1735, allocations: 162.9 kB / 0.6684 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.1736, allocations: 154.5 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.018e-05/0.1736, allocations: 101 kB / 0.6686 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.1737, allocations: 75.28 kB / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.1737, allocations: 154.6 kB / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.1738, allocations: 150.6 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.1738, allocations: 162.5 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.1741, allocations: 457.9 kB / 0.6696 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.386e-05/0.1742, allocations: 169.1 kB / 0.6697 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.1742, allocations: 84.14 kB / 0.6698 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1743, allocations: 83.27 kB / 0.6699 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.1743, allocations: 113.8 kB / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1743, allocations: 0 / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.485e-05/0.1744, allocations: 33.64 kB / 0.67 GB, free: 84 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1745, allocations: 126.7 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1746, allocations: 106.4 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1746, allocations: 25.7 kB / 0.6703 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.1747, allocations: 88.14 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1747, allocations: 0 / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1747, allocations: 17.72 kB / 0.6704 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1748, allocations: 314.8 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.1749, allocations: 8 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.1749, allocations: 22.58 kB / 0.6707 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.175, allocations: 34.5 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.175, allocations: 0 / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001301/0.1751, allocations: 45.58 kB / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1751, allocations: 15.92 kB / 0.6708 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1751, allocations: 0 / 0.6708 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1752, allocations: 0 / 0.6708 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.1752, allocations: 4 kB / 0.6708 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1752, allocations: 8.094 kB / 0.6708 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1754, allocations: 16.12 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1754, allocations: 3.984 kB / 0.6708 GB, free: 15.19 MB / 0.5137 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.0001141/0.1756, allocations: 190.4 kB / 0.671 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/0.1756, allocations: 108.9 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.1757, allocations: 108.1 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-05/0.1757, allocations: 184.2 kB / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.527e-05/0.1758, allocations: 180.2 kB / 0.6716 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/0.1759, allocations: 176.3 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1761, allocations: 413.1 kB / 0.6721 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.1762, allocations: 101 kB / 0.6722 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.1762, allocations: 108.9 kB / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-05/0.1763, allocations: 184.3 kB / 0.6725 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.1763, allocations: 176.3 kB / 0.6727 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.805e-05/0.1764, allocations: 188.2 kB / 0.6728 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.263e-05/0.1765, allocations: 180.2 kB / 0.673 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1766, allocations: 307.7 kB / 0.6733 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.1767, allocations: 186.1 kB / 0.6735 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.1767, allocations: 184.2 kB / 0.6737 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.1768, allocations: 101.2 kB / 0.6738 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.1769, allocations: 180.2 kB / 0.6739 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.1769, allocations: 113.1 kB / 0.674 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.177, allocations: 87.27 kB / 0.6741 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.177, allocations: 0 / 0.6741 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003217/0.1773, allocations: 55.98 kB / 0.6742 GB, free: 11.53 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.0008282/0.1782, allocations: 0.9783 MB / 0.6751 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.078e-05/0.1782, allocations: 4 kB / 0.6751 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1783, allocations: 0 / 0.6751 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.1783, allocations: 7.938 kB / 0.6751 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1786, allocations: 459.7 kB / 0.6756 GB, free: 10.09 MB / 0.5137 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.001147/0.1798, allocations: 1.346 MB / 0.6769 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.18, allocations: 0.6729 MB / 0.6775 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.1801, allocations: 4 kB / 0.6775 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.1801, allocations: 7.438 kB / 0.6776 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.1801, allocations: 4 kB / 0.6776 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4454/0.6255, allocations: 2.62 MB / 0.6801 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.326, allocations: 24.02 kB / 0.6801 GB, free: 5.453 MB / 0.5137 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)