Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001761/0.001761, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002407/0.002407, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.797 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.002706/0.002706, allocations: 283.2 kB / 312.7 MB, free: 2.629 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.253/1.253, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.004123/0.004123, allocations: 104.9 kB / 0.7395 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.189, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003079/0.1921, allocations: 1.482 MB / 0.8341 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000469/0.1925, allocations: 173.1 kB / 0.8343 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.1926, allocations: 0 / 0.8343 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.1926, allocations: 7.922 kB / 0.8343 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1928, allocations: 23.86 kB / 0.8343 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.193, allocations: 62.59 kB / 0.8343 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1931, allocations: 55.8 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.1932, allocations: 15.92 kB / 0.8344 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.1933, allocations: 31.91 kB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.1934, allocations: 19.92 kB / 0.8345 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1934, allocations: 4 kB / 0.8345 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.1934, allocations: 7.938 kB / 0.8345 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.1934, allocations: 7.984 kB / 0.8345 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.1935, allocations: 23.92 kB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1936, allocations: 47.86 kB / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1936, allocations: 4 kB / 0.8346 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1936, allocations: 0 / 0.8346 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.1936, allocations: 0 / 0.8346 GB, free: 6.371 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005497/0.1942, allocations: 274.2 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1942, allocations: 13.34 kB / 0.8348 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1943, allocations: 34.75 kB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.1943, allocations: 4.938 kB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1944, allocations: 118.4 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1944, allocations: 4.375 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1945, allocations: 4.375 kB / 0.835 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1947, allocations: 132.2 kB / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1947, allocations: 3.938 kB / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1947, allocations: 0 / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1947, allocations: 4 kB / 0.8351 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.1947, allocations: 19.92 kB / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.1952, allocations: 228 kB / 0.8354 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1953, allocations: 46.48 kB / 0.8354 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.1953, allocations: 12.86 kB / 0.8354 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1953, allocations: 8 kB / 0.8354 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.1955, allocations: 63.48 kB / 0.8355 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1955, allocations: 0 / 0.8355 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.000229/0.1958, allocations: 77.56 kB / 0.8356 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.1959, allocations: 106.8 kB / 0.8357 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.196, allocations: 105.8 kB / 0.8358 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.196, allocations: 29.7 kB / 0.8358 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.196, allocations: 84.14 kB / 0.8359 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1961, allocations: 11.94 kB / 0.8359 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.1961, allocations: 17.72 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1963, allocations: 326.8 kB / 0.8362 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.1963, allocations: 8 kB / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.1964, allocations: 85.97 kB / 0.8363 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.1964, allocations: 24.86 kB / 0.8363 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1964, allocations: 3.938 kB / 0.8363 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.1966, allocations: 61.64 kB / 0.8364 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1966, allocations: 4 kB / 0.8364 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1966, allocations: 0 / 0.8364 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1966, allocations: 4 kB / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.1967, allocations: 4.438 kB / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1967, allocations: 32 / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1968, allocations: 19.92 kB / 0.8364 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1968, allocations: 8 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000101/0.1969, allocations: 118.4 kB / 0.8365 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1969, allocations: 4 kB / 0.8365 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.1969, allocations: 7.688 kB / 0.8366 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1969, allocations: 0 / 0.8366 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1969, allocations: 0 / 0.8366 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1969, allocations: 0 / 0.8366 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1971, allocations: 144.6 kB / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1971, allocations: 4 kB / 0.8367 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.1971, allocations: 7.984 kB / 0.8367 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1971, allocations: 0 / 0.8367 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1971, allocations: 0 / 0.8367 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1971, allocations: 4 kB / 0.8367 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1971, allocations: 0 / 0.8367 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1973, allocations: 85.06 kB / 0.8368 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.1973, allocations: 11.92 kB / 0.8368 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1973, allocations: 7.938 kB / 0.8368 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1975, allocations: 11.98 kB / 0.8368 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1975, allocations: 3.984 kB / 0.8368 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1975, allocations: 8 kB / 0.8368 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.1976, allocations: 83.28 kB / 0.8369 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1976, allocations: 0 / 0.8369 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001924/0.1978, allocations: 12 kB / 0.8369 GB, free: 3.621 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004784/0.1982, allocations: 0.6384 MB / 0.8375 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1984, allocations: 24 kB / 0.8376 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1984, allocations: 0 / 0.8376 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.1984, allocations: 19.92 kB / 0.8376 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.1986, allocations: 12 kB / 0.8376 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1998, allocations: 1.165 MB / 0.8387 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/0.1998, allocations: 71.33 kB / 0.8388 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.1999, allocations: 4.25 kB / 0.8388 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1999, allocations: 11.44 kB / 0.8388 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.1999, allocations: 0 / 0.8388 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2294, allocations: 2.357 MB / 0.8411 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.42, allocations: 7.484 kB / 0.8411 GB, free: 15.34 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.728326478041708] Failed to read output from testmodel.py, exit status != 0: 11.52181164873764 11.545582478 11.347515785 Calling exit ...