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.001259/0.001259, allocations: 102.9 kB / 16.45 MB, free: 6.453 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.001346/0.001346, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.8469/0.8469, allocations: 133.9 MB / 442.8 MB, free: 11.3 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.002587/0.002587, allocations: 61.34 kB / 0.6134 GB, free: 8.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.212, allocations: 85.86 MB / 0.6973 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003338/0.2154, allocations: 1.471 MB / 0.6987 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004792/0.2158, allocations: 148.4 kB / 0.6989 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.2159, allocations: 0 / 0.6989 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.2159, allocations: 3.938 kB / 0.6989 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.216, allocations: 7.984 kB / 0.6989 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.2163, allocations: 27.91 kB / 0.6989 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2164, allocations: 43.86 kB / 0.6989 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2166, allocations: 24.19 kB / 0.699 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.2166, allocations: 15.94 kB / 0.699 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.2167, allocations: 23.91 kB / 0.699 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.2167, allocations: 4 kB / 0.699 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2168, allocations: 27.98 kB / 0.699 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.2168, allocations: 7.984 kB / 0.699 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.2169, allocations: 19.88 kB / 0.6991 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.2171, allocations: 71.72 kB / 0.6991 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2171, allocations: 4 kB / 0.6991 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2171, allocations: 0 / 0.6991 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.2171, allocations: 4 kB / 0.6991 GB, free: 1.047 MB / 0.5137 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.0006404/0.2177, allocations: 363.2 kB / 0.6995 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2178, allocations: 13.05 kB / 0.6995 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.2178, allocations: 34.73 kB / 0.6995 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.2194, allocations: 216.5 kB / 0.6997 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2196, allocations: 164.4 kB / 0.6999 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2196, allocations: 4.375 kB / 0.6999 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.2196, allocations: 8.312 kB / 0.6999 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.2205, allocations: 194 kB / 0.7001 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2205, allocations: 7.938 kB / 0.7001 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2205, allocations: 0 / 0.7001 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2205, allocations: 0 / 0.7001 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.2219, allocations: 275.6 kB / 0.7004 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.2231, allocations: 449.1 kB / 0.7008 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.2247, allocations: 282.2 kB / 0.701 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.2253, allocations: 104.8 kB / 0.7011 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.2253, allocations: 7.984 kB / 0.7012 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2253, allocations: 34.56 kB / 0.7012 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.2253, allocations: 0 / 0.7012 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001735/0.2271, allocations: 317.2 kB / 0.7015 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.2271, allocations: 51.41 kB / 0.7015 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2273, allocations: 117.8 kB / 0.7017 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2273, allocations: 25.7 kB / 0.7017 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.2274, allocations: 92.12 kB / 0.7018 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2274, allocations: 7.906 kB / 0.7018 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/0.2275, allocations: 17.72 kB / 0.7018 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2276, allocations: 326.8 kB / 0.7021 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.2282, allocations: 95.88 kB / 0.7022 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.2287, allocations: 87.88 kB / 0.7023 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.2297, allocations: 176.6 kB / 0.7024 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2297, allocations: 0 / 0.7024 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001118/0.2308, allocations: 221.4 kB / 0.7027 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.2308, allocations: 4 kB / 0.7027 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2308, allocations: 0 / 0.7027 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.2309, allocations: 4.375 kB / 0.7027 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.2312, allocations: 27.95 kB / 0.7027 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.2312, allocations: 0 / 0.7027 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.2315, allocations: 39.88 kB / 0.7027 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2315, allocations: 3.938 kB / 0.7027 GB, free: 13.12 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.0001377/0.2317, allocations: 117.8 kB / 0.7028 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.2317, allocations: 7.953 kB / 0.7029 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/0.2318, allocations: 11.89 kB / 0.7029 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2318, allocations: 0 / 0.7029 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2318, allocations: 0 / 0.7029 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2318, allocations: 0 / 0.7029 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.2322, allocations: 213.5 kB / 0.7031 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2322, allocations: 0 / 0.7031 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.2325, allocations: 35.95 kB / 0.7031 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2325, allocations: 0 / 0.7031 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2325, allocations: 7.922 kB / 0.7031 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2325, allocations: 0 / 0.7031 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2325, allocations: 3.984 kB / 0.7031 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.2337, allocations: 319.1 kB / 0.7034 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.2337, allocations: 77.11 kB / 0.7035 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2338, allocations: 4 kB / 0.7035 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.2341, allocations: 27.95 kB / 0.7035 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.2341, allocations: 7.984 kB / 0.7035 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2341, allocations: 0 / 0.7035 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001041/0.2342, allocations: 99.27 kB / 0.7036 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2342, allocations: 0 / 0.7036 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003604/0.2346, allocations: 15.94 kB / 0.7036 GB, free: 12.08 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.001658/0.2363, allocations: 0.8375 MB / 0.7045 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.2375, allocations: 199.8 kB / 0.7046 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2375, allocations: 0 / 0.7046 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.238, allocations: 107.8 kB / 0.7048 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2384, allocations: 4 kB / 0.7048 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.2437, allocations: 1.85 MB / 0.7066 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2441, allocations: 0.6923 MB / 0.7072 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000116/0.2442, allocations: 19.98 kB / 0.7073 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2443, allocations: 19.42 kB / 0.7073 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.253e-06/0.2443, allocations: 0 / 0.7073 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.2728, allocations: 1.938 MB / 0.7092 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.122, allocations: 15.34 kB / 0.7092 GB, free: 6.371 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.777714123993064] Failed to read output from testmodel.py, exit status != 0: 8.192165257001761 8.212837316 7.991644762 Calling exit ...