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.001233/0.001233, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001588/0.001588, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.8276/0.8276, allocations: 134 MB / 447.2 MB, free: 9.938 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.002016/0.002016, allocations: 67.8 kB / 0.6192 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1967, allocations: 85.91 MB / 0.7031 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003117/0.1999, allocations: 1.476 MB / 0.7046 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.2003, allocations: 136.4 kB / 0.7047 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.2004, allocations: 4 kB / 0.7047 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.2004, allocations: 3.938 kB / 0.7047 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.2005, allocations: 0 / 0.7047 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.2008, allocations: 35.89 kB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2009, allocations: 43.84 kB / 0.7048 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.201, allocations: 16.27 kB / 0.7048 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.201, allocations: 15.94 kB / 0.7048 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.2011, allocations: 27.84 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.2011, allocations: 8 kB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.2012, allocations: 31.97 kB / 0.7049 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.2012, allocations: 8 kB / 0.7049 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.2012, allocations: 15.92 kB / 0.7049 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.2014, allocations: 67.73 kB / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2014, allocations: 0 / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2014, allocations: 0 / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2014, allocations: 0 / 0.705 GB, free: 15.16 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.0004791/0.2019, allocations: 294.1 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2019, allocations: 8.031 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.488e-05/0.202, allocations: 4.188 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.202, allocations: 34.75 kB / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.2031, allocations: 212.5 kB / 0.7055 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2032, allocations: 110.5 kB / 0.7056 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2033, allocations: 8.312 kB / 0.7056 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.2033, allocations: 8.375 kB / 0.7056 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.2039, allocations: 193.8 kB / 0.7058 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2039, allocations: 0 / 0.7058 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.2039, allocations: 11.92 kB / 0.7058 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2039, allocations: 0 / 0.7058 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.2048, allocations: 283.6 kB / 0.7061 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.2057, allocations: 400.1 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2068, allocations: 282.2 kB / 0.7067 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.2072, allocations: 104.8 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2072, allocations: 4 kB / 0.7069 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2072, allocations: 30.56 kB / 0.7069 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2072, allocations: 0 / 0.7069 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001207/0.2084, allocations: 317.2 kB / 0.7072 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.2085, allocations: 51.41 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2086, allocations: 117.8 kB / 0.7073 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.2086, allocations: 25.7 kB / 0.7074 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.2087, allocations: 88.12 kB / 0.7075 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.2087, allocations: 15.91 kB / 0.7075 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.2088, allocations: 17.7 kB / 0.7075 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2089, allocations: 318.8 kB / 0.7078 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.2093, allocations: 95.88 kB / 0.7079 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.2096, allocations: 91.88 kB / 0.708 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.2102, allocations: 176.6 kB / 0.7081 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2102, allocations: 0 / 0.7081 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007278/0.211, allocations: 217.4 kB / 0.7083 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.211, allocations: 4 kB / 0.7083 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.211, allocations: 4 kB / 0.7084 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.211, allocations: 0 / 0.7084 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.2113, allocations: 31.95 kB / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2113, allocations: 0 / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2115, allocations: 35.88 kB / 0.7084 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2115, allocations: 3.938 kB / 0.7084 GB, free: 11.43 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.0001019/0.2116, allocations: 113.8 kB / 0.7085 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.2116, allocations: 15.95 kB / 0.7085 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.2117, allocations: 15.98 kB / 0.7086 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2117, allocations: 384 / 0.7086 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2117, allocations: 0 / 0.7086 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2117, allocations: 0 / 0.7086 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.2119, allocations: 168.6 kB / 0.7087 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2119, allocations: 3.938 kB / 0.7087 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.2122, allocations: 39.88 kB / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2122, allocations: 0 / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2122, allocations: 4 kB / 0.7088 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2122, allocations: 0 / 0.7088 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2122, allocations: 0 / 0.7088 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007786/0.213, allocations: 315.5 kB / 0.7091 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.213, allocations: 8 kB / 0.7091 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.213, allocations: 7.984 kB / 0.7091 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2132, allocations: 31.95 kB / 0.7091 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.2133, allocations: 0 / 0.7091 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2133, allocations: 0 / 0.7091 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.2133, allocations: 99.2 kB / 0.7092 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2133, allocations: 0 / 0.7092 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002446/0.2136, allocations: 12 kB / 0.7092 GB, free: 10.54 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.00114/0.2147, allocations: 0.845 MB / 0.71 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007759/0.2155, allocations: 195.7 kB / 0.7102 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2155, allocations: 0 / 0.7102 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.2159, allocations: 99.81 kB / 0.7103 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.2161, allocations: 4 kB / 0.7103 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.2197, allocations: 1.849 MB / 0.7121 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.2198, allocations: 71.33 kB / 0.7122 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.183e-05/0.2199, allocations: 16 kB / 0.7122 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.22, allocations: 23.42 kB / 0.7122 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.22, allocations: 0 / 0.7122 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.243, allocations: 2.182 MB / 0.7144 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 11.05 kB / 0.7144 GB, free: 5.277 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 & /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: 15.014834747998975] Failed to read output from testmodel.py, exit status != 0: 11.558374741114676 11.583946771 11.378137932 Calling exit ...