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.001671/0.001671, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.002157/0.002157, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002553/0.002553, allocations: 283.8 kB / 309.8 MB, free: 3.426 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.096/1.096, allocations: 180.6 MB / 0.5338 GB, free: 12.75 MB / 398.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.003068/0.003068, allocations: 103.8 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5748/0.5779, allocations: 95.33 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002427/0.5803, allocations: 1.303 MB / 0.8291 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.5821, allocations: 1.487 MB / 0.8305 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.5821, allocations: 0 / 0.8305 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.5821, allocations: 7.938 kB / 0.8305 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.5823, allocations: 12.05 kB / 0.8305 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.5828, allocations: 218.6 kB / 0.8307 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.5829, allocations: 26.38 kB / 0.8308 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.583, allocations: 0.75 kB / 0.8308 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.5831, allocations: 25.47 kB / 0.8308 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.5832, allocations: 10.59 kB / 0.8308 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.5832, allocations: 2.625 kB / 0.8308 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.5835, allocations: 172.1 kB / 0.831 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.5835, allocations: 9.516 kB / 0.831 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.5835, allocations: 5.703 kB / 0.831 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.5837, allocations: 150.5 kB / 0.8311 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.5837, allocations: 4 kB / 0.8311 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5837, allocations: 0 / 0.8311 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5838, allocations: 0 / 0.8311 GB, free: 0.8438 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.0003356/0.5841, allocations: 371.2 kB / 0.8315 GB, free: 472 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5841, allocations: 9.688 kB / 0.8315 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.329e-05/0.5842, allocations: 76.36 kB / 0.8316 GB, free: 396 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.5842, allocations: 106 kB / 0.8317 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.5842, allocations: 83.09 kB / 0.8317 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.5844, allocations: 244.5 kB / 0.832 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.5845, allocations: 154.7 kB / 0.8321 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/0.5846, allocations: 158.4 kB / 0.8323 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.991e-05/0.5847, allocations: 101.7 kB / 0.8324 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.5847, allocations: 79.27 kB / 0.8324 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.5848, allocations: 154.6 kB / 0.8326 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/0.5848, allocations: 151.1 kB / 0.8327 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.5849, allocations: 157.2 kB / 0.8329 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.5852, allocations: 457.6 kB / 0.8333 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5853, allocations: 184.4 kB / 0.8335 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.5854, allocations: 80.14 kB / 0.8336 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.5854, allocations: 75.28 kB / 0.8336 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.5855, allocations: 110.6 kB / 0.8338 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5855, allocations: 0 / 0.8338 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.436e-05/0.5856, allocations: 34.8 kB / 0.8338 GB, free: 14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.5856, allocations: 130.7 kB / 0.8339 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.5857, allocations: 107.3 kB / 0.834 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5858, allocations: 25.7 kB / 0.834 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.5858, allocations: 82.22 kB / 0.8341 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.5858, allocations: 0 / 0.8341 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.5859, allocations: 22.64 kB / 0.8341 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.586, allocations: 312 kB / 0.8344 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.586, allocations: 7.078 kB / 0.8344 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.586, allocations: 28.05 kB / 0.8345 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.505e-05/0.5861, allocations: 29.58 kB / 0.8345 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5861, allocations: 3.938 kB / 0.8345 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001271/0.5862, allocations: 43.89 kB / 0.8345 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5862, allocations: 11.53 kB / 0.8346 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5862, allocations: 0 / 0.8346 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5863, allocations: 3.219 kB / 0.8346 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.063e-05/0.5863, allocations: 12.2 kB / 0.8346 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5863, allocations: 2.875 kB / 0.8346 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.5865, allocations: 13.66 kB / 0.8346 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.5865, allocations: 3.359 kB / 0.8346 GB, free: 13.18 MB / 0.5919 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.0001189/0.5866, allocations: 190.7 kB / 0.8348 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.5867, allocations: 120.2 kB / 0.8349 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.5867, allocations: 105.5 kB / 0.835 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.497e-05/0.5868, allocations: 183.6 kB / 0.8352 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-05/0.5869, allocations: 177.1 kB / 0.8353 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.77e-05/0.587, allocations: 177.1 kB / 0.8355 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.5872, allocations: 414.6 kB / 0.8359 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-05/0.5873, allocations: 101.6 kB / 0.836 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.5873, allocations: 108.9 kB / 0.8361 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-05/0.5874, allocations: 176.8 kB / 0.8363 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.5875, allocations: 183.5 kB / 0.8364 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.003e-05/0.5876, allocations: 189.5 kB / 0.8366 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.258e-05/0.5876, allocations: 180.8 kB / 0.8368 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.5878, allocations: 305.7 kB / 0.8371 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.5879, allocations: 186.4 kB / 0.8373 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/0.588, allocations: 180.8 kB / 0.8374 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.5881, allocations: 105.8 kB / 0.8375 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.5881, allocations: 183.8 kB / 0.8377 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.5882, allocations: 101.8 kB / 0.8378 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.5882, allocations: 90.92 kB / 0.8379 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5882, allocations: 0 / 0.8379 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003449/0.5886, allocations: 53.69 kB / 0.8379 GB, free: 9.613 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.0009845/0.5896, allocations: 0.9624 MB / 0.8389 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.5897, allocations: 16.03 kB / 0.8389 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5897, allocations: 0 / 0.8389 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.5897, allocations: 0.7031 kB / 0.8389 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.59, allocations: 469 kB / 0.8393 GB, free: 8.285 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.001412/0.5915, allocations: 1.345 MB / 0.8407 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5918, allocations: 0.6778 MB / 0.8413 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.5918, allocations: 3.672 kB / 0.8413 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.5918, allocations: 8.234 kB / 0.8413 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5918, allocations: 0 / 0.8413 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5447/1.137, allocations: 2.715 MB / 0.844 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/9.513, allocations: 7.219 kB / 0.844 GB, free: 5.723 MB / 0.5919 GB " [Timeout remaining time 643] (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: 22.835320451995358] Failed to read output from testmodel.py, exit status != 0: 16.831390398030635 16.846270203 16.259580419 Calling exit ...