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.001561/0.001561, allocations: 113 kB / 18.94 MB, free: 2.934 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.00207/0.00207, allocations: 208.9 kB / 22.25 MB, free: 5.086 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 8.012 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.002492/0.002492, allocations: 287.3 kB / 312.7 MB, free: 2.793 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.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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.00281/0.00281, allocations: 100.7 kB / 0.7396 GB, free: 28.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1839, allocations: 95.38 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003237/0.1872, allocations: 1.827 MB / 0.8345 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1886, allocations: 0.741 MB / 0.8352 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.1887, allocations: 4 kB / 0.8353 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.589e-05/0.1887, allocations: 19.8 kB / 0.8353 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.1888, allocations: 19.73 kB / 0.8353 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.1894, allocations: 174.1 kB / 0.8355 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1896, allocations: 131.6 kB / 0.8356 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1898, allocations: 37.89 kB / 0.8356 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1899, allocations: 67.83 kB / 0.8357 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1901, allocations: 55.69 kB / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1901, allocations: 12 kB / 0.8357 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1902, allocations: 51.97 kB / 0.8358 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.1903, allocations: 35.89 kB / 0.8358 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.1903, allocations: 47.73 kB / 0.8359 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1906, allocations: 163.3 kB / 0.836 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1906, allocations: 0 / 0.836 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1906, allocations: 4 kB / 0.836 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1906, allocations: 0 / 0.836 GB, free: 5.215 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.0006346/0.1912, allocations: 365.7 kB / 0.8364 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.1913, allocations: 9.344 kB / 0.8364 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.1914, allocations: 38.75 kB / 0.8364 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.1923, allocations: 140.6 kB / 0.8366 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.1927, allocations: 153.5 kB / 0.8367 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.1928, allocations: 127 kB / 0.8368 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1928, allocations: 8 kB / 0.8368 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.1933, allocations: 167.6 kB / 0.837 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1933, allocations: 0 / 0.837 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1934, allocations: 4 kB / 0.837 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1934, allocations: 0 / 0.837 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.194, allocations: 159.8 kB / 0.8372 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1951, allocations: 456.9 kB / 0.8376 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/0.1961, allocations: 214.3 kB / 0.8378 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1964, allocations: 84.89 kB / 0.8379 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1964, allocations: 7.984 kB / 0.8379 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1964, allocations: 38.5 kB / 0.8379 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1964, allocations: 0 / 0.8379 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001012/0.1975, allocations: 261.4 kB / 0.8382 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1975, allocations: 51.41 kB / 0.8382 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1976, allocations: 138.4 kB / 0.8384 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.1977, allocations: 25.7 kB / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.1977, allocations: 108.3 kB / 0.8385 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1978, allocations: 27.83 kB / 0.8385 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.1978, allocations: 21.7 kB / 0.8385 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.198, allocations: 322.8 kB / 0.8388 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.1983, allocations: 75.91 kB / 0.8389 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.1986, allocations: 94.5 kB / 0.839 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.1992, allocations: 166.6 kB / 0.8392 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1992, allocations: 0 / 0.8392 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006922/0.1999, allocations: 209.3 kB / 0.8394 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1999, allocations: 4 kB / 0.8394 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1999, allocations: 12 kB / 0.8394 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1999, allocations: 3.938 kB / 0.8394 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.2002, allocations: 39.94 kB / 0.8394 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2002, allocations: 0 / 0.8394 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.2004, allocations: 23.97 kB / 0.8394 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2004, allocations: 4 kB / 0.8394 GB, free: 1.492 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.0001366/0.2006, allocations: 126.4 kB / 0.8396 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.2006, allocations: 11.94 kB / 0.8396 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007248/0.2013, allocations: 202.2 kB / 0.8398 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2013, allocations: 8 kB / 0.8398 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2013, allocations: 0 / 0.8398 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2013, allocations: 0 / 0.8398 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.2016, allocations: 213.4 kB / 0.84 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2016, allocations: 0 / 0.84 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2018, allocations: 31.95 kB / 0.84 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2018, allocations: 0 / 0.84 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2019, allocations: 0 / 0.84 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2019, allocations: 4 kB / 0.84 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2019, allocations: 0 / 0.84 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.2026, allocations: 295.2 kB / 0.8403 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.2026, allocations: 3.953 kB / 0.8403 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2026, allocations: 4 kB / 0.8403 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2029, allocations: 32.14 kB / 0.8403 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.2029, allocations: 3.984 kB / 0.8403 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.2029, allocations: 15.98 kB / 0.8403 GB, free: 500 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.203, allocations: 109.9 kB / 0.8405 GB, free: 392 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.203, allocations: 4 kB / 0.8405 GB, free: 388 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002561/0.2033, allocations: 23.89 kB / 0.8405 GB, free: 364 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.001024/0.2043, allocations: 0.8199 MB / 0.8413 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006398/0.2049, allocations: 163.8 kB / 0.8414 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2049, allocations: 0 / 0.8414 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.2052, allocations: 79.98 kB / 0.8415 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2055, allocations: 8 kB / 0.8415 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.2087, allocations: 1.853 MB / 0.8433 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.2091, allocations: 0.704 MB / 0.844 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.2092, allocations: 27.67 kB / 0.844 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.2093, allocations: 31.42 kB / 0.8441 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.2093, allocations: 0 / 0.8441 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.2376, allocations: 2.966 MB / 0.847 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.83, allocations: 9.828 kB / 0.847 GB, free: 9.703 MB / 0.5919 GB " [Timeout remaining time 649] (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.153193968999403] Failed to read output from testmodel.py, exit status != 0: 10.93469098299829 10.962507773 10.766880685 Calling exit ...