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.001744/0.001744, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.002134/0.002134, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.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.8249/0.8249, allocations: 134 MB / 442.8 MB, free: 11.33 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.00194/0.00194, allocations: 78.12 kB / 0.6134 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1791, allocations: 85.84 MB / 0.6973 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.00322/0.1823, allocations: 1.806 MB / 0.699 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1837, allocations: 0.7371 MB / 0.6997 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.1838, allocations: 7.938 kB / 0.6998 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.1838, allocations: 7.875 kB / 0.6998 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.1839, allocations: 23.78 kB / 0.6998 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.1845, allocations: 179.1 kB / 0.7 GB, free: 216 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1847, allocations: 123.6 kB / 0.7001 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1849, allocations: 41.7 kB / 0.7001 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1851, allocations: 67.91 kB / 0.7002 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1852, allocations: 55.61 kB / 0.7002 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.1852, allocations: 8 kB / 0.7002 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1853, allocations: 51.97 kB / 0.7003 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.1854, allocations: 31.89 kB / 0.7003 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.1855, allocations: 55.72 kB / 0.7004 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1857, allocations: 159.3 kB / 0.7005 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1857, allocations: 4 kB / 0.7005 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1857, allocations: 3.938 kB / 0.7005 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1857, allocations: 0 / 0.7005 GB, free: 15.61 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.0007122/0.1864, allocations: 442.8 kB / 0.701 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1865, allocations: 13.11 kB / 0.701 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1865, allocations: 46.73 kB / 0.701 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.1876, allocations: 124.7 kB / 0.7011 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1879, allocations: 217.8 kB / 0.7013 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.188, allocations: 67.72 kB / 0.7014 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.188, allocations: 8 kB / 0.7014 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.1886, allocations: 165.5 kB / 0.7016 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1886, allocations: 0 / 0.7016 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1886, allocations: 8 kB / 0.7016 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1886, allocations: 0 / 0.7016 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.1893, allocations: 155.8 kB / 0.7017 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1905, allocations: 493.6 kB / 0.7022 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.1916, allocations: 214.3 kB / 0.7024 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1919, allocations: 80.91 kB / 0.7025 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.192, allocations: 0 / 0.7025 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.192, allocations: 46.48 kB / 0.7025 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.192, allocations: 0 / 0.7025 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001196/0.1932, allocations: 261.4 kB / 0.7028 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.1933, allocations: 55.41 kB / 0.7028 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1934, allocations: 144.6 kB / 0.703 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1934, allocations: 29.7 kB / 0.703 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.1935, allocations: 116.2 kB / 0.7031 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1936, allocations: 23.8 kB / 0.7031 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.1936, allocations: 25.64 kB / 0.7031 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1938, allocations: 322.8 kB / 0.7035 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.1941, allocations: 71.92 kB / 0.7035 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.1945, allocations: 94.5 kB / 0.7036 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/0.1952, allocations: 174.4 kB / 0.7038 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1952, allocations: 0 / 0.7038 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007367/0.1959, allocations: 209.6 kB / 0.704 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1959, allocations: 10.25 kB / 0.704 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1959, allocations: 0 / 0.704 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1959, allocations: 4 kB / 0.704 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.1962, allocations: 31.95 kB / 0.704 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1962, allocations: 4 kB / 0.704 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1964, allocations: 23.97 kB / 0.7041 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1965, allocations: 7.984 kB / 0.7041 GB, free: 11.74 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.0001369/0.1966, allocations: 125.7 kB / 0.7042 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1966, allocations: 7.953 kB / 0.7042 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.1974, allocations: 206.2 kB / 0.7044 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1974, allocations: 0 / 0.7044 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1974, allocations: 4 kB / 0.7044 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1974, allocations: 0 / 0.7044 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.1977, allocations: 246.2 kB / 0.7046 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1977, allocations: 0 / 0.7046 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.198, allocations: 31.95 kB / 0.7047 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.198, allocations: 0 / 0.7047 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.198, allocations: 0 / 0.7047 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.198, allocations: 4 kB / 0.7047 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.198, allocations: 3.984 kB / 0.7047 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/0.1988, allocations: 287.2 kB / 0.7049 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.1988, allocations: 93.05 kB / 0.705 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1989, allocations: 0 / 0.705 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.1992, allocations: 27.95 kB / 0.7051 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1992, allocations: 4 kB / 0.7051 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1993, allocations: 12.17 kB / 0.7051 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.847e-05/0.1994, allocations: 110.1 kB / 0.7052 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1994, allocations: 3.938 kB / 0.7052 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002705/0.1996, allocations: 23.95 kB / 0.7052 GB, free: 10.47 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.001129/0.2008, allocations: 0.8255 MB / 0.706 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007478/0.2015, allocations: 155.8 kB / 0.7062 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2015, allocations: 3.938 kB / 0.7062 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.2018, allocations: 83.98 kB / 0.7062 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2021, allocations: 17.56 kB / 0.7063 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.2056, allocations: 1.84 MB / 0.708 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.206, allocations: 0.7002 MB / 0.7087 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.982e-05/0.2061, allocations: 12 kB / 0.7087 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.2062, allocations: 35.42 kB / 0.7088 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.2062, allocations: 0 / 0.7088 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.2328, allocations: 2.816 MB / 0.7115 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.104, allocations: 3.984 kB / 0.7115 GB, free: 3.938 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.813355842998135] Failed to read output from testmodel.py, exit status != 0: 8.172756843996467 8.196536972 8.007117523 Calling exit ...