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.001823/0.001823, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002051/0.002051, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.8636/0.8636, allocations: 134 MB / 447.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.001944/0.001944, allocations: 66.73 kB / 0.6193 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1885, allocations: 85.9 MB / 0.7032 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002697/0.1912, allocations: 1.502 MB / 0.7047 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000401/0.1916, allocations: 136.4 kB / 0.7048 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.1917, allocations: 0 / 0.7048 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.1917, allocations: 7.938 kB / 0.7048 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.1918, allocations: 7.938 kB / 0.7048 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.192, allocations: 31.89 kB / 0.7049 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1921, allocations: 39.86 kB / 0.7049 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1922, allocations: 12.27 kB / 0.7049 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.1923, allocations: 23.92 kB / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.1923, allocations: 23.91 kB / 0.7049 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1923, allocations: 4 kB / 0.705 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1924, allocations: 27.98 kB / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.1924, allocations: 15.92 kB / 0.705 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.1925, allocations: 15.94 kB / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1926, allocations: 75.72 kB / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1926, allocations: 0 / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1926, allocations: 0 / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1926, allocations: 0 / 0.7051 GB, free: 15.42 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.0004599/0.1931, allocations: 282.1 kB / 0.7053 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1931, allocations: 8.031 kB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.825e-05/0.1931, allocations: 12.19 kB / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.1932, allocations: 38.73 kB / 0.7054 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1943, allocations: 212.5 kB / 0.7056 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1944, allocations: 114.4 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1944, allocations: 4.375 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1945, allocations: 4.375 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.1951, allocations: 197.8 kB / 0.7059 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1951, allocations: 0 / 0.7059 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1951, allocations: 3.938 kB / 0.7059 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1951, allocations: 0 / 0.7059 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.196, allocations: 279.6 kB / 0.7062 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.197, allocations: 416.1 kB / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.1982, allocations: 286.2 kB / 0.7069 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.1986, allocations: 104.8 kB / 0.707 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1986, allocations: 3.938 kB / 0.707 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1986, allocations: 30.56 kB / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1986, allocations: 0 / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001249/0.1999, allocations: 317.2 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1999, allocations: 55.39 kB / 0.7073 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2, allocations: 117.8 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2001, allocations: 25.7 kB / 0.7075 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.2001, allocations: 88.14 kB / 0.7076 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.2002, allocations: 15.89 kB / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.2002, allocations: 17.72 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2003, allocations: 314.8 kB / 0.7079 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.2007, allocations: 99.86 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.2011, allocations: 95.88 kB / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.2018, allocations: 172.6 kB / 0.7082 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2018, allocations: 4 kB / 0.7083 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007868/0.2026, allocations: 209.8 kB / 0.7085 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.2026, allocations: 8 kB / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2026, allocations: 0 / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2026, allocations: 0 / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.2029, allocations: 43.94 kB / 0.7085 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2029, allocations: 0 / 0.7085 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2031, allocations: 27.89 kB / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.2031, allocations: 7.938 kB / 0.7085 GB, free: 11.68 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.0001163/0.2032, allocations: 117.8 kB / 0.7086 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.2033, allocations: 3.953 kB / 0.7087 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.2033, allocations: 12 kB / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2033, allocations: 4.312 kB / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2033, allocations: 0 / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2033, allocations: 0 / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.2036, allocations: 180.6 kB / 0.7088 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2036, allocations: 3.938 kB / 0.7088 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2038, allocations: 39.94 kB / 0.7089 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2038, allocations: 0 / 0.7089 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2038, allocations: 7.938 kB / 0.7089 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2038, allocations: 8 kB / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2038, allocations: 0 / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.2046, allocations: 315.2 kB / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.2046, allocations: 7.984 kB / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.2047, allocations: 0 / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2049, allocations: 27.95 kB / 0.7092 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.2049, allocations: 0 / 0.7092 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2049, allocations: 7.984 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.205, allocations: 103.1 kB / 0.7093 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.205, allocations: 0 / 0.7093 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002366/0.2052, allocations: 12 kB / 0.7093 GB, free: 10.78 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.001147/0.2064, allocations: 0.8333 MB / 0.7102 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000794/0.2072, allocations: 199.7 kB / 0.7104 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2072, allocations: 0 / 0.7104 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.2076, allocations: 103.9 kB / 0.7105 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2078, allocations: 2.109 kB / 0.7105 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.2115, allocations: 1.853 MB / 0.7123 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.2118, allocations: 0.6885 MB / 0.7129 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.009e-05/0.2119, allocations: 19.98 kB / 0.713 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.2119, allocations: 15.44 kB / 0.713 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.2119, allocations: 0 / 0.713 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.2346, allocations: 2.116 MB / 0.715 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.14, allocations: 6.875 kB / 0.715 GB, free: 4.973 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.95184888492804] Failed to read output from testmodel.py, exit status != 0: 11.299181704991497 11.316536858 11.120471849 Calling exit ...