Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.00129/0.00129, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001424/0.001424, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.785 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.002537/0.002537, allocations: 294.7 kB / 312.7 MB, free: 2.609 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.22/1.22, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",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.002945/0.002945, allocations: 95.84 kB / 0.7395 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1876, allocations: 95.38 MB / 0.8327 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003324/0.1909, allocations: 1.772 MB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1922, allocations: 0.6905 MB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.1923, allocations: 0 / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.1923, allocations: 11.86 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.1924, allocations: 19.75 kB / 0.8351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.193, allocations: 187.2 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1932, allocations: 127.7 kB / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1934, allocations: 37.88 kB / 0.8354 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1936, allocations: 63.77 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1937, allocations: 51.77 kB / 0.8355 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.1937, allocations: 8 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1938, allocations: 51.97 kB / 0.8356 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.1939, allocations: 35.83 kB / 0.8356 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.194, allocations: 43.8 kB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1942, allocations: 159.3 kB / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1942, allocations: 0 / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1942, allocations: 0 / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1942, allocations: 0 / 0.8358 GB, free: 5.012 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006985/0.1949, allocations: 373.6 kB / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.195, allocations: 13.94 kB / 0.8362 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.195, allocations: 46.73 kB / 0.8362 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.1961, allocations: 124.7 kB / 0.8364 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1963, allocations: 164.6 kB / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.1965, allocations: 123.1 kB / 0.8366 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1965, allocations: 8 kB / 0.8366 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.1971, allocations: 216.9 kB / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1971, allocations: 0 / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1971, allocations: 4 kB / 0.8368 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1972, allocations: 4 kB / 0.8368 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006375/0.1978, allocations: 163.8 kB / 0.837 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1989, allocations: 424.9 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2, allocations: 210.3 kB / 0.8376 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.2003, allocations: 80.91 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.2003, allocations: 0 / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.2004, allocations: 42.48 kB / 0.8377 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.2004, allocations: 0 / 0.8377 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001071/0.2014, allocations: 261.4 kB / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2015, allocations: 51.41 kB / 0.838 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2016, allocations: 149.2 kB / 0.8382 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.2017, allocations: 25.7 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.2017, allocations: 108.3 kB / 0.8383 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.2018, allocations: 15.84 kB / 0.8383 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.2018, allocations: 33.7 kB / 0.8383 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.202, allocations: 318.8 kB / 0.8386 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2023, allocations: 71.92 kB / 0.8387 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.2027, allocations: 98.47 kB / 0.8388 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.2033, allocations: 162.4 kB / 0.839 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2033, allocations: 0 / 0.839 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007034/0.204, allocations: 217.6 kB / 0.8392 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.204, allocations: 4 kB / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.204, allocations: 0 / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.204, allocations: 0 / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.2043, allocations: 39.95 kB / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2043, allocations: 0 / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.2045, allocations: 32.02 kB / 0.8392 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2045, allocations: 0 / 0.8392 GB, free: 1.254 MB / 0.5762 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 (8): * Single equations (assignments): 8 * 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.0001263/0.2046, allocations: 130.3 kB / 0.8394 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.2047, allocations: 11.95 kB / 0.8394 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/0.2054, allocations: 206.2 kB / 0.8396 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2054, allocations: 0 / 0.8396 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2054, allocations: 7.922 kB / 0.8396 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2054, allocations: 0 / 0.8396 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.2057, allocations: 189.4 kB / 0.8398 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2057, allocations: 0 / 0.8398 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.2059, allocations: 35.89 kB / 0.8398 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2059, allocations: 4 kB / 0.8398 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.206, allocations: 3.984 kB / 0.8398 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.206, allocations: 0 / 0.8398 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.206, allocations: 0 / 0.8398 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007246/0.2067, allocations: 287.3 kB / 0.8401 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.2067, allocations: 7.953 kB / 0.8401 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.2067, allocations: 4 kB / 0.8401 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.207, allocations: 31.95 kB / 0.8401 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2071, allocations: 7.984 kB / 0.8401 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2071, allocations: 7.984 kB / 0.8401 GB, free: 272 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.2072, allocations: 103.3 kB / 0.8402 GB, free: 168 kB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2072, allocations: 0 / 0.8402 GB, free: 168 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002631/0.2074, allocations: 27.89 kB / 0.8403 GB, free: 140 kB / 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 (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 Backend phase and start with SimCode phase: time 0.001129/0.2086, allocations: 0.8217 MB / 0.8411 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006824/0.2092, allocations: 167.8 kB / 0.8412 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2092, allocations: 0 / 0.8412 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.2095, allocations: 79.91 kB / 0.8413 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2098, allocations: 8 kB / 0.8413 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.2131, allocations: 1.858 MB / 0.8431 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.721e-05/0.2132, allocations: 85.19 kB / 0.8432 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.908e-05/0.2133, allocations: 19.75 kB / 0.8432 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.2134, allocations: 35.41 kB / 0.8433 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.2134, allocations: 0 / 0.8433 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.2456, allocations: 3.478 MB / 0.8467 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.45, allocations: 4.938 kB / 0.8467 GB, free: 9.602 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.765676933340728] Failed to read output from testmodel.py, exit status != 0: 11.55280260881409 11.569598534 11.372195486 Calling exit ...