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.001469/0.001469, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001529/0.001529, allocations: 217.3 kB / 22.99 MB, free: 4.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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9918/0.9918, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.002168/0.002168, allocations: 66.52 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1911, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003037/0.1942, allocations: 1.477 MB / 0.7296 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004828/0.1947, allocations: 135.6 kB / 0.7297 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.1947, allocations: 0 / 0.7297 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.147e-05/0.1947, allocations: 3.938 kB / 0.7297 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.1948, allocations: 3.938 kB / 0.7297 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1951, allocations: 35.89 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1952, allocations: 43.84 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1954, allocations: 19.98 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.1954, allocations: 19.94 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.1955, allocations: 23.91 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1955, allocations: 4 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1956, allocations: 27.97 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.1956, allocations: 8 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.1957, allocations: 23.86 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1958, allocations: 60.08 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1958, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1958, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1958, allocations: 0 / 0.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005451/0.1964, allocations: 294.1 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1964, allocations: 12.03 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.1965, allocations: 30.75 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.1976, allocations: 208.5 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1977, allocations: 118.4 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1977, allocations: 8.375 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1977, allocations: 4.312 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.1983, allocations: 198 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1983, allocations: 3.938 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1983, allocations: 0 / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1983, allocations: 0 / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.1992, allocations: 287.5 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009778/0.2002, allocations: 392.5 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2013, allocations: 286.2 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.2017, allocations: 108.8 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2017, allocations: 0 / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2018, allocations: 30.56 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2018, allocations: 7.938 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001269/0.203, allocations: 309.3 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.2031, allocations: 51.41 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2032, allocations: 117.8 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2033, allocations: 25.7 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.2033, allocations: 92.12 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2033, allocations: 3.953 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.2034, allocations: 17.72 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2036, allocations: 322.8 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.204, allocations: 95.88 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.2043, allocations: 91.88 kB / 0.733 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.205, allocations: 180.6 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.205, allocations: 0 / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007703/0.2058, allocations: 217.4 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2058, allocations: 8 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.2058, allocations: 4 kB / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2058, allocations: 0 / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2061, allocations: 31.95 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2061, allocations: 0 / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.2063, allocations: 35.88 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2063, allocations: 3.938 kB / 0.7334 GB, free: 11.4 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.0001174/0.2064, allocations: 117.8 kB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.2065, allocations: 15.89 kB / 0.7336 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.2065, allocations: 11.98 kB / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2065, allocations: 0 / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2065, allocations: 0 / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2065, allocations: 384 / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.2069, allocations: 164.7 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2069, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.2072, allocations: 39.94 kB / 0.7338 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2072, allocations: 8.266 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2072, allocations: 0 / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2072, allocations: 0 / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2072, allocations: 0 / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.208, allocations: 319.2 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.208, allocations: 4 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.208, allocations: 3.984 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2083, allocations: 27.95 kB / 0.7341 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.2083, allocations: 4 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2083, allocations: 7.938 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.2084, allocations: 91.27 kB / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2084, allocations: 0 / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002414/0.2086, allocations: 15.94 kB / 0.7342 GB, free: 10.51 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.001286/0.2099, allocations: 0.8372 MB / 0.735 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008837/0.2108, allocations: 195.7 kB / 0.7352 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2108, allocations: 0 / 0.7352 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.2112, allocations: 103.9 kB / 0.7353 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2115, allocations: 4 kB / 0.7353 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.2153, allocations: 1.842 MB / 0.7371 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/0.2154, allocations: 71.25 kB / 0.7372 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.711e-05/0.2155, allocations: 19.98 kB / 0.7372 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.2156, allocations: 23.36 kB / 0.7372 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.2156, allocations: 0 / 0.7372 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.2465, allocations: 2.556 MB / 0.7397 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.46, allocations: 8.688 kB / 0.7397 GB, free: 4.875 MB / 0.5606 GB " [Timeout remaining time 648] (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.43951546214521] Failed to read output from testmodel.py, exit status != 0: 11.566989374812692 11.595826037 11.39429652 Calling exit ...