Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.001432/0.001432, allocations: 119 kB / 19.69 MB, free: 2.199 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.001607/0.001607, allocations: 221.2 kB / 23.01 MB, free: 5.047 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.996 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 1.024/1.024, 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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.002044/0.002044, allocations: 73.52 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1787, allocations: 89.17 MB / 0.7283 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002888/0.1816, allocations: 1.492 MB / 0.7298 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.1821, allocations: 147.5 kB / 0.7299 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.1821, allocations: 0 / 0.7299 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.1821, allocations: 3.938 kB / 0.7299 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.1822, allocations: 8 kB / 0.73 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1824, allocations: 31.89 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1825, allocations: 43.84 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1826, allocations: 19.94 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.1827, allocations: 19.92 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.1827, allocations: 19.92 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1827, allocations: 0 / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.1828, allocations: 39.95 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1829, allocations: 4 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.1829, allocations: 23.88 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.183, allocations: 72 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.183, allocations: 0 / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.183, allocations: 0 / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.183, allocations: 0 / 0.7302 GB, free: 15.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004822/0.1835, allocations: 286.1 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1836, allocations: 8.031 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.1836, allocations: 38.73 kB / 0.7305 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.1847, allocations: 208.6 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1849, allocations: 114.5 kB / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1849, allocations: 384 / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1849, allocations: 12.31 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.1855, allocations: 190 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1855, allocations: 3.938 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1855, allocations: 8 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1855, allocations: 0 / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.1863, allocations: 279.6 kB / 0.7313 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1874, allocations: 408.4 kB / 0.7317 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.1885, allocations: 286.2 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.1888, allocations: 104.8 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.1888, allocations: 4 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1889, allocations: 30.56 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.1889, allocations: 0 / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001165/0.19, allocations: 317.2 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1901, allocations: 51.41 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1902, allocations: 125.7 kB / 0.7326 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1902, allocations: 25.7 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.1903, allocations: 88.14 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1903, allocations: 11.94 kB / 0.7327 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1903, allocations: 17.72 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1905, allocations: 326.8 kB / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.1909, allocations: 91.88 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.1912, allocations: 91.88 kB / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.1919, allocations: 168.6 kB / 0.7334 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1919, allocations: 0 / 0.7334 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007381/0.1926, allocations: 225.3 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1926, allocations: 4 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1926, allocations: 0 / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1927, allocations: 4 kB / 0.7336 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.1929, allocations: 31.94 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1929, allocations: 4 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.1931, allocations: 31.89 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1931, allocations: 0 / 0.7337 GB, free: 11.62 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 (3): * Single equations (assignments): 3 * 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.0001148/0.1932, allocations: 123.7 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.1933, allocations: 11.95 kB / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.1933, allocations: 12 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1933, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1933, allocations: 4 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1933, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.1936, allocations: 180.6 kB / 0.734 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1936, allocations: 0 / 0.734 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.1938, allocations: 35.94 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1938, allocations: 0 / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1938, allocations: 3.938 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1938, allocations: 0 / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1939, allocations: 0 / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.1947, allocations: 319.5 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.1947, allocations: 4 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1947, allocations: 0 / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.195, allocations: 35.89 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.195, allocations: 8.031 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.195, allocations: 3.984 kB / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.325e-05/0.1951, allocations: 99.58 kB / 0.7345 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1951, allocations: 0 / 0.7345 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002417/0.1953, allocations: 15.94 kB / 0.7345 GB, free: 10.71 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 (3): * Single equations (assignments): 3 * 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.00115/0.1965, allocations: 0.8411 MB / 0.7353 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007696/0.1972, allocations: 199.7 kB / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1973, allocations: 0 / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.1976, allocations: 95.81 kB / 0.7356 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1979, allocations: 12 kB / 0.7356 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.2016, allocations: 1.838 MB / 0.7374 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2019, allocations: 0.6924 MB / 0.7381 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.783e-05/0.202, allocations: 15.98 kB / 0.7381 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.202, allocations: 19.44 kB / 0.7381 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.202, allocations: 0 / 0.7381 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.2299, allocations: 2.086 MB / 0.7401 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 8.859 kB / 0.7401 GB, free: 4.918 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.199557380998158] Failed to read output from testmodel.py, exit status != 0: 11.318657789997815 11.349079949 11.160477354 Calling exit ...