Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001712/0.001712, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002249/0.002249, allocations: 209 kB / 22.24 MB, free: 5.262 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.773 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.8443/0.8443, allocations: 134 MB / 446.4 MB, free: 9.883 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.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",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.002026/0.002026, allocations: 78.83 kB / 0.6185 GB, free: 6.824 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1789, allocations: 85.9 MB / 0.7024 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003527/0.1824, allocations: 1.757 MB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1838, allocations: 0.6905 MB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.1839, allocations: 4 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.184, allocations: 19.73 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.184, allocations: 15.8 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.1846, allocations: 175 kB / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1848, allocations: 131.7 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.185, allocations: 41.78 kB / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1852, allocations: 67.77 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.578e-05/0.1853, allocations: 43.77 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1853, allocations: 12 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1854, allocations: 55.95 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.1854, allocations: 31.91 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.043e-05/0.1855, allocations: 47.72 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1857, allocations: 155.4 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1858, allocations: 0 / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1858, allocations: 0 / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1858, allocations: 0 / 0.7055 GB, free: 13.75 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006523/0.1864, allocations: 369.7 kB / 0.7059 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1865, allocations: 12.03 kB / 0.7059 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.1865, allocations: 42.73 kB / 0.7059 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/0.1875, allocations: 128.7 kB / 0.7061 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1878, allocations: 156 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.1879, allocations: 127.1 kB / 0.7063 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1879, allocations: 8 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.1885, allocations: 220.9 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1885, allocations: 0 / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1886, allocations: 4 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1886, allocations: 0 / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.1892, allocations: 155.8 kB / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.1903, allocations: 436.7 kB / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.1914, allocations: 206.3 kB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.1917, allocations: 84.91 kB / 0.7074 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1917, allocations: 0 / 0.7074 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1917, allocations: 46.38 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.1917, allocations: 0 / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001048/0.1928, allocations: 265.4 kB / 0.7077 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1928, allocations: 51.41 kB / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.193, allocations: 144.7 kB / 0.7079 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.193, allocations: 25.7 kB / 0.7079 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.1931, allocations: 112.2 kB / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1931, allocations: 15.86 kB / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.1932, allocations: 25.7 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1933, allocations: 322.8 kB / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.1936, allocations: 75.92 kB / 0.7084 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.194, allocations: 106.3 kB / 0.7085 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.1946, allocations: 162.4 kB / 0.7087 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1946, allocations: 0 / 0.7087 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006928/0.1953, allocations: 209.4 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1953, allocations: 8 kB / 0.7089 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1953, allocations: 0 / 0.7089 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1953, allocations: 0 / 0.7089 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.1956, allocations: 39.89 kB / 0.7089 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1956, allocations: 0 / 0.7089 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.1958, allocations: 31.89 kB / 0.709 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1958, allocations: 11.98 kB / 0.709 GB, free: 9.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001218/0.1959, allocations: 117.8 kB / 0.7091 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.196, allocations: 7.953 kB / 0.7091 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.1967, allocations: 214.5 kB / 0.7093 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1967, allocations: 0 / 0.7093 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1967, allocations: 0 / 0.7093 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1967, allocations: 3.984 kB / 0.7093 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.197, allocations: 185.3 kB / 0.7095 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.197, allocations: 0 / 0.7095 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.1972, allocations: 35.95 kB / 0.7095 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1972, allocations: 0 / 0.7095 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1972, allocations: 7.984 kB / 0.7095 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1972, allocations: 4 kB / 0.7095 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1972, allocations: 3.938 kB / 0.7095 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.198, allocations: 283.3 kB / 0.7098 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.198, allocations: 11.89 kB / 0.7098 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.198, allocations: 0 / 0.7098 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.1983, allocations: 35.95 kB / 0.7099 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1984, allocations: 7.984 kB / 0.7099 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1984, allocations: 7.984 kB / 0.7099 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.12e-05/0.1985, allocations: 105.5 kB / 0.71 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1985, allocations: 0 / 0.71 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002717/0.1987, allocations: 31.89 kB / 0.71 GB, free: 8.863 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 (6): * Single equations (assignments): 6 * 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.001084/0.1998, allocations: 0.817 MB / 0.7108 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006673/0.2005, allocations: 163.8 kB / 0.711 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2005, allocations: 0 / 0.711 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.2008, allocations: 83.84 kB / 0.711 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.2011, allocations: 12.38 kB / 0.711 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.2043, allocations: 1.846 MB / 0.7129 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.828e-05/0.2044, allocations: 89.19 kB / 0.7129 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.271e-05/0.2045, allocations: 12 kB / 0.7129 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.659e-05/0.2046, allocations: 35.41 kB / 0.713 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.2046, allocations: 0 / 0.713 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.2354, allocations: 3.457 MB / 0.7164 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.56, allocations: 5.219 kB / 0.7164 GB, free: 2.367 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks_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_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.428023982793093] Failed to read output from testmodel.py, exit status != 0: 11.694856190122664 11.727533981 11.536255377 Calling exit ...