Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.00161/0.00161, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001749/0.001749, allocations: 212.4 kB / 23 MB, free: 5.07 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.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9833/0.9833, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002096/0.002096, allocations: 70.31 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.187, allocations: 89.18 MB / 0.7284 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002686/0.1897, allocations: 1.459 MB / 0.7298 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.1906, allocations: 0.4988 MB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.1906, allocations: 0 / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.1906, allocations: 0 / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.1907, allocations: 3.938 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.191, allocations: 31.84 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.191, allocations: 27.92 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.1911, allocations: 0 / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.1912, allocations: 19.92 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.1912, allocations: 8 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1913, allocations: 4 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.1913, allocations: 19.92 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.1914, allocations: 15.91 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.1914, allocations: 11.94 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.1915, allocations: 24.19 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1915, allocations: 0 / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1915, allocations: 0 / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.1915, allocations: 3.938 kB / 0.7304 GB, free: 15.12 MB / 0.5606 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.0004418/0.1919, allocations: 270.3 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.192, allocations: 16.02 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.192, allocations: 34.75 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.1923, allocations: 12.92 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1924, allocations: 114.5 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1924, allocations: 4.375 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1924, allocations: 384 / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1926, allocations: 65.72 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1926, allocations: 0 / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1926, allocations: 0 / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1926, allocations: 0 / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1928, allocations: 35.97 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.1932, allocations: 236 kB / 0.7312 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1933, allocations: 46.5 kB / 0.7312 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.1934, allocations: 24.91 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1934, allocations: 0 / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1935, allocations: 34.55 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1935, allocations: 0 / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.1938, allocations: 89.64 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.1939, allocations: 51.41 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.1939, allocations: 97.86 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.194, allocations: 25.7 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.194, allocations: 92.12 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.194, allocations: 11.83 kB / 0.7316 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.1941, allocations: 13.72 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1942, allocations: 322.9 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.1943, allocations: 11.98 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.1944, allocations: 23.97 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1945, allocations: 40.83 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1945, allocations: 3.938 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002063/0.1947, allocations: 81.66 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1948, allocations: 4 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1948, allocations: 0 / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1948, allocations: 3.938 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1949, allocations: 15.92 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.1949, allocations: 0 / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.195, allocations: 11.98 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.195, allocations: 0 / 0.7322 GB, free: 13.17 MB / 0.5606 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.204e-05/0.1951, allocations: 117.8 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1951, allocations: 0 / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.1951, allocations: 3.312 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1951, allocations: 4 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1951, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1951, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1953, allocations: 136.7 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1953, allocations: 0 / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.496e-05/0.1954, allocations: 15.98 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1954, allocations: 256 / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1954, allocations: 0 / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1954, allocations: 4 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1954, allocations: 4 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1957, allocations: 171.3 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.1957, allocations: 8.031 kB / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1957, allocations: 0 / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1958, allocations: 7.984 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.1959, allocations: 4 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1959, allocations: 3.984 kB / 0.7326 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.1959, allocations: 79.28 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1959, allocations: 0 / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002158/0.1961, allocations: 4 kB / 0.7327 GB, free: 12.55 MB / 0.5606 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.0006016/0.1967, allocations: 0.7007 MB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1969, allocations: 43.89 kB / 0.7334 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1969, allocations: 4.094 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.197, allocations: 19.98 kB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.1973, allocations: 7.984 kB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.1978, allocations: 139.1 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1981, allocations: 0.6806 MB / 0.7342 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.1982, allocations: 8.062 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1982, allocations: 11.38 kB / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.1982, allocations: 0 / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.2284, allocations: 1.52 MB / 0.7357 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 14.27 kB / 0.7358 GB, free: 9.461 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.067542576998676] Failed to read output from testmodel.py, exit status != 0: 11.262463735998608 11.292800321 11.095584955 Calling exit ...