Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.001388/0.001388, allocations: 110.4 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.00147/0.00147, allocations: 215.3 kB / 22.25 MB, free: 5.121 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 8.008 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.002502/0.002502, allocations: 290.6 kB / 312.7 MB, free: 2.918 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.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",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.002927/0.002927, allocations: 104.2 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1843, allocations: 95.39 MB / 0.8328 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.00276/0.1871, allocations: 0.5805 MB / 0.8333 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.1874, allocations: 56.19 kB / 0.8334 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.1875, allocations: 0 / 0.8334 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.1875, allocations: 3.938 kB / 0.8334 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.1875, allocations: 0 / 0.8334 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1878, allocations: 15.92 kB / 0.8334 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.499e-05/0.1878, allocations: 0 / 0.8334 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.1879, allocations: 4 kB / 0.8334 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.1879, allocations: 0 / 0.8334 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.1879, allocations: 3.984 kB / 0.8334 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1879, allocations: 4 kB / 0.8334 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.188, allocations: 27.97 kB / 0.8335 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.1881, allocations: 0 / 0.8335 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.1881, allocations: 0 / 0.8335 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1882, allocations: 16.27 kB / 0.8335 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1882, allocations: 0 / 0.8335 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1882, allocations: 0 / 0.8335 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1882, allocations: 0 / 0.8335 GB, free: 7.934 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003491/0.1885, allocations: 238.4 kB / 0.8337 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.1886, allocations: 13.33 kB / 0.8337 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.1886, allocations: 38.69 kB / 0.8338 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.189, allocations: 20.91 kB / 0.8338 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1891, allocations: 106.5 kB / 0.8339 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1891, allocations: 4.312 kB / 0.8339 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1891, allocations: 384 / 0.8339 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1893, allocations: 38.19 kB / 0.8339 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1893, allocations: 7.922 kB / 0.8339 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1893, allocations: 4 kB / 0.8339 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1893, allocations: 4 kB / 0.8339 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1894, allocations: 7.984 kB / 0.8339 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.1896, allocations: 116.8 kB / 0.834 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1898, allocations: 22.61 kB / 0.8341 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.1898, allocations: 12.91 kB / 0.8341 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1899, allocations: 4 kB / 0.8341 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1899, allocations: 34.5 kB / 0.8341 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.1899, allocations: 4 kB / 0.8341 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0003165/0.1902, allocations: 41.62 kB / 0.8342 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1903, allocations: 55.39 kB / 0.8342 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.1903, allocations: 93.86 kB / 0.8343 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1903, allocations: 29.83 kB / 0.8343 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.1904, allocations: 84.14 kB / 0.8344 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.1904, allocations: 0 / 0.8344 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1905, allocations: 9.719 kB / 0.8344 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1906, allocations: 314.8 kB / 0.8347 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.1907, allocations: 3.984 kB / 0.8347 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.96e-05/0.1907, allocations: 4 kB / 0.8347 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1909, allocations: 24.84 kB / 0.8348 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1909, allocations: 0 / 0.8348 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001901/0.1911, allocations: 41.69 kB / 0.8348 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1911, allocations: 4 kB / 0.8348 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1911, allocations: 7.938 kB / 0.8348 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1911, allocations: 0 / 0.8348 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.1912, allocations: 3.984 kB / 0.8348 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1912, allocations: 4.031 kB / 0.8348 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.1912, allocations: 4 kB / 0.8348 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1912, allocations: 0 / 0.8348 GB, free: 6.363 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.351e-05/0.1913, allocations: 106.5 kB / 0.8349 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.1914, allocations: 7.984 kB / 0.8349 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.1914, allocations: 6.938 kB / 0.8349 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1914, allocations: 7.938 kB / 0.8349 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1914, allocations: 0 / 0.8349 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1914, allocations: 3.938 kB / 0.8349 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1915, allocations: 128.7 kB / 0.8351 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1915, allocations: 4 kB / 0.8351 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1916, allocations: 3.984 kB / 0.8351 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1916, allocations: 0 / 0.8351 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1916, allocations: 3.938 kB / 0.8351 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1916, allocations: 4 kB / 0.8351 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1916, allocations: 0 / 0.8351 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1918, allocations: 61.12 kB / 0.8351 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.1918, allocations: 7.984 kB / 0.8351 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1918, allocations: 3.938 kB / 0.8352 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.1919, allocations: 4 kB / 0.8352 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1919, allocations: 0 / 0.8352 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1919, allocations: 0 / 0.8352 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.1919, allocations: 75.28 kB / 0.8352 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1919, allocations: 4 kB / 0.8352 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003312/0.1923, allocations: 0 / 0.8352 GB, free: 5.867 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0006419/0.1929, allocations: 0.6084 MB / 0.8358 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1931, allocations: 11.98 kB / 0.8358 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1931, allocations: 4.094 kB / 0.8358 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.1932, allocations: 11.92 kB / 0.8359 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1934, allocations: 0.5156 kB / 0.8359 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1939, allocations: 110.7 kB / 0.836 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1943, allocations: 0.669 MB / 0.8366 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.1944, allocations: 4.062 kB / 0.8366 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.1944, allocations: 15.42 kB / 0.8366 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.1944, allocations: 0 / 0.8366 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.2265, allocations: 1.066 MB / 0.8377 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.52, allocations: 6.328 kB / 0.8377 GB, free: 3.406 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.81991792899862] Failed to read output from testmodel.py, exit status != 0: 10.627211622999312 10.653598033 10.460573246 Calling exit ...