Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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.001582/0.001582, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.001663/0.001663, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 207.6 MB / 229.8 MB, free: 11.4 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05034/0.05034, allocations: 9.157 MB / 290.8 MB, free: 13.89 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002941/0.002941, allocations: 76.16 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07754/0.08048, allocations: 50.72 MB / 456.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02147/0.1019, allocations: 17.28 MB / 473.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.1158, allocations: 9.371 MB / 483.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.116, allocations: 0 / 483.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1175, allocations: 403.6 kB / 483.6 MB, free: 3.062 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01717/0.1347, allocations: 4.558 MB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.795e-05/0.1347, allocations: 15.86 kB / 488.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.1351, allocations: 143.1 kB / 488.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.146e-05/0.1351, allocations: 5.125 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.1353, allocations: 59.72 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1355, allocations: 55.66 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1355, allocations: 0 / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02375/0.1592, allocations: 7.7 MB / 496.2 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.1593, allocations: 15.92 kB / 496.2 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1594, allocations: 51.67 kB / 496.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.1705, allocations: 3.277 MB / 499.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.1705, allocations: 4 kB / 499.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1705, allocations: 0 / 499.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.1705, allocations: 0 / 499.5 MB, free: 3.141 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002256/0.1728, allocations: 0.7262 MB / 0.4885 GB, free: 2.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1728, allocations: 8.031 kB / 0.4885 GB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.1729, allocations: 50.55 kB / 0.4886 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.1731, allocations: 19.84 kB / 0.4886 GB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1733, allocations: 174.9 kB / 0.4887 GB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1733, allocations: 8 kB / 0.4888 GB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1733, allocations: 4 kB / 0.4888 GB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.1736, allocations: 186.6 kB / 0.4889 GB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1737, allocations: 0 / 0.4889 GB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1737, allocations: 8 kB / 0.4889 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1737, allocations: 0 / 0.4889 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.1741, allocations: 256.1 kB / 0.4892 GB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1745, allocations: 290.7 kB / 0.4895 GB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.1748, allocations: 178.8 kB / 0.4896 GB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1749, allocations: 145.1 kB / 0.4898 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.1868, allocations: 4.255 MB / 0.4939 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.1868, allocations: 38.56 kB / 0.494 GB, free: 12.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.1868, allocations: 0 / 0.494 GB, free: 12.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007836/0.1876, allocations: 494 kB / 0.4944 GB, free: 11.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1877, allocations: 51.41 kB / 0.4945 GB, free: 11.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1878, allocations: 105.8 kB / 0.4946 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1878, allocations: 29.7 kB / 0.4946 GB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.1878, allocations: 84.8 kB / 0.4947 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.188, allocations: 130.8 kB / 0.4948 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1881, allocations: 49.66 kB / 0.4949 GB, free: 11.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1883, allocations: 322.8 kB / 0.4952 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1885, allocations: 116 kB / 0.4953 GB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1887, allocations: 140.7 kB / 0.4954 GB, free: 10.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.189, allocations: 288 kB / 0.4957 GB, free: 10.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.189, allocations: 0 / 0.4957 GB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004738/0.1895, allocations: 326.5 kB / 0.496 GB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1895, allocations: 4 kB / 0.496 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.1896, allocations: 11.98 kB / 0.496 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1896, allocations: 0 / 0.496 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1897, allocations: 16 kB / 0.496 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1897, allocations: 4 kB / 0.496 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.1898, allocations: 19.83 kB / 0.4961 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1898, allocations: 8 kB / 0.4961 GB, free: 9.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001208/0.1899, allocations: 121.7 kB / 0.4962 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.19, allocations: 16.12 kB / 0.4962 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/0.1906, allocations: 376.1 kB / 0.4966 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.1906, allocations: 7.984 kB / 0.4966 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1906, allocations: 0 / 0.4966 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1906, allocations: 0 / 0.4966 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.1909, allocations: 297.8 kB / 0.4968 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.1909, allocations: 0 / 0.4968 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/0.191, allocations: 27.92 kB / 0.4969 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.191, allocations: 0 / 0.4969 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1911, allocations: 8 kB / 0.4969 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1911, allocations: 0 / 0.4969 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1911, allocations: 4 kB / 0.4969 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.1915, allocations: 424.9 kB / 0.4973 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1916, allocations: 108.9 kB / 0.4974 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1917, allocations: 0 / 0.4974 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.1917, allocations: 8 kB / 0.4974 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.1918, allocations: 11.98 kB / 0.4974 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1918, allocations: 8 kB / 0.4974 GB, free: 8.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.1918, allocations: 79.28 kB / 0.4975 GB, free: 8.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1918, allocations: 0 / 0.4975 GB, free: 8.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002036/0.1939, allocations: 0.627 MB / 0.4981 GB, free: 7.645 MB / 382.1 MB 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004028/0.1979, allocations: 1.875 MB / 0.4999 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.1985, allocations: 305.5 kB / 0.5002 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1985, allocations: 0 / 0.5002 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.1987, allocations: 157.7 kB / 0.5004 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.1993, allocations: 67.97 kB / 0.5004 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.2012, allocations: 0.6589 MB / 0.5011 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.2016, allocations: 0.7131 MB / 0.5018 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.068e-05/0.2017, allocations: 24.36 kB / 0.5018 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.2018, allocations: 39.42 kB / 0.5018 GB, free: 3.703 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2018, allocations: 0 / 0.5018 GB, free: 3.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/0.443, allocations: 27.22 MB / 0.5284 GB, free: 55.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.29/9.733, allocations: 4.219 kB / 0.5284 GB, free: 55.92 MB / 398.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.351768125314265] Failed to read output from testmodel.py, exit status != 0: 9.819964642636478 9.830364474 9.657320745 Calling exit ...