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.001764/0.001764, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001892/0.001892, allocations: 216.1 kB / 22.25 MB, free: 5.113 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.027 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.8496/0.8496, allocations: 134 MB / 446.4 MB, free: 10.27 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.001953/0.001953, allocations: 60.94 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 85.91 MB / 0.7024 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002698/0.1709, allocations: 1.493 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.1713, allocations: 140.4 kB / 0.704 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.1714, allocations: 0 / 0.704 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.983e-05/0.1714, allocations: 3.938 kB / 0.704 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.1715, allocations: 11.94 kB / 0.7041 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1717, allocations: 27.91 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.1718, allocations: 43.84 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1719, allocations: 16.27 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.1719, allocations: 19.92 kB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.172, allocations: 15.92 kB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.172, allocations: 4 kB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.1721, allocations: 35.97 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.1721, allocations: 7.938 kB / 0.7042 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1721, allocations: 23.86 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1723, allocations: 71.73 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1723, allocations: 4 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1723, allocations: 0 / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1723, allocations: 0 / 0.7043 GB, free: 15.46 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.0004927/0.1728, allocations: 290.1 kB / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1728, allocations: 8.031 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1729, allocations: 34.75 kB / 0.7046 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.174, allocations: 216.5 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1741, allocations: 114.4 kB / 0.7049 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1741, allocations: 4.375 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1741, allocations: 8.359 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.1747, allocations: 194 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1747, allocations: 3.938 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1747, allocations: 8 kB / 0.7052 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1747, allocations: 0 / 0.7052 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.1756, allocations: 283.6 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009772/0.1765, allocations: 404.2 kB / 0.7058 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.1776, allocations: 282.2 kB / 0.7061 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.178, allocations: 104.8 kB / 0.7062 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.178, allocations: 8 kB / 0.7062 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1781, allocations: 34.5 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1781, allocations: 0 / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001151/0.1792, allocations: 313.2 kB / 0.7065 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1792, allocations: 51.41 kB / 0.7066 GB, free: 13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1794, allocations: 117.8 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1794, allocations: 25.7 kB / 0.7067 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.1794, allocations: 92.12 kB / 0.7068 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1795, allocations: 11.91 kB / 0.7068 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.1795, allocations: 17.72 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1796, allocations: 326.8 kB / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.18, allocations: 87.88 kB / 0.7072 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.1803, allocations: 92.25 kB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.181, allocations: 180.6 kB / 0.7075 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.181, allocations: 0 / 0.7075 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000703/0.1817, allocations: 213.5 kB / 0.7077 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1817, allocations: 11.92 kB / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1817, allocations: 0 / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1817, allocations: 0 / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.182, allocations: 31.95 kB / 0.7077 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.182, allocations: 3.984 kB / 0.7077 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1822, allocations: 35.89 kB / 0.7078 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1822, allocations: 3.984 kB / 0.7078 GB, free: 11.73 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.882e-05/0.1823, allocations: 117.8 kB / 0.7079 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1823, allocations: 7.953 kB / 0.7079 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.1824, allocations: 15.98 kB / 0.7079 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1824, allocations: 0 / 0.7079 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1824, allocations: 7.938 kB / 0.7079 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1824, allocations: 0 / 0.7079 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1826, allocations: 185 kB / 0.7081 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1826, allocations: 0 / 0.7081 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1828, allocations: 31.95 kB / 0.7081 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1828, allocations: 0 / 0.7081 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1829, allocations: 7.984 kB / 0.7081 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1829, allocations: 3.938 kB / 0.7081 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1829, allocations: 0 / 0.7081 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.1836, allocations: 319.2 kB / 0.7084 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.1836, allocations: 4 kB / 0.7084 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1837, allocations: 0 / 0.7084 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.1839, allocations: 39.95 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.1839, allocations: 3.984 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1839, allocations: 0 / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.427e-05/0.184, allocations: 99.2 kB / 0.7086 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.184, allocations: 0 / 0.7086 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002358/0.1842, allocations: 15.94 kB / 0.7086 GB, free: 10.82 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.00107/0.1853, allocations: 0.8333 MB / 0.7094 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007316/0.186, allocations: 203.7 kB / 0.7096 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.186, allocations: 288 / 0.7096 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.1864, allocations: 91.88 kB / 0.7097 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1866, allocations: 19.92 kB / 0.7097 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.1902, allocations: 1.837 MB / 0.7115 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1905, allocations: 0.6924 MB / 0.7122 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.992e-05/0.1906, allocations: 15.98 kB / 0.7122 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.1906, allocations: 19.42 kB / 0.7122 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of SimCode: time 1.243e-06/0.1906, allocations: 4 kB / 0.7122 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.226, allocations: 2.081 MB / 0.7142 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.9, allocations: 2.531 kB / 0.7142 GB, free: 5.031 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 & 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: 14.743913304999296] Failed to read output from testmodel.py, exit status != 0: 10.998476510998444 11.016143664 10.840587664 Calling exit ...