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.001753/0.001753, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002678/0.002678, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.996 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.8439/0.8439, allocations: 134 MB / 446.4 MB, free: 10.22 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.002016/0.002016, allocations: 63.34 kB / 0.6186 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1826, allocations: 85.9 MB / 0.7024 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003342/0.1859, allocations: 1.494 MB / 0.7039 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004867/0.1864, allocations: 144.4 kB / 0.704 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.1864, allocations: 0 / 0.704 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.429e-05/0.1865, allocations: 3.938 kB / 0.704 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.1866, allocations: 3.938 kB / 0.704 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1868, allocations: 31.91 kB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.187, allocations: 43.84 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1871, allocations: 20.2 kB / 0.7041 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.1872, allocations: 19.92 kB / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.1872, allocations: 15.92 kB / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1872, allocations: 4 kB / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1873, allocations: 39.97 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.1874, allocations: 7.938 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1874, allocations: 19.92 kB / 0.7042 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1876, allocations: 67.73 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1876, allocations: 4 kB / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1876, allocations: 0 / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.1876, allocations: 0 / 0.7043 GB, free: 15.44 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.0005563/0.1882, allocations: 294 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1882, allocations: 8.031 kB / 0.7046 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.1882, allocations: 38.75 kB / 0.7046 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.1894, allocations: 212.5 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1895, allocations: 110.5 kB / 0.7049 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1896, allocations: 4.375 kB / 0.7049 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1896, allocations: 8.375 kB / 0.705 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.1902, allocations: 194 kB / 0.7051 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1902, allocations: 3.938 kB / 0.7051 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1902, allocations: 4 kB / 0.7051 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1902, allocations: 4 kB / 0.7052 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.1911, allocations: 287.5 kB / 0.7054 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1921, allocations: 400.2 kB / 0.7058 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1931, allocations: 282.2 kB / 0.7061 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.1935, allocations: 116.7 kB / 0.7062 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.1936, allocations: 0 / 0.7062 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.1936, allocations: 38.5 kB / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1936, allocations: 0 / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001177/0.1948, allocations: 309.3 kB / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.1948, allocations: 51.41 kB / 0.7066 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.195, allocations: 117.8 kB / 0.7067 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.195, allocations: 26.08 kB / 0.7067 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.1951, allocations: 96.12 kB / 0.7068 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1951, allocations: 7.906 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.1952, allocations: 21.66 kB / 0.7068 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1953, allocations: 330.7 kB / 0.7071 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.1957, allocations: 87.88 kB / 0.7072 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.196, allocations: 95.88 kB / 0.7073 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.1966, allocations: 172.6 kB / 0.7075 GB, free: 12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1966, allocations: 4 kB / 0.7075 GB, free: 12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007083/0.1973, allocations: 213.5 kB / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1973, allocations: 4 kB / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1973, allocations: 0 / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1973, allocations: 0 / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.1976, allocations: 39.89 kB / 0.7077 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1976, allocations: 0 / 0.7077 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1978, allocations: 31.89 kB / 0.7078 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1978, allocations: 3.984 kB / 0.7078 GB, free: 11.7 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 0.0001155/0.1979, allocations: 117.8 kB / 0.7079 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.198, allocations: 7.953 kB / 0.7079 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.198, allocations: 19.98 kB / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.198, allocations: 0 / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.198, allocations: 0 / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.198, allocations: 0 / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.1983, allocations: 184.7 kB / 0.7081 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1983, allocations: 0 / 0.7081 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.1985, allocations: 31.95 kB / 0.7081 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1985, allocations: 0 / 0.7081 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1985, allocations: 3.984 kB / 0.7081 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1986, allocations: 7.938 kB / 0.7081 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1986, allocations: 0 / 0.7081 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.1993, allocations: 315.1 kB / 0.7084 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.1993, allocations: 8 kB / 0.7084 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1994, allocations: 4 kB / 0.7084 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1996, allocations: 27.95 kB / 0.7085 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1996, allocations: 12.36 kB / 0.7085 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1996, allocations: 0 / 0.7085 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.094e-05/0.1997, allocations: 95.27 kB / 0.7086 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1997, allocations: 288 / 0.7086 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002404/0.1999, allocations: 15.94 kB / 0.7086 GB, free: 10.8 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.001099/0.201, allocations: 0.845 MB / 0.7094 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007288/0.2018, allocations: 195.7 kB / 0.7096 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2018, allocations: 4 kB / 0.7096 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.2021, allocations: 95.88 kB / 0.7097 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2024, allocations: 11.98 kB / 0.7097 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.2059, allocations: 1.838 MB / 0.7115 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.2063, allocations: 0.6923 MB / 0.7122 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.085e-05/0.2063, allocations: 19.98 kB / 0.7122 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.2064, allocations: 19.42 kB / 0.7122 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.2064, allocations: 0 / 0.7122 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.2364, allocations: 2.081 MB / 0.7142 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.96, allocations: 0 / 0.7142 GB, free: 5.008 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.66610906389542] Failed to read output from testmodel.py, exit status != 0: 11.084103093016893 11.100575034 10.909918431 Calling exit ...