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.001859/0.001859, allocations: 118.2 kB / 19.7 MB, free: 2.188 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.00156/0.00156, allocations: 218.9 kB / 23 MB, free: 5.004 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.98/0.98, allocations: 150 MB / 463.2 MB, free: 10.54 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.00232/0.00232, allocations: 67.59 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1881, allocations: 89.17 MB / 0.7284 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00316/0.1913, allocations: 1.492 MB / 0.7298 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.1917, allocations: 139.6 kB / 0.7299 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.1918, allocations: 4 kB / 0.7299 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.869e-05/0.1919, allocations: 3.938 kB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.1919, allocations: 3.938 kB / 0.73 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1922, allocations: 31.89 kB / 0.73 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1923, allocations: 47.78 kB / 0.73 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1924, allocations: 20 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.1924, allocations: 15.92 kB / 0.7301 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.1925, allocations: 23.92 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1925, allocations: 4 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1926, allocations: 35.95 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1926, allocations: 8 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1927, allocations: 23.86 kB / 0.7302 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1928, allocations: 68.02 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1928, allocations: 0 / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1928, allocations: 0 / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1929, allocations: 0 / 0.7302 GB, free: 15.41 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.0004996/0.1934, allocations: 294.1 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1934, allocations: 12.03 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.1934, allocations: 30.75 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1946, allocations: 212.5 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1947, allocations: 114.4 kB / 0.7309 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1947, allocations: 8.375 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1947, allocations: 4.375 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.1953, allocations: 190 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1953, allocations: 3.938 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1953, allocations: 4 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1953, allocations: 0 / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.1962, allocations: 279.6 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.1972, allocations: 412.4 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1983, allocations: 286.2 kB / 0.732 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.1986, allocations: 104.8 kB / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1987, allocations: 0 / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1987, allocations: 30.56 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1987, allocations: 0 / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001185/0.1999, allocations: 317.2 kB / 0.7324 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1999, allocations: 51.41 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2, allocations: 122.1 kB / 0.7326 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2001, allocations: 25.7 kB / 0.7326 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2001, allocations: 92.06 kB / 0.7327 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.2001, allocations: 8.047 kB / 0.7327 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.2002, allocations: 21.66 kB / 0.7327 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2003, allocations: 318.8 kB / 0.733 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.2007, allocations: 99.88 kB / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.201, allocations: 91.88 kB / 0.7332 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.2017, allocations: 180.6 kB / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2017, allocations: 0 / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007376/0.2024, allocations: 209.4 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.2025, allocations: 11.98 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2025, allocations: 0 / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2025, allocations: 4 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.2027, allocations: 31.95 kB / 0.7336 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2028, allocations: 0 / 0.7336 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2029, allocations: 23.95 kB / 0.7337 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.203, allocations: 7.984 kB / 0.7337 GB, free: 11.68 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.0001013/0.2031, allocations: 119.8 kB / 0.7338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.2031, allocations: 7.953 kB / 0.7338 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.2031, allocations: 11.98 kB / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2032, allocations: 336 / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2032, allocations: 3.938 kB / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2032, allocations: 0 / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.2034, allocations: 184.5 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2034, allocations: 0 / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.2037, allocations: 39.94 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2037, allocations: 4 kB / 0.734 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.2037, allocations: 11.98 kB / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2037, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2037, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.2044, allocations: 315.2 kB / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.2045, allocations: 0 / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2045, allocations: 0 / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2047, allocations: 27.95 kB / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2047, allocations: 3.984 kB / 0.7344 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2048, allocations: 11.94 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.967e-05/0.2048, allocations: 99.14 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2048, allocations: 4 kB / 0.7345 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002385/0.2051, allocations: 15.94 kB / 0.7345 GB, free: 10.77 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.00114/0.2062, allocations: 0.8333 MB / 0.7353 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007546/0.207, allocations: 199.7 kB / 0.7355 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.207, allocations: 4 kB / 0.7355 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.2074, allocations: 99.88 kB / 0.7356 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2077, allocations: 3.984 kB / 0.7356 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.2113, allocations: 1.842 MB / 0.7374 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.2116, allocations: 0.6846 MB / 0.7381 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.537e-05/0.2117, allocations: 23.98 kB / 0.7381 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.2118, allocations: 15.42 kB / 0.7381 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of SimCode: time 4.5e-07/0.2118, allocations: 0 / 0.7381 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.2441, allocations: 2.089 MB / 0.7401 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.24, allocations: 9.078 kB / 0.7401 GB, free: 4.977 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.035298859933391] Failed to read output from testmodel.py, exit status != 0: 11.344743134919554 11.369276021 11.173031337 Calling exit ...