Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.00139/0.00139, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001487/0.001487, allocations: 204 kB / 20.09 MB, free: 2.977 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.02/1.02, allocations: 150 MB / 459.5 MB, free: 5.305 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001985/0.001985, allocations: 77.58 kB / 0.6361 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1854, allocations: 89.13 MB / 0.7232 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00289/0.1883, allocations: 1.483 MB / 0.7246 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.1893, allocations: 0.5083 MB / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.1893, allocations: 0 / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.1893, allocations: 3.984 kB / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1896, allocations: 31.78 kB / 0.7252 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.779e-05/0.1897, allocations: 11.98 kB / 0.7252 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1898, allocations: 51.78 kB / 0.7252 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1899, allocations: 15.94 kB / 0.7252 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1901, allocations: 23.92 kB / 0.7253 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.1902, allocations: 31.89 kB / 0.7253 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1902, allocations: 4 kB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.1902, allocations: 4 kB / 0.7253 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.1902, allocations: 4 kB / 0.7253 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.1903, allocations: 27.8 kB / 0.7253 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1904, allocations: 39.88 kB / 0.7254 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1904, allocations: 4 kB / 0.7254 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1904, allocations: 0 / 0.7254 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1904, allocations: 0 / 0.7254 GB, free: 1.805 MB / 0.5294 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.0006817/0.191, allocations: 365.2 kB / 0.7257 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.1911, allocations: 8.031 kB / 0.7257 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.1912, allocations: 30.75 kB / 0.7257 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.1912, allocations: 4.938 kB / 0.7258 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1914, allocations: 172.3 kB / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1914, allocations: 8.375 kB / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1914, allocations: 4.375 kB / 0.7259 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1916, allocations: 53.75 kB / 0.726 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1916, allocations: 0 / 0.726 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1916, allocations: 0 / 0.726 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1916, allocations: 7.938 kB / 0.726 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.1917, allocations: 15.98 kB / 0.726 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.1921, allocations: 276.8 kB / 0.7263 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1922, allocations: 46.56 kB / 0.7263 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.1923, allocations: 24.88 kB / 0.7263 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.1923, allocations: 3.938 kB / 0.7263 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.1924, allocations: 63.39 kB / 0.7264 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1924, allocations: 0 / 0.7264 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002406/0.1927, allocations: 81.62 kB / 0.7265 GB, free: 492 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1927, allocations: 59.41 kB / 0.7265 GB, free: 420 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.1928, allocations: 113.8 kB / 0.7266 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1929, allocations: 25.7 kB / 0.7267 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.1929, allocations: 92.12 kB / 0.7268 GB, free: 168 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1929, allocations: 7.906 kB / 0.7268 GB, free: 160 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.193, allocations: 17.72 kB / 0.7268 GB, free: 136 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1931, allocations: 326.8 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.1932, allocations: 8 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.1932, allocations: 12 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.822e-05/0.1933, allocations: 36.84 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1933, allocations: 0 / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001155/0.1934, allocations: 65.64 kB / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1934, allocations: 4 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1934, allocations: 3.938 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1934, allocations: 4 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.1935, allocations: 4 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1935, allocations: 0 / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.1936, allocations: 7.984 kB / 0.7272 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1936, allocations: 4 kB / 0.7272 GB, free: 15.65 MB / 0.545 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.578e-05/0.1937, allocations: 117.8 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.1937, allocations: 4 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.1937, allocations: 8.406 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1937, allocations: 0 / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1937, allocations: 0 / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1937, allocations: 0 / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1939, allocations: 189.5 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1939, allocations: 3.938 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.1939, allocations: 8 kB / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1939, allocations: 0 / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1939, allocations: 0 / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1939, allocations: 0 / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1939, allocations: 0 / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1941, allocations: 105 kB / 0.7276 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.1942, allocations: 85 kB / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1942, allocations: 0 / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1943, allocations: 11.98 kB / 0.7277 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.1943, allocations: 4 kB / 0.7277 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1943, allocations: 7.938 kB / 0.7278 GB, free: 15.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.1944, allocations: 91.58 kB / 0.7278 GB, free: 14.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1944, allocations: 0 / 0.7278 GB, free: 14.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001948/0.1946, allocations: 8 kB / 0.7278 GB, free: 14.91 MB / 0.545 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0004998/0.1951, allocations: 0.6358 MB / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1952, allocations: 35.98 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1952, allocations: 0 / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.1953, allocations: 15.94 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1954, allocations: 5.719 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1967, allocations: 1.228 MB / 0.7297 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.197, allocations: 0.6807 MB / 0.7304 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.1971, allocations: 8.234 kB / 0.7304 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.1971, allocations: 18.31 kB / 0.7304 GB, free: 12.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1971, allocations: 0 / 0.7304 GB, free: 12.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.2214, allocations: 1.524 MB / 0.7319 GB, free: 10.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.176, allocations: 20.27 kB / 0.7319 GB, free: 10.77 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.368153630988672] Failed to read output from testmodel.py, exit status != 0: 8.246268980903551 8.270579213 8.076043985 Calling exit ...