Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001278/0.001278, 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.001448/0.001448, allocations: 220.3 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.965 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.002548/0.002548, allocations: 274.7 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.218/1.218, allocations: 180.6 MB / 0.5369 GB, free: 13 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.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",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.002791/0.002791, allocations: 108.7 kB / 0.7396 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1864, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002644/0.189, allocations: 1.497 MB / 0.8342 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1902, allocations: 0.6336 MB / 0.8348 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.1902, allocations: 7.875 kB / 0.8348 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.1903, allocations: 0 / 0.8348 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.1903, allocations: 7.875 kB / 0.8348 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1906, allocations: 63.73 kB / 0.8349 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.1907, allocations: 23.94 kB / 0.8349 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.1908, allocations: 11.97 kB / 0.8349 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1909, allocations: 15.94 kB / 0.8349 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.1909, allocations: 19.92 kB / 0.835 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1909, allocations: 4 kB / 0.835 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1911, allocations: 59.94 kB / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.1911, allocations: 0 / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.1911, allocations: 19.86 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1913, allocations: 79.95 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1913, allocations: 0 / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1913, allocations: 0 / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1913, allocations: 0 / 0.8351 GB, free: 6.191 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004251/0.1917, allocations: 270.2 kB / 0.8354 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1917, allocations: 21.33 kB / 0.8354 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1918, allocations: 30.75 kB / 0.8354 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1919, allocations: 12.89 kB / 0.8354 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1921, allocations: 122.4 kB / 0.8356 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1921, allocations: 384 / 0.8356 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1921, allocations: 384 / 0.8356 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1922, allocations: 49.8 kB / 0.8356 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1923, allocations: 4 kB / 0.8356 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1923, allocations: 4 kB / 0.8356 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1923, allocations: 0 / 0.8356 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.1923, allocations: 23.92 kB / 0.8356 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.1926, allocations: 220 kB / 0.8358 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.866e-05/0.1927, allocations: 30.56 kB / 0.8359 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.1928, allocations: 16.91 kB / 0.8359 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.1934, allocations: 99.86 kB / 0.836 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1934, allocations: 34.5 kB / 0.836 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1934, allocations: 0 / 0.836 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002501/0.1937, allocations: 69.61 kB / 0.8361 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1937, allocations: 51.41 kB / 0.8361 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1938, allocations: 113.8 kB / 0.8362 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1939, allocations: 25.7 kB / 0.8363 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1939, allocations: 88.14 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.1939, allocations: 7.938 kB / 0.8364 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.194, allocations: 13.72 kB / 0.8364 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1941, allocations: 322.9 kB / 0.8367 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.1942, allocations: 7.984 kB / 0.8367 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.1942, allocations: 15.94 kB / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.1943, allocations: 24.84 kB / 0.8367 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1943, allocations: 0 / 0.8367 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.1944, allocations: 57.62 kB / 0.8368 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1944, allocations: 10.28 kB / 0.8368 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1944, allocations: 4 kB / 0.8368 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1944, allocations: 0 / 0.8368 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.1945, allocations: 4 kB / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1945, allocations: 0 / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.1945, allocations: 0 / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1946, allocations: 8 kB / 0.8368 GB, free: 4.273 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 (2): * Single equations (assignments): 2 * 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.329e-05/0.1946, allocations: 118.4 kB / 0.8369 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1947, allocations: 7.938 kB / 0.8369 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.1948, allocations: 69.28 kB / 0.837 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1948, allocations: 3.984 kB / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1949, allocations: 0 / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1949, allocations: 0 / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.195, allocations: 136.6 kB / 0.8371 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.195, allocations: 0 / 0.8371 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.1951, allocations: 7.984 kB / 0.8371 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1951, allocations: 0 / 0.8371 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1951, allocations: 0 / 0.8371 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1951, allocations: 0 / 0.8371 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1951, allocations: 8.031 kB / 0.8371 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.1953, allocations: 155.4 kB / 0.8373 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.1953, allocations: 3.953 kB / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1953, allocations: 7.938 kB / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.1954, allocations: 0 / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1954, allocations: 3.984 kB / 0.8373 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1954, allocations: 8.406 kB / 0.8373 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.1955, allocations: 87.22 kB / 0.8374 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1955, allocations: 0 / 0.8374 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002392/0.1957, allocations: 19.92 kB / 0.8374 GB, free: 3.57 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 (2): * Single equations (assignments): 2 * 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.0005793/0.1963, allocations: 0.7006 MB / 0.8381 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.1964, allocations: 19.98 kB / 0.8381 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1964, allocations: 0 / 0.8381 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.1965, allocations: 15.98 kB / 0.8381 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1967, allocations: 0.6875 kB / 0.8381 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1981, allocations: 1.262 MB / 0.8394 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1985, allocations: 0.6807 MB / 0.84 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.1985, allocations: 4 kB / 0.84 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1985, allocations: 15.38 kB / 0.84 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.1985, allocations: 0 / 0.84 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.2233, allocations: 1.769 MB / 0.8418 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.93, allocations: 2.531 kB / 0.8418 GB, free: 15.1 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.232461144998524] Failed to read output from testmodel.py, exit status != 0: 11.031182433998765 11.048241756 10.853765045 Calling exit ...