Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001291/0.001291, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001546/0.001546, allocations: 214.6 kB / 22.24 MB, free: 5.102 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.809 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.8786/0.8786, allocations: 134 MB / 446.4 MB, free: 9.934 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.002003/0.002003, allocations: 69.8 kB / 0.6185 GB, free: 6.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 85.9 MB / 0.7024 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001837/0.1906, allocations: 0.5984 MB / 0.703 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.1911, allocations: 147.9 kB / 0.7031 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.1911, allocations: 0 / 0.7031 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1911, allocations: 3.938 kB / 0.7031 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.663e-05/0.1911, allocations: 4 kB / 0.7031 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1915, allocations: 47.83 kB / 0.7032 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.1915, allocations: 11.98 kB / 0.7032 GB, free: 216 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.1916, allocations: 3.984 kB / 0.7032 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.676e-05/0.1916, allocations: 8 kB / 0.7032 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.335e-05/0.1917, allocations: 15.91 kB / 0.7032 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1917, allocations: 0 / 0.7032 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.1918, allocations: 31.97 kB / 0.7033 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1918, allocations: 0 / 0.7033 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1918, allocations: 11.92 kB / 0.7033 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.1919, allocations: 36.17 kB / 0.7033 GB, free: 108 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1919, allocations: 0 / 0.7033 GB, free: 108 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.192, allocations: 0 / 0.7033 GB, free: 108 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.192, allocations: 0 / 0.7033 GB, free: 108 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004475/0.1924, allocations: 258.3 kB / 0.7036 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1924, allocations: 12.03 kB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.1925, allocations: 34.73 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1925, allocations: 0.9375 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1926, allocations: 106.5 kB / 0.7037 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1926, allocations: 8.312 kB / 0.7037 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1927, allocations: 8.375 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1928, allocations: 71.89 kB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1928, allocations: 3.938 kB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1928, allocations: 0 / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1928, allocations: 0 / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.1929, allocations: 15.98 kB / 0.7038 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1931, allocations: 120.8 kB / 0.7039 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1932, allocations: 50.56 kB / 0.704 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.1932, allocations: 16.97 kB / 0.704 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.1933, allocations: 4 kB / 0.704 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.1933, allocations: 42.56 kB / 0.704 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1933, allocations: 0 / 0.704 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001302/0.1946, allocations: 423.1 kB / 0.7044 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1947, allocations: 51.41 kB / 0.7045 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.1947, allocations: 97.86 kB / 0.7046 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1948, allocations: 25.7 kB / 0.7046 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1948, allocations: 80.14 kB / 0.7047 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.1948, allocations: 31.72 kB / 0.7047 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1949, allocations: 17.72 kB / 0.7047 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.195, allocations: 314.8 kB / 0.705 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/0.1951, allocations: 16.11 kB / 0.705 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.1951, allocations: 12 kB / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.1952, allocations: 40.84 kB / 0.7051 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1952, allocations: 0 / 0.7051 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001185/0.1953, allocations: 73.56 kB / 0.7052 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1953, allocations: 4 kB / 0.7052 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1953, allocations: 0 / 0.7052 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1953, allocations: 4 kB / 0.7052 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.1954, allocations: 15.92 kB / 0.7052 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1954, allocations: 4 kB / 0.7052 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.1954, allocations: 8 kB / 0.7052 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1954, allocations: 0 / 0.7052 GB, free: 13.92 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 (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 9.372e-05/0.1955, allocations: 113.8 kB / 0.7053 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1956, allocations: 3.938 kB / 0.7053 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.1957, allocations: 81.52 kB / 0.7054 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1957, allocations: 3.938 kB / 0.7054 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1957, allocations: 0 / 0.7054 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1957, allocations: 0 / 0.7054 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1959, allocations: 140.7 kB / 0.7055 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1959, allocations: 0 / 0.7055 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.475e-05/0.196, allocations: 20.11 kB / 0.7055 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.196, allocations: 4 kB / 0.7055 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.196, allocations: 4 kB / 0.7055 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.196, allocations: 0 / 0.7055 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.196, allocations: 0 / 0.7055 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1962, allocations: 125 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.1962, allocations: 3.938 kB / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1962, allocations: 0 / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.1962, allocations: 4.031 kB / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.1963, allocations: 7.984 kB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1963, allocations: 4.062 kB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.1963, allocations: 79.28 kB / 0.7058 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1963, allocations: 3.938 kB / 0.7058 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002182/0.1965, allocations: 31.94 kB / 0.7058 GB, free: 13.22 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0005653/0.1971, allocations: 0.6831 MB / 0.7065 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.1972, allocations: 31.97 kB / 0.7065 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1972, allocations: 0 / 0.7065 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.1972, allocations: 23.94 kB / 0.7065 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1974, allocations: 11.14 kB / 0.7065 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1986, allocations: 1.192 MB / 0.7077 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.1986, allocations: 67.2 kB / 0.7078 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1987, allocations: 11.73 kB / 0.7078 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.1987, allocations: 15.44 kB / 0.7078 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.1987, allocations: 0 / 0.7078 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.2322, allocations: 2.294 MB / 0.71 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.23, allocations: 9.125 kB / 0.71 GB, free: 8.91 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.99688537698239] Failed to read output from testmodel.py, exit status != 0: 11.332531650085002 11.349216004 11.154132716 Calling exit ...