Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108.7 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.302/1.302, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 291.2 kB / 309.1 MB, free: 3.961 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 180.9 MB / 0.5333 GB, free: 13.77 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 113.8 kB / 0.7343 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1451, allocations: 95.33 MB / 0.8274 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002243/0.1474, allocations: 1.29 MB / 0.8286 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1495, allocations: 1.493 MB / 0.8301 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.1495, allocations: 0 / 0.8301 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.1495, allocations: 0 / 0.8301 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.1497, allocations: 15.91 kB / 0.8301 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.1503, allocations: 213.9 kB / 0.8303 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.1503, allocations: 19.92 kB / 0.8303 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.141e-05/0.1504, allocations: 8 kB / 0.8303 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1505, allocations: 31.84 kB / 0.8304 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.1505, allocations: 9.031 kB / 0.8304 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.1505, allocations: 0 / 0.8304 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.1508, allocations: 171.8 kB / 0.8305 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.1508, allocations: 0 / 0.8305 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.1508, allocations: 7.938 kB / 0.8305 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1511, allocations: 155.8 kB / 0.8307 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1511, allocations: 0 / 0.8307 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1511, allocations: 0 / 0.8307 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1511, allocations: 4 kB / 0.8307 GB, free: 6.449 MB / 0.5762 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.0003712/0.1515, allocations: 367.1 kB / 0.831 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1515, allocations: 11.97 kB / 0.831 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.1515, allocations: 106 kB / 0.8312 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.1516, allocations: 84.22 kB / 0.8312 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1518, allocations: 247.5 kB / 0.8315 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.1519, allocations: 154.9 kB / 0.8316 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.1519, allocations: 162.4 kB / 0.8318 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.435e-05/0.152, allocations: 105 kB / 0.8319 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.152, allocations: 79.28 kB / 0.8319 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/0.1521, allocations: 158.6 kB / 0.8321 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/0.1521, allocations: 150.6 kB / 0.8322 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.1522, allocations: 166.5 kB / 0.8324 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.1525, allocations: 453.9 kB / 0.8328 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.655e-05/0.1526, allocations: 169.1 kB / 0.833 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.1526, allocations: 80.14 kB / 0.8331 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.1527, allocations: 83.28 kB / 0.8331 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.1527, allocations: 109.8 kB / 0.8333 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1527, allocations: 0 / 0.8333 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.925e-05/0.1528, allocations: 29.64 kB / 0.8333 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1529, allocations: 130.7 kB / 0.8334 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.153, allocations: 101.8 kB / 0.8335 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.153, allocations: 25.7 kB / 0.8335 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.153, allocations: 88.14 kB / 0.8336 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.153, allocations: 0 / 0.8336 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1531, allocations: 21.7 kB / 0.8336 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1532, allocations: 318.8 kB / 0.8339 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.1532, allocations: 0 / 0.8339 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.1533, allocations: 26.56 kB / 0.834 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.621e-05/0.1533, allocations: 30.52 kB / 0.834 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1533, allocations: 0 / 0.834 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/0.1534, allocations: 53.56 kB / 0.834 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1534, allocations: 8 kB / 0.8341 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1534, allocations: 3.984 kB / 0.8341 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1535, allocations: 0 / 0.8341 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.1535, allocations: 4 kB / 0.8341 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1535, allocations: 8.094 kB / 0.8341 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1537, allocations: 11.94 kB / 0.8341 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1537, allocations: 0 / 0.8341 GB, free: 2.715 MB / 0.5762 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.000109/0.1538, allocations: 199.8 kB / 0.8343 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.1538, allocations: 101 kB / 0.8344 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.1539, allocations: 115.9 kB / 0.8345 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-05/0.154, allocations: 188.1 kB / 0.8347 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-05/0.154, allocations: 176.3 kB / 0.8348 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.365e-05/0.1541, allocations: 184.1 kB / 0.835 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.1544, allocations: 409.2 kB / 0.8354 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-05/0.1544, allocations: 101 kB / 0.8355 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.1545, allocations: 108.9 kB / 0.8356 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.129e-05/0.1545, allocations: 180.3 kB / 0.8358 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.1546, allocations: 192.2 kB / 0.8359 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.516e-05/0.1547, allocations: 176.5 kB / 0.8361 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.077e-05/0.1547, allocations: 180.3 kB / 0.8363 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1549, allocations: 315.7 kB / 0.8366 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.155, allocations: 186 kB / 0.8368 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.155, allocations: 176.3 kB / 0.8369 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.1551, allocations: 101 kB / 0.837 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.1552, allocations: 184.2 kB / 0.8372 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.1552, allocations: 105 kB / 0.8373 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.1553, allocations: 87.28 kB / 0.8374 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1553, allocations: 0 / 0.8374 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003179/0.1556, allocations: 55.8 kB / 0.8374 GB, free: 15.05 MB / 0.5919 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.0009024/0.1565, allocations: 0.9687 MB / 0.8384 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.488e-05/0.1566, allocations: 7.984 kB / 0.8384 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1566, allocations: 7.938 kB / 0.8384 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1566, allocations: 0 / 0.8384 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.157, allocations: 455.7 kB / 0.8388 GB, free: 13.63 MB / 0.5919 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.1581, allocations: 1.361 MB / 0.8402 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1584, allocations: 0.6729 MB / 0.8408 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.1584, allocations: 48 / 0.8408 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1584, allocations: 15.42 kB / 0.8408 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1584, allocations: 0 / 0.8408 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5163/0.6747, allocations: 2.671 MB / 0.8434 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.941, allocations: 14.58 kB / 0.8435 GB, free: 8.977 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.319669984746724] Failed to read output from testmodel.py, exit status != 0: 14.887572051025927 14.901572018 14.747951970999999 Calling exit ...