Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001297/0.001297, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001449/0.001449, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.973 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.002529/0.002529, allocations: 285.3 kB / 312.7 MB, free: 2.777 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.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.002939/0.002939, allocations: 108.7 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.185, allocations: 95.39 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003341/0.1884, allocations: 1.521 MB / 0.8342 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1894, allocations: 0.4965 MB / 0.8347 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.1895, allocations: 4 kB / 0.8347 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.1895, allocations: 7.922 kB / 0.8347 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.1898, allocations: 27.84 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.21e-05/0.1899, allocations: 19.92 kB / 0.8348 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.19, allocations: 47.8 kB / 0.8348 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.1901, allocations: 11.94 kB / 0.8348 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1902, allocations: 31.84 kB / 0.8349 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1903, allocations: 27.91 kB / 0.8349 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1903, allocations: 4 kB / 0.8349 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.1903, allocations: 8 kB / 0.8349 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1904, allocations: 4 kB / 0.8349 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.1904, allocations: 27.84 kB / 0.8349 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.1905, allocations: 31.89 kB / 0.835 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1905, allocations: 4 kB / 0.835 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1905, allocations: 0 / 0.835 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1905, allocations: 0 / 0.835 GB, free: 6.336 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.0005755/0.1911, allocations: 282.1 kB / 0.8352 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1911, allocations: 17.94 kB / 0.8352 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.1912, allocations: 30.75 kB / 0.8353 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1912, allocations: 4.891 kB / 0.8353 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1914, allocations: 114.5 kB / 0.8354 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1914, allocations: 8.297 kB / 0.8354 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1914, allocations: 4.375 kB / 0.8354 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1915, allocations: 49.81 kB / 0.8354 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1915, allocations: 0 / 0.8354 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1915, allocations: 0 / 0.8354 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1915, allocations: 4 kB / 0.8355 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.507e-05/0.1916, allocations: 23.92 kB / 0.8355 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.192, allocations: 251.9 kB / 0.8357 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1922, allocations: 42.56 kB / 0.8358 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1922, allocations: 20.86 kB / 0.8358 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.1922, allocations: 0 / 0.8358 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.1925, allocations: 71.42 kB / 0.8358 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1925, allocations: 0 / 0.8358 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002585/0.1927, allocations: 81.67 kB / 0.8359 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1928, allocations: 55.41 kB / 0.836 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.1929, allocations: 109.8 kB / 0.8361 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1929, allocations: 25.7 kB / 0.8361 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.193, allocations: 92.09 kB / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.193, allocations: 15.88 kB / 0.8362 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.193, allocations: 13.72 kB / 0.8362 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1932, allocations: 326.8 kB / 0.8365 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.1932, allocations: 11.98 kB / 0.8365 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.1932, allocations: 15.94 kB / 0.8366 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/0.1933, allocations: 32.86 kB / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1933, allocations: 0 / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001083/0.1934, allocations: 61.64 kB / 0.8366 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1934, allocations: 6.188 kB / 0.8367 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1934, allocations: 0 / 0.8367 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1934, allocations: 4 kB / 0.8367 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1935, allocations: 15.98 kB / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1935, allocations: 3.938 kB / 0.8367 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.1936, allocations: 4 kB / 0.8367 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1936, allocations: 0 / 0.8367 GB, free: 4.379 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 (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.791e-05/0.1937, allocations: 118.4 kB / 0.8368 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.1937, allocations: 11.94 kB / 0.8368 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.1937, allocations: 4.062 kB / 0.8368 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1937, allocations: 0 / 0.8368 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1938, allocations: 448 / 0.8368 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1938, allocations: 7.984 kB / 0.8368 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.1939, allocations: 144.7 kB / 0.837 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1939, allocations: 4 kB / 0.837 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.1939, allocations: 11.92 kB / 0.837 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1939, allocations: 0 / 0.837 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1939, allocations: 4 kB / 0.837 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1939, allocations: 0 / 0.837 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1939, allocations: 0 / 0.837 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.1941, allocations: 101 kB / 0.8371 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.1941, allocations: 11.88 kB / 0.8371 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1941, allocations: 4 kB / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.1942, allocations: 4 kB / 0.8371 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1942, allocations: 3.984 kB / 0.8371 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.1942, allocations: 4 kB / 0.8371 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.1943, allocations: 91.27 kB / 0.8372 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1943, allocations: 0 / 0.8372 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001953/0.1945, allocations: 15.94 kB / 0.8372 GB, free: 3.77 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,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.0004651/0.1949, allocations: 0.6358 MB / 0.8378 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1951, allocations: 31.92 kB / 0.8379 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1951, allocations: 0 / 0.8379 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.1951, allocations: 19.98 kB / 0.8379 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.1953, allocations: 4 kB / 0.8379 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1966, allocations: 1.228 MB / 0.8391 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.1969, allocations: 0.6807 MB / 0.8397 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.197, allocations: 4 kB / 0.8397 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.197, allocations: 15.42 kB / 0.8398 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.197, allocations: 4 kB / 0.8398 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.2263, allocations: 1.646 MB / 0.8414 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.26, allocations: 12.25 kB / 0.8414 GB, free: 15.53 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.476299032998213] Failed to read output from testmodel.py, exit status != 0: 10.362577641000826 10.377630397999999 10.184114239 Calling exit ...