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.002163/0.002163, allocations: 110.3 kB / 17.12 MB, free: 5.926 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.002462/0.002462, allocations: 205 kB / 20.09 MB, free: 2.977 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9728/0.9728, allocations: 150 MB / 459.5 MB, free: 5.641 MB / 350.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.002065/0.002065, allocations: 67.8 kB / 0.6361 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.174, allocations: 89.13 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00293/0.177, allocations: 1.489 MB / 0.7246 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005442/0.1775, allocations: 143.6 kB / 0.7248 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.1776, allocations: 0 / 0.7248 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.013e-05/0.1776, allocations: 7.938 kB / 0.7248 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.1777, allocations: 3.938 kB / 0.7248 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1779, allocations: 31.89 kB / 0.7248 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1781, allocations: 43.84 kB / 0.7248 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1782, allocations: 16.28 kB / 0.7249 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.1782, allocations: 19.92 kB / 0.7249 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.1783, allocations: 27.91 kB / 0.7249 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1783, allocations: 0 / 0.7249 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1784, allocations: 31.97 kB / 0.7249 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1785, allocations: 7.938 kB / 0.7249 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1785, allocations: 19.92 kB / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1787, allocations: 67.73 kB / 0.725 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1787, allocations: 0 / 0.725 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1787, allocations: 4 kB / 0.725 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.1787, allocations: 0 / 0.725 GB, free: 2.105 MB / 0.5294 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.0007584/0.1794, allocations: 367.2 kB / 0.7254 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.1795, allocations: 8.031 kB / 0.7254 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.1795, allocations: 34.75 kB / 0.7254 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.1807, allocations: 212.5 kB / 0.7256 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.1809, allocations: 172.3 kB / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1809, allocations: 384 / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1809, allocations: 8.375 kB / 0.7258 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.1815, allocations: 195.8 kB / 0.726 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1815, allocations: 7.938 kB / 0.726 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.1815, allocations: 4 kB / 0.726 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1815, allocations: 0 / 0.726 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/0.1825, allocations: 275.6 kB / 0.7263 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1835, allocations: 441.3 kB / 0.7267 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1847, allocations: 286.2 kB / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.185, allocations: 100.8 kB / 0.727 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1851, allocations: 3.938 kB / 0.727 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1851, allocations: 34.56 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1851, allocations: 0 / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001303/0.1864, allocations: 317.2 kB / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1864, allocations: 55.41 kB / 0.7274 GB, free: 15.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1866, allocations: 113.8 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1866, allocations: 25.7 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1866, allocations: 88.14 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1867, allocations: 7.938 kB / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.1867, allocations: 21.72 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002346/0.187, allocations: 322.8 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.1874, allocations: 95.88 kB / 0.7281 GB, free: 14.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.1877, allocations: 96.05 kB / 0.7282 GB, free: 14.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.1885, allocations: 176.6 kB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1885, allocations: 4 kB / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007992/0.1893, allocations: 217.4 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1893, allocations: 8 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1893, allocations: 0 / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1893, allocations: 0 / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.1896, allocations: 31.94 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.1896, allocations: 4 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1898, allocations: 31.89 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1898, allocations: 4 kB / 0.7286 GB, free: 14.18 MB / 0.545 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.00012/0.19, allocations: 121.8 kB / 0.7287 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.19, allocations: 4.328 kB / 0.7287 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.19, allocations: 11.91 kB / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.19, allocations: 0 / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.19, allocations: 0 / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1901, allocations: 3.938 kB / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.1903, allocations: 205.5 kB / 0.729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1903, allocations: 7.938 kB / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.1906, allocations: 39.94 kB / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1906, allocations: 0 / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1906, allocations: 3.938 kB / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1906, allocations: 0 / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1906, allocations: 0 / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.1916, allocations: 319.2 kB / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.1916, allocations: 81.11 kB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1917, allocations: 0 / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.1919, allocations: 27.95 kB / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1919, allocations: 4 kB / 0.7294 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1919, allocations: 3.984 kB / 0.7294 GB, free: 13.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.343e-05/0.192, allocations: 99.27 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.192, allocations: 3.938 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002476/0.1923, allocations: 15.94 kB / 0.7295 GB, free: 13.14 MB / 0.545 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.001391/0.1936, allocations: 0.8333 MB / 0.7304 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008229/0.1945, allocations: 195.7 kB / 0.7305 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1945, allocations: 0 / 0.7305 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.1949, allocations: 103.8 kB / 0.7306 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1951, allocations: 1.562 kB / 0.7306 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.1991, allocations: 1.846 MB / 0.7324 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.1997, allocations: 0.6885 MB / 0.7331 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.728e-05/0.1997, allocations: 19.98 kB / 0.7331 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.1998, allocations: 15.72 kB / 0.7331 GB, free: 9.312 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.1998, allocations: 0 / 0.7331 GB, free: 9.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.2313, allocations: 1.976 MB / 0.7351 GB, free: 7.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.425, allocations: 5.406 kB / 0.7351 GB, free: 7.418 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.39822694612667] Failed to read output from testmodel.py, exit status != 0: 8.494534266879782 8.515950943 8.333061779 Calling exit ...