Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001498/0.001498, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001658/0.001658, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9004/0.9004, allocations: 134 MB / 446.4 MB, free: 9.957 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002078/0.002078, allocations: 64 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.187, allocations: 85.92 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002891/0.1899, allocations: 1.475 MB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.1903, allocations: 128.5 kB / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1903, allocations: 4 kB / 0.704 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.1904, allocations: 11.92 kB / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.1904, allocations: 3.938 kB / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1907, allocations: 31.89 kB / 0.704 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1908, allocations: 35.92 kB / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1909, allocations: 20.2 kB / 0.7041 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.1909, allocations: 15.92 kB / 0.7041 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.191, allocations: 23.86 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.191, allocations: 7.984 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.1911, allocations: 31.98 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.1911, allocations: 11.98 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1911, allocations: 11.94 kB / 0.7042 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1913, allocations: 75.66 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1913, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.083e-06/0.1913, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.1913, allocations: 0 / 0.7042 GB, free: 15.17 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.0004692/0.1918, allocations: 290.1 kB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1918, allocations: 8.031 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.1919, allocations: 42.72 kB / 0.7045 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.1929, allocations: 212.5 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.193, allocations: 110.5 kB / 0.7049 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.193, allocations: 4.375 kB / 0.7049 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1931, allocations: 8.359 kB / 0.7049 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.1936, allocations: 194 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1936, allocations: 3.938 kB / 0.7051 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1936, allocations: 0 / 0.7051 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1936, allocations: 7.938 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.1945, allocations: 279.6 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009223/0.1954, allocations: 396.2 kB / 0.7057 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1965, allocations: 286.1 kB / 0.706 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.1969, allocations: 100.8 kB / 0.7061 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1969, allocations: 4 kB / 0.7061 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.197, allocations: 30.56 kB / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.197, allocations: 4 kB / 0.7061 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001173/0.1981, allocations: 305.3 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1982, allocations: 55.41 kB / 0.7065 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1983, allocations: 125.8 kB / 0.7066 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1983, allocations: 25.7 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1984, allocations: 88.52 kB / 0.7067 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1984, allocations: 11.91 kB / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1984, allocations: 21.7 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1986, allocations: 318.8 kB / 0.707 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.199, allocations: 99.8 kB / 0.7071 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.1993, allocations: 99.88 kB / 0.7072 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.2, allocations: 164.6 kB / 0.7074 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2, allocations: 4 kB / 0.7074 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007447/0.2007, allocations: 209.5 kB / 0.7076 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2007, allocations: 10.03 kB / 0.7076 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2007, allocations: 0 / 0.7076 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2008, allocations: 3.938 kB / 0.7076 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.201, allocations: 39.94 kB / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.201, allocations: 0 / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2012, allocations: 27.89 kB / 0.7077 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2012, allocations: 8 kB / 0.7077 GB, free: 11.45 MB / 0.5294 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 9.365e-05/0.2013, allocations: 117.8 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.2013, allocations: 7.953 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.2014, allocations: 8.328 kB / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2014, allocations: 4 kB / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2014, allocations: 0 / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2014, allocations: 7.984 kB / 0.7078 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.2016, allocations: 168.6 kB / 0.708 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2016, allocations: 3.984 kB / 0.708 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.2019, allocations: 27.95 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2019, allocations: 0 / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2019, allocations: 8 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2019, allocations: 0 / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2019, allocations: 4 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.2027, allocations: 319.1 kB / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.2027, allocations: 4 kB / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.2027, allocations: 4 kB / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.2029, allocations: 31.95 kB / 0.7083 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.203, allocations: 7.984 kB / 0.7084 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.203, allocations: 0 / 0.7084 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.203, allocations: 95.27 kB / 0.7084 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.203, allocations: 0 / 0.7084 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002359/0.2033, allocations: 20.22 kB / 0.7085 GB, free: 10.55 MB / 0.5294 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.001123/0.2044, allocations: 0.8371 MB / 0.7093 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007624/0.2052, allocations: 195.7 kB / 0.7095 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2052, allocations: 4 kB / 0.7095 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.2055, allocations: 95.88 kB / 0.7096 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2058, allocations: 7.281 kB / 0.7096 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.2094, allocations: 1.849 MB / 0.7114 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.548e-05/0.2095, allocations: 75.33 kB / 0.7114 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.874e-05/0.2096, allocations: 23.98 kB / 0.7115 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.2096, allocations: 11.44 kB / 0.7115 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.2096, allocations: 0 / 0.7115 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.2413, allocations: 2.53 MB / 0.714 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.52, allocations: 3.984 kB / 0.714 GB, free: 4.938 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.400289095006883] Failed to read output from testmodel.py, exit status != 0: 11.63315868191421 11.661588857 11.465206233 Calling exit ...