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.00742/0.00742, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001855/0.001855, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9115/0.9115, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3931, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001992/0.3952, allocations: 1.284 MB / 0.6654 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3968, allocations: 1.442 MB / 0.6668 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.3969, allocations: 0 / 0.6668 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.3969, allocations: 1.469 kB / 0.6668 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3971, allocations: 18.59 kB / 0.6668 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.3977, allocations: 220.2 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.3977, allocations: 23.42 kB / 0.6671 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.3978, allocations: 1.312 kB / 0.6671 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.3979, allocations: 29.16 kB / 0.6671 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.398, allocations: 5.562 kB / 0.6671 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.398, allocations: 0 / 0.6671 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.3983, allocations: 171.5 kB / 0.6673 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.3983, allocations: 1.25 kB / 0.6673 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.3983, allocations: 16.2 kB / 0.6673 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3986, allocations: 143.5 kB / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3986, allocations: 0 / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3986, allocations: 0 / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3986, allocations: 0 / 0.6674 GB, free: 4.797 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.0003305/0.3989, allocations: 374.3 kB / 0.6678 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.399, allocations: 10.72 kB / 0.6678 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.399, allocations: 113.9 kB / 0.6679 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.3991, allocations: 81.3 kB / 0.668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3992, allocations: 237.9 kB / 0.6682 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.3993, allocations: 156.3 kB / 0.6684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.3993, allocations: 165.1 kB / 0.6685 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.052e-05/0.3994, allocations: 102 kB / 0.6686 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3994, allocations: 75.28 kB / 0.6687 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3994, allocations: 150.6 kB / 0.6688 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3995, allocations: 152.1 kB / 0.669 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.3995, allocations: 154.5 kB / 0.6691 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.3997, allocations: 461.9 kB / 0.6696 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.3998, allocations: 170.3 kB / 0.6697 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.3998, allocations: 81.67 kB / 0.6698 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3998, allocations: 75.28 kB / 0.6699 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3999, allocations: 113.9 kB / 0.67 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/0.3999, allocations: 1.625 kB / 0.67 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.064e-05/0.4, allocations: 31.02 kB / 0.67 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.4, allocations: 126.7 kB / 0.6701 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4001, allocations: 105.7 kB / 0.6702 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4001, allocations: 29.7 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.4002, allocations: 86.72 kB / 0.6703 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-06/0.4002, allocations: 0 / 0.6703 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.4002, allocations: 27.39 kB / 0.6704 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.4003, allocations: 312.3 kB / 0.6707 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.4003, allocations: 4.938 kB / 0.6707 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.4004, allocations: 34.12 kB / 0.6707 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.4004, allocations: 27.52 kB / 0.6707 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4004, allocations: 0 / 0.6707 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001258/0.4005, allocations: 55.25 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4006, allocations: 5.031 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4006, allocations: 1.281 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4006, allocations: 1.062 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.4007, allocations: 4.344 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4007, allocations: 1.125 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.4008, allocations: 15.52 kB / 0.6708 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.4009, allocations: 11.75 kB / 0.6708 GB, free: 1.168 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 7.703e-05/0.4009, allocations: 194.8 kB / 0.671 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.401, allocations: 101 kB / 0.6711 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.401, allocations: 113.4 kB / 0.6712 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/0.4011, allocations: 185.5 kB / 0.6714 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.11e-05/0.4011, allocations: 181.4 kB / 0.6716 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.4011, allocations: 181.5 kB / 0.6717 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.4014, allocations: 407.8 kB / 0.6721 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/0.4014, allocations: 101 kB / 0.6722 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.4014, allocations: 106.1 kB / 0.6723 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-05/0.4015, allocations: 181.4 kB / 0.6725 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.4016, allocations: 185.8 kB / 0.6727 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.936e-05/0.4016, allocations: 176.3 kB / 0.6728 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.26e-05/0.4017, allocations: 181.5 kB / 0.673 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.4018, allocations: 307.6 kB / 0.6733 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.4019, allocations: 195.2 kB / 0.6735 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.402, allocations: 177.6 kB / 0.6737 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.4021, allocations: 110.3 kB / 0.6738 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.4021, allocations: 176.3 kB / 0.6739 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.4022, allocations: 102.2 kB / 0.674 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.4022, allocations: 88.14 kB / 0.6741 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4022, allocations: 4 kB / 0.6741 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003422/0.4026, allocations: 54.14 kB / 0.6742 GB, free: 13.57 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.0008413/0.4034, allocations: 0.9781 MB / 0.6751 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.51e-05/0.4035, allocations: 22.58 kB / 0.6752 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4035, allocations: 1.219 kB / 0.6752 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.4036, allocations: 0 / 0.6752 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.4039, allocations: 455.4 kB / 0.6756 GB, free: 12.22 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.001141/0.405, allocations: 1.349 MB / 0.6769 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.4053, allocations: 0.6717 MB / 0.6776 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.4053, allocations: 1.375 kB / 0.6776 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.4054, allocations: 13.97 kB / 0.6776 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4054, allocations: 0 / 0.6776 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3752/0.7806, allocations: 2.621 MB / 0.6801 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.977, allocations: 9.484 kB / 0.6801 GB, free: 8.727 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 & 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)