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.001366/0.001366, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001489/0.001489, allocations: 216.8 kB / 22.25 MB, free: 5.125 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.969 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.8877/0.8877, allocations: 134 MB / 446.4 MB, free: 10.18 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.001992/0.001992, allocations: 65.89 kB / 0.6186 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1712, allocations: 85.9 MB / 0.7024 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003078/0.1742, allocations: 1.815 MB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1755, allocations: 0.741 MB / 0.7049 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.1756, allocations: 15.88 kB / 0.705 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.1756, allocations: 11.86 kB / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.1757, allocations: 15.8 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.1763, allocations: 187 kB / 0.7052 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1765, allocations: 131.6 kB / 0.7053 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1766, allocations: 41.84 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1768, allocations: 67.77 kB / 0.7054 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1769, allocations: 47.77 kB / 0.7054 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.1769, allocations: 12 kB / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.177, allocations: 55.95 kB / 0.7055 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.1771, allocations: 31.91 kB / 0.7055 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.1771, allocations: 55.66 kB / 0.7056 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1774, allocations: 155.4 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1774, allocations: 4 kB / 0.7057 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1774, allocations: 0 / 0.7057 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1774, allocations: 0 / 0.7057 GB, free: 13.97 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.0006404/0.178, allocations: 369.7 kB / 0.7061 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1781, allocations: 8.031 kB / 0.7061 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.1781, allocations: 46.73 kB / 0.7061 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.1791, allocations: 128.7 kB / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.1794, allocations: 154.8 kB / 0.7064 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.1795, allocations: 123.1 kB / 0.7065 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1796, allocations: 8 kB / 0.7065 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.1801, allocations: 173.5 kB / 0.7067 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1801, allocations: 0 / 0.7067 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1801, allocations: 4 kB / 0.7067 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1801, allocations: 0 / 0.7067 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.1807, allocations: 159.8 kB / 0.7069 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1818, allocations: 456.6 kB / 0.7073 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009947/0.1828, allocations: 218.3 kB / 0.7075 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.1831, allocations: 80.89 kB / 0.7076 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1831, allocations: 4 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.1831, allocations: 38.5 kB / 0.7076 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1831, allocations: 0 / 0.7076 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001012/0.1842, allocations: 265.4 kB / 0.7079 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.1842, allocations: 51.41 kB / 0.7079 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1843, allocations: 137.4 kB / 0.7081 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1844, allocations: 33.7 kB / 0.7081 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1845, allocations: 116.2 kB / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1845, allocations: 23.78 kB / 0.7082 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.1846, allocations: 21.7 kB / 0.7082 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1847, allocations: 322.8 kB / 0.7085 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.185, allocations: 75.86 kB / 0.7086 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.1853, allocations: 94.5 kB / 0.7087 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.1859, allocations: 166.4 kB / 0.7089 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1859, allocations: 0 / 0.7089 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006628/0.1866, allocations: 205.6 kB / 0.7091 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1866, allocations: 8.062 kB / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1866, allocations: 8.141 kB / 0.7091 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1866, allocations: 0 / 0.7091 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.1869, allocations: 39.95 kB / 0.7091 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1869, allocations: 3.984 kB / 0.7091 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1871, allocations: 27.91 kB / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1871, allocations: 4 kB / 0.7092 GB, free: 10.24 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.0001137/0.1872, allocations: 125.8 kB / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.1872, allocations: 7.953 kB / 0.7093 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.1879, allocations: 206.2 kB / 0.7095 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1879, allocations: 4 kB / 0.7095 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1879, allocations: 0 / 0.7095 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.188, allocations: 0 / 0.7095 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.1882, allocations: 217.2 kB / 0.7097 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1882, allocations: 0 / 0.7097 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.1885, allocations: 31.95 kB / 0.7097 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1885, allocations: 0 / 0.7097 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1885, allocations: 0 / 0.7097 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.1885, allocations: 4 kB / 0.7097 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1885, allocations: 4 kB / 0.7097 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.1892, allocations: 291.2 kB / 0.71 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.1892, allocations: 7.953 kB / 0.71 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1892, allocations: 4 kB / 0.71 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.1895, allocations: 31.94 kB / 0.71 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1895, allocations: 4 kB / 0.71 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1895, allocations: 11.92 kB / 0.7101 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.7e-05/0.1896, allocations: 109.9 kB / 0.7102 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 0.7102 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002609/0.1899, allocations: 27.89 kB / 0.7102 GB, free: 9.098 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.001005/0.1909, allocations: 0.8256 MB / 0.711 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006309/0.1915, allocations: 159.8 kB / 0.7112 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1915, allocations: 0 / 0.7112 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1918, allocations: 79.98 kB / 0.7112 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1921, allocations: 21.28 kB / 0.7112 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.1952, allocations: 1.836 MB / 0.713 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1955, allocations: 0.704 MB / 0.7137 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.912e-05/0.1956, allocations: 19.98 kB / 0.7137 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.1957, allocations: 31.42 kB / 0.7138 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1957, allocations: 0 / 0.7138 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.2305, allocations: 2.952 MB / 0.7167 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.46, allocations: 3.938 kB / 0.7167 GB, free: 2.469 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.176885093002056] Failed to read output from testmodel.py, exit status != 0: 11.565683190005075 11.582068829 11.401613191 Calling exit ...