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.001622/0.001622, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001988/0.001988, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002516/0.002516, allocations: 291 kB / 313.5 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="cs",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.002818/0.002818, allocations: 102.2 kB / 0.7404 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1939, allocations: 95.39 MB / 0.8335 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002477/0.1963, allocations: 1.291 MB / 0.8348 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1989, allocations: 1.591 MB / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.1989, allocations: 0 / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.1989, allocations: 0 / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1991, allocations: 19.91 kB / 0.8363 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1998, allocations: 215.7 kB / 0.8365 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.1998, allocations: 23.92 kB / 0.8366 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1999, allocations: 0 / 0.8366 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.2, allocations: 31.84 kB / 0.8366 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.2001, allocations: 10.52 kB / 0.8366 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.2001, allocations: 4 kB / 0.8366 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.2004, allocations: 175.8 kB / 0.8368 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.2004, allocations: 4 kB / 0.8368 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.2005, allocations: 11.94 kB / 0.8368 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.2007, allocations: 147.8 kB / 0.8369 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2007, allocations: 0 / 0.8369 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2007, allocations: 0 / 0.8369 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2007, allocations: 0 / 0.8369 GB, free: 5.105 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.0003913/0.2011, allocations: 290 kB / 0.8372 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2012, allocations: 13.34 kB / 0.8372 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.969e-05/0.2012, allocations: 79.47 kB / 0.8373 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.2013, allocations: 106 kB / 0.8374 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.2014, allocations: 76.22 kB / 0.8375 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.2015, allocations: 201.6 kB / 0.8377 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.2016, allocations: 158.6 kB / 0.8378 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.2017, allocations: 158.6 kB / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.407e-05/0.2018, allocations: 101 kB / 0.8381 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/0.2018, allocations: 75.28 kB / 0.8381 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.2019, allocations: 150.6 kB / 0.8383 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.239e-05/0.2019, allocations: 158.6 kB / 0.8384 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.202, allocations: 154.6 kB / 0.8386 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.2023, allocations: 429 kB / 0.839 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.2025, allocations: 169.1 kB / 0.8392 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.2025, allocations: 80.14 kB / 0.8392 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.2025, allocations: 79.27 kB / 0.8393 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/0.2026, allocations: 117.8 kB / 0.8394 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2026, allocations: 0 / 0.8394 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.925e-05/0.2027, allocations: 29.64 kB / 0.8394 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.2028, allocations: 126.7 kB / 0.8396 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2029, allocations: 105.8 kB / 0.8397 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2029, allocations: 25.7 kB / 0.8397 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.203, allocations: 84.14 kB / 0.8398 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.203, allocations: 0 / 0.8398 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.203, allocations: 21.72 kB / 0.8398 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2031, allocations: 318.8 kB / 0.8401 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.2032, allocations: 4 kB / 0.8401 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.2032, allocations: 26.56 kB / 0.8401 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.2033, allocations: 34.56 kB / 0.8402 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.2033, allocations: 4.188 kB / 0.8402 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001213/0.2034, allocations: 45.64 kB / 0.8402 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2034, allocations: 15.92 kB / 0.8402 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2034, allocations: 4 kB / 0.8402 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2034, allocations: 0 / 0.8402 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.2035, allocations: 4 kB / 0.8402 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2035, allocations: 4 kB / 0.8402 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.2036, allocations: 12.05 kB / 0.8402 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2037, allocations: 3.984 kB / 0.8402 GB, free: 1.492 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.0001246/0.2038, allocations: 193.7 kB / 0.8404 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.2038, allocations: 105 kB / 0.8405 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.2039, allocations: 116 kB / 0.8406 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.27e-05/0.204, allocations: 188.2 kB / 0.8408 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-05/0.2041, allocations: 180.3 kB / 0.841 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-05/0.2041, allocations: 180.2 kB / 0.8412 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.2044, allocations: 380.2 kB / 0.8415 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-05/0.2045, allocations: 101 kB / 0.8416 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.2045, allocations: 108.9 kB / 0.8417 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.05e-05/0.2046, allocations: 180.3 kB / 0.8419 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.2047, allocations: 184.2 kB / 0.8421 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.696e-05/0.2048, allocations: 176.3 kB / 0.8422 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.403e-05/0.2049, allocations: 184.2 kB / 0.8424 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.205, allocations: 307.7 kB / 0.8427 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.2051, allocations: 108.9 kB / 0.8428 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2052, allocations: 184.2 kB / 0.843 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.2053, allocations: 101 kB / 0.8431 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.2054, allocations: 184.2 kB / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.2054, allocations: 101 kB / 0.8434 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.2055, allocations: 87.27 kB / 0.8434 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2055, allocations: 4 kB / 0.8434 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003605/0.2058, allocations: 51.81 kB / 0.8435 GB, free: 13.96 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.001012/0.2068, allocations: 0.9784 MB / 0.8445 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.616e-05/0.2069, allocations: 8 kB / 0.8445 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2069, allocations: 0 / 0.8445 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.2069, allocations: 3.938 kB / 0.8445 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2073, allocations: 462.3 kB / 0.8449 GB, free: 12.52 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.001368/0.2087, allocations: 1.361 MB / 0.8462 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.209, allocations: 0.6729 MB / 0.8469 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.2091, allocations: 4 kB / 0.8469 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.2091, allocations: 7.438 kB / 0.8469 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.2091, allocations: 0 / 0.8469 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5365/0.7456, allocations: 2.775 MB / 0.8496 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.71, allocations: 11 kB / 0.8496 GB, free: 7.781 MB / 0.5919 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 25.140145414043218] Failed to read output from testmodel.py, exit status != 0: 18.973535377008375 18.992431186 18.788511959 Calling exit ...