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.001773/0.001773, 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.002225/0.002225, allocations: 197.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.865/2.865, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.275/2.275, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 68.14 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3028, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.004729/0.3076, allocations: 1.249 MB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.311, allocations: 1.442 MB / 0.5871 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.3111, allocations: 0 / 0.5871 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.3112, allocations: 3.938 kB / 0.5871 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.3115, allocations: 15.92 kB / 0.5871 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009085/0.3124, allocations: 218.3 kB / 0.5873 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.3125, allocations: 23.88 kB / 0.5874 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.356e-05/0.3126, allocations: 7.984 kB / 0.5874 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3127, allocations: 11.98 kB / 0.5874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.3129, allocations: 15.92 kB / 0.5874 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3129, allocations: 4 kB / 0.5874 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.3133, allocations: 151.8 kB / 0.5875 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3133, allocations: 8 kB / 0.5876 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004104/0.3175, allocations: 11.92 kB / 0.5876 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.3181, allocations: 143.8 kB / 0.5877 GB, free: 1.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3181, allocations: 4 kB / 0.5877 GB, free: 1.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3181, allocations: 0 / 0.5877 GB, free: 1.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3181, allocations: 0 / 0.5877 GB, free: 1.137 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.0005784/0.3187, allocations: 371.6 kB / 0.5881 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3188, allocations: 8.031 kB / 0.5881 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.3189, allocations: 110 kB / 0.5882 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.319, allocations: 80.22 kB / 0.5882 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3192, allocations: 247.7 kB / 0.5885 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.3192, allocations: 150.9 kB / 0.5886 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.3193, allocations: 158.5 kB / 0.5888 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.3194, allocations: 104.9 kB / 0.5889 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.3195, allocations: 79.28 kB / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.3196, allocations: 150.6 kB / 0.5891 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.3196, allocations: 150.6 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.3197, allocations: 158.6 kB / 0.5894 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.3201, allocations: 449.9 kB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3202, allocations: 185 kB / 0.59 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.3202, allocations: 80.14 kB / 0.5901 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3203, allocations: 75.28 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.3203, allocations: 105.8 kB / 0.5902 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.3203, allocations: 0 / 0.5902 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.3205, allocations: 41.69 kB / 0.5903 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.3205, allocations: 126.7 kB / 0.5904 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3207, allocations: 109.7 kB / 0.5905 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3207, allocations: 29.69 kB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.3207, allocations: 84.08 kB / 0.5906 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.3208, allocations: 0 / 0.5906 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3208, allocations: 21.72 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3209, allocations: 310.8 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.321, allocations: 11.98 kB / 0.591 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.321, allocations: 22.58 kB / 0.591 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.3211, allocations: 30.52 kB / 0.591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3211, allocations: 3.984 kB / 0.591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001603/0.3213, allocations: 49.58 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3213, allocations: 4 kB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3213, allocations: 4.25 kB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3214, allocations: 0 / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3215, allocations: 11.98 kB / 0.5911 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3215, allocations: 0 / 0.5911 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.3217, allocations: 8 kB / 0.5911 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3217, allocations: 4 kB / 0.5911 GB, free: 13.41 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.0001365/0.3219, allocations: 201.1 kB / 0.5913 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.322, allocations: 104.9 kB / 0.5914 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.322, allocations: 108.1 kB / 0.5915 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-05/0.3221, allocations: 176.3 kB / 0.5916 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.641e-05/0.3222, allocations: 184.2 kB / 0.5918 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-05/0.3223, allocations: 180.2 kB / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.3226, allocations: 413.2 kB / 0.5924 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.022e-05/0.3227, allocations: 105 kB / 0.5925 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.3228, allocations: 105 kB / 0.5926 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.222e-05/0.3229, allocations: 184.2 kB / 0.5928 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-05/0.323, allocations: 180.3 kB / 0.5929 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.867e-05/0.3231, allocations: 184.2 kB / 0.5931 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.702e-05/0.3232, allocations: 180.3 kB / 0.5933 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3234, allocations: 311.6 kB / 0.5936 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3235, allocations: 182.1 kB / 0.5938 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3236, allocations: 192.2 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3238, allocations: 101 kB / 0.594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.3239, allocations: 180.2 kB / 0.5942 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.324, allocations: 104.9 kB / 0.5943 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.3241, allocations: 83.28 kB / 0.5944 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3241, allocations: 7.938 kB / 0.5944 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005171/0.3246, allocations: 47.98 kB / 0.5944 GB, free: 9.75 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.001284/0.3259, allocations: 0.9726 MB / 0.5954 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.326, allocations: 11.94 kB / 0.5954 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3261, allocations: 0 / 0.5954 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3261, allocations: 192 / 0.5954 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.3266, allocations: 463.7 kB / 0.5958 GB, free: 8.328 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.002282/0.3289, allocations: 1.353 MB / 0.5972 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.3294, allocations: 0.6768 MB / 0.5978 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.756e-05/0.3295, allocations: 3.938 kB / 0.5978 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.3296, allocations: 15.44 kB / 0.5978 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.3296, allocations: 0 / 0.5978 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.024/1.354, allocations: 2.607 MB / 0.6004 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/18.07, allocations: 10.89 kB / 0.6004 GB, free: 3.699 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)