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.0008156/0.0008156, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.0008634/0.0008634, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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.9359/0.9359, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.772/1.772, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.472e-06/1.472e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.631e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001592/0.001608, allocations: 1.294 MB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.003065, allocations: 1.524 MB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.003098, allocations: 0 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.003114, allocations: 7.875 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.003321, allocations: 27.78 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.003715, allocations: 217.2 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.593e-05/0.003781, allocations: 31.84 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.003817, allocations: 0 / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.003947, allocations: 23.98 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.003996, allocations: 7.984 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004009, allocations: 3.938 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.00419, allocations: 151.7 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.004204, allocations: 11.98 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.004221, allocations: 4 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.004424, allocations: 167.5 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004426, allocations: 4 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004427, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004431, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 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.0002756/0.004707, allocations: 290 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.004745, allocations: 17.28 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.004788, allocations: 110 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.004846, allocations: 80.17 kB / 1.005 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.004954, allocations: 181.1 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.004993, allocations: 158.9 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.005033, allocations: 154.9 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.752e-05/0.005081, allocations: 105.3 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.0051, allocations: 79.27 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.005136, allocations: 154.6 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.005171, allocations: 154.5 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.005206, allocations: 154.6 kB / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.0054, allocations: 425 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.005462, allocations: 177.1 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.005487, allocations: 80.14 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.005506, allocations: 75.28 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.005536, allocations: 113.8 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.005537, allocations: 0 / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.138e-05/0.005598, allocations: 29.64 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.005641, allocations: 130.7 kB / 1.007 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.005724, allocations: 105.8 kB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.005736, allocations: 29.7 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.005769, allocations: 88.14 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.005772, allocations: 0 / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.005799, allocations: 17.72 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.005869, allocations: 322.8 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.005877, allocations: 0 / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.627e-05/0.005933, allocations: 107.7 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.005967, allocations: 26.52 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.00597, allocations: 0 / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.789e-05/0.006068, allocations: 57.58 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006079, allocations: 7.938 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006083, allocations: 0 / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006094, allocations: 4 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.006152, allocations: 4 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.006158, allocations: 0 / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.00625, allocations: 11.92 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.006259, allocations: 11.98 kB / 1.007 GB, free: 6.418 MB / 0.9636 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.588e-05/0.006325, allocations: 189.2 kB / 1.008 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.006361, allocations: 108.9 kB / 1.008 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.006393, allocations: 104.1 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/0.006434, allocations: 192.2 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-05/0.006475, allocations: 176.3 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/0.006516, allocations: 176.3 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.006722, allocations: 380.2 kB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/0.006747, allocations: 105 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.006768, allocations: 104.9 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-05/0.006809, allocations: 180.2 kB / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.006849, allocations: 180.3 kB / 1.009 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-05/0.006886, allocations: 188.2 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.715e-05/0.006923, allocations: 180.3 kB / 1.01 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.569e-05/0.007009, allocations: 307.8 kB / 1.01 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.007038, allocations: 116.9 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.007084, allocations: 180.2 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.007132, allocations: 105 kB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.007177, allocations: 184.2 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.007198, allocations: 101 kB / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.007231, allocations: 91.52 kB / 1.011 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007231, allocations: 0 / 1.011 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001992/0.00743, allocations: 55.8 kB / 1.011 GB, free: 2.883 MB / 0.9636 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.0005657/0.007996, allocations: 0.9869 MB / 1.012 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.772e-05/0.008064, allocations: 8 kB / 1.012 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.008066, allocations: 4 kB / 1.012 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.008068, allocations: 3.938 kB / 1.012 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.008301, allocations: 459.7 kB / 1.012 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.009123, allocations: 1.345 MB / 1.013 GB, free: 4 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.009174, allocations: 59.34 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.009195, allocations: 0 / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.009221, allocations: 16.44 kB / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.009221, allocations: 0 / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07542/0.08464, allocations: 3.287 MB / 1.017 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.293, allocations: 10.77 kB / 1.017 GB, free: 12.78 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.792335459031165]