Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.00187/0.00187, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002642/0.002642, allocations: 213.2 kB / 22.24 MB, free: 4.855 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.518/1.518, 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.8884/0.8884, allocations: 134 MB / 446.4 MB, free: 9.977 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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.003382/0.003382, allocations: 68.55 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2067, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003724/0.2104, allocations: 1.482 MB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2118, allocations: 0.5774 MB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.2119, allocations: 0 / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.2119, allocations: 3.938 kB / 0.7044 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.212, allocations: 11.94 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.2124, allocations: 59.81 kB / 0.7045 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2125, allocations: 31.86 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2126, allocations: 7.984 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.2127, allocations: 19.92 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.2128, allocations: 11.92 kB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2128, allocations: 4 kB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.213, allocations: 51.95 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.213, allocations: 11.92 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.213, allocations: 15.94 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.2132, allocations: 72.02 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2132, allocations: 0 / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2132, allocations: 0 / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.2132, allocations: 0 / 0.7047 GB, free: 14.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004774/0.2137, allocations: 282 kB / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2138, allocations: 12.03 kB / 0.705 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.2138, allocations: 30.75 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.214, allocations: 16.88 kB / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2142, allocations: 122.5 kB / 0.7051 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2143, allocations: 384 / 0.7051 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.2143, allocations: 4.375 kB / 0.7051 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.2144, allocations: 45.81 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2144, allocations: 0 / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2144, allocations: 0 / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.2144, allocations: 0 / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2146, allocations: 23.92 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.2149, allocations: 227.9 kB / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2151, allocations: 34.56 kB / 0.7054 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.2151, allocations: 12.92 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/0.2157, allocations: 91.86 kB / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.2158, allocations: 42.44 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2158, allocations: 0 / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000265/0.216, allocations: 69.61 kB / 0.7057 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2161, allocations: 51.41 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.2162, allocations: 113.8 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2162, allocations: 25.7 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.2163, allocations: 84.14 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2163, allocations: 7.953 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.2163, allocations: 13.7 kB / 0.7059 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2165, allocations: 322.8 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.2165, allocations: 4.125 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.2166, allocations: 19.98 kB / 0.7063 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/0.2166, allocations: 28.78 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2166, allocations: 0 / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001208/0.2168, allocations: 53.64 kB / 0.7063 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2168, allocations: 4 kB / 0.7063 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2168, allocations: 4 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2168, allocations: 0 / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.2169, allocations: 12.08 kB / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.2169, allocations: 0 / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.2169, allocations: 0 / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2169, allocations: 4 kB / 0.7064 GB, free: 12.78 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 (2): * Single equations (assignments): 2 * 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 8.897e-05/0.217, allocations: 113.8 kB / 0.7065 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.217, allocations: 4 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.2172, allocations: 61.23 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2172, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2172, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2172, allocations: 8.016 kB / 0.7065 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2174, allocations: 144.7 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2174, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.2174, allocations: 4 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2174, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2174, allocations: 384 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2174, allocations: 4 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2174, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.2176, allocations: 159.3 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.2176, allocations: 11.94 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2176, allocations: 4.031 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.2177, allocations: 0 / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.2177, allocations: 7.984 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2177, allocations: 0 / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.2178, allocations: 87.28 kB / 0.707 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2178, allocations: 0 / 0.707 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002412/0.218, allocations: 19.92 kB / 0.707 GB, free: 12.09 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 (2): * Single equations (assignments): 2 * 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.0005866/0.2186, allocations: 0.6928 MB / 0.7076 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.2188, allocations: 31.95 kB / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2188, allocations: 0 / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.2188, allocations: 15.98 kB / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.219, allocations: 0 / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2203, allocations: 1.253 MB / 0.7089 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.306e-05/0.2204, allocations: 83.23 kB / 0.709 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.2204, allocations: 4 kB / 0.709 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.2204, allocations: 11.44 kB / 0.709 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2204, allocations: 0 / 0.709 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.2485, allocations: 2.143 MB / 0.7111 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.37, allocations: 17.03 kB / 0.7111 GB, free: 7.844 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.296112322248518] Failed to read output from testmodel.py, exit status != 0: 11.483529630117118 11.50840947 11.290502552 Calling exit ...