Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008072/0.0008072, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.0008416/0.0008416, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 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 0.9557/0.9557, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.962/1.962, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008991/0.0008991, allocations: 71.88 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8109, allocations: 180 MB / 1.352 GB, free: 1.73 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001861/0.8127, allocations: 1.294 MB / 1.354 GB, free: 440 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.8145, allocations: 1.512 MB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.8145, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.8145, allocations: 4 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.8148, allocations: 19.91 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.8152, allocations: 223.4 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.8153, allocations: 27.86 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.8154, allocations: 0 / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.8155, allocations: 27.97 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.413e-05/0.8156, allocations: 4 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.8156, allocations: 3.938 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.8158, allocations: 155.8 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.8158, allocations: 4 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.8158, allocations: 7.984 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.816, allocations: 141.9 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.816, allocations: 4 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.816, allocations: 0 / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.816, allocations: 0 / 1.356 GB, free: 14.31 MB / 1.042 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.0002874/0.8163, allocations: 293.9 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.8163, allocations: 12.92 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.8164, allocations: 110 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.8164, allocations: 76.22 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.8165, allocations: 189.8 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.8166, allocations: 154.9 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.8166, allocations: 158.5 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.296e-05/0.8167, allocations: 105 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.8167, allocations: 79.28 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.8167, allocations: 150.6 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.8168, allocations: 150.6 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.8168, allocations: 154.5 kB / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.817, allocations: 429 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.8171, allocations: 169.1 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.8171, allocations: 84.08 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.8171, allocations: 75.28 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.8171, allocations: 113.8 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.8171, allocations: 0 / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 6.452e-05/0.8172, allocations: 33.69 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.8173, allocations: 134.7 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.8173, allocations: 97.86 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.8173, allocations: 29.7 kB / 1.358 GB, free: 11.39 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.8174, allocations: 84.12 kB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.8174, allocations: 0 / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.8174, allocations: 21.72 kB / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.8175, allocations: 310.8 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.8175, allocations: 3.984 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.8175, allocations: 107.7 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.8176, allocations: 34.52 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.8176, allocations: 0 / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001028/0.8177, allocations: 53.5 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.8177, allocations: 4 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.8177, allocations: 4 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.8177, allocations: 0 / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.8178, allocations: 7.984 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8178, allocations: 8.031 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.8179, allocations: 12.2 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.8179, allocations: 4 kB / 1.359 GB, free: 10.69 MB / 1.042 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 6.936e-05/0.8179, allocations: 193 kB / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.818, allocations: 105 kB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.818, allocations: 123.9 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/0.8181, allocations: 176.3 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.923e-05/0.8181, allocations: 176.3 kB / 1.36 GB, free: 9.895 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-05/0.8181, allocations: 192.2 kB / 1.36 GB, free: 9.699 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.8183, allocations: 376.2 kB / 1.36 GB, free: 9.281 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/0.8183, allocations: 108.9 kB / 1.36 GB, free: 9.168 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.8183, allocations: 105 kB / 1.361 GB, free: 9.059 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.673e-05/0.8184, allocations: 180.3 kB / 1.361 GB, free: 8.875 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.8184, allocations: 180.2 kB / 1.361 GB, free: 8.691 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.128e-05/0.8185, allocations: 176.3 kB / 1.361 GB, free: 8.512 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.056e-05/0.8185, allocations: 188.2 kB / 1.361 GB, free: 8.32 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.8186, allocations: 303.8 kB / 1.362 GB, free: 8 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.8186, allocations: 108.9 kB / 1.362 GB, free: 7.887 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.8187, allocations: 180.3 kB / 1.362 GB, free: 7.703 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.736e-05/0.8187, allocations: 108.9 kB / 1.362 GB, free: 7.59 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.8188, allocations: 180.3 kB / 1.362 GB, free: 7.406 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.8188, allocations: 108.9 kB / 1.362 GB, free: 7.293 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.8188, allocations: 83.28 kB / 1.362 GB, free: 7.211 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.8188, allocations: 0 / 1.362 GB, free: 7.211 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001965/0.819, allocations: 51.73 kB / 1.362 GB, free: 7.16 MB / 1.042 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.0005553/0.8196, allocations: 0.9885 MB / 1.363 GB, free: 6.184 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.706e-05/0.8197, allocations: 7.938 kB / 1.363 GB, free: 6.176 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.8197, allocations: 0 / 1.363 GB, free: 6.176 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.8197, allocations: 4.188 kB / 1.363 GB, free: 6.172 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.8199, allocations: 459.7 kB / 1.364 GB, free: 5.719 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.8206, allocations: 1.357 MB / 1.365 GB, free: 4.27 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.8206, allocations: 55.36 kB / 1.365 GB, free: 4.195 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.8207, allocations: 7.891 kB / 1.365 GB, free: 4.188 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.8207, allocations: 11.44 kB / 1.365 GB, free: 4.176 MB / 1.042 GB Notification: Performance of SimCode: time 6.12e-07/0.8207, allocations: 0 / 1.365 GB, free: 4.176 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07506/0.8958, allocations: 3.143 MB / 1.368 GB, free: 1.199 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/8.071, allocations: 4.062 kB / 1.368 GB, free: 1.195 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.979513941332698]