Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.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.00136/0.00136, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001515/0.001515, allocations: 219 kB / 22.26 MB, free: 5.215 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 / 233 MB, free: 9.988 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.05305/0.05305, allocations: 9.147 MB / 294.4 MB, free: 12.7 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.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",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.002197/0.002197, allocations: 68.7 kB / 411 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06776/0.06995, allocations: 50.76 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.0208/0.09075, allocations: 17.01 MB / 478.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.1021, allocations: 10.48 MB / 489.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.1022, allocations: 0 / 489.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000722/0.1029, allocations: 303.2 kB / 489.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.1029, allocations: 31.83 kB / 489.6 MB, free: 0.7891 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01408/0.117, allocations: 6.086 MB / 495.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1171, allocations: 51.73 kB / 495.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.1172, allocations: 4 kB / 495.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1173, allocations: 31.84 kB / 495.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.1174, allocations: 15.92 kB / 495.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.1174, allocations: 0 / 495.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01577/0.1331, allocations: 9.233 MB / 0.4932 GB, free: 1.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1331, allocations: 0 / 0.4932 GB, free: 1.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.1332, allocations: 15.88 kB / 0.4932 GB, free: 1.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.1414, allocations: 3.644 MB / 0.4968 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1414, allocations: 0 / 0.4968 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1414, allocations: 0 / 0.4968 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1414, allocations: 0 / 0.4968 GB, free: 13.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001365/0.1428, allocations: 0.7011 MB / 0.4975 GB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1428, allocations: 19.98 kB / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1429, allocations: 38.5 kB / 0.4975 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.1429, allocations: 7.891 kB / 0.4975 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.143, allocations: 105.2 kB / 0.4976 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.143, allocations: 3.984 kB / 0.4976 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.143, allocations: 0 / 0.4976 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1431, allocations: 41.69 kB / 0.4977 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1431, allocations: 0 / 0.4977 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.1431, allocations: 0 / 0.4977 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1431, allocations: 0 / 0.4977 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.1432, allocations: 19.94 kB / 0.4977 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.1433, allocations: 140.6 kB / 0.4978 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.427e-05/0.1434, allocations: 30.56 kB / 0.4979 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.1434, allocations: 20.89 kB / 0.4979 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04811/0.1915, allocations: 9.679 MB / 0.5073 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1916, allocations: 34.56 kB / 0.5074 GB, free: 2.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.1916, allocations: 0 / 0.5074 GB, free: 2.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002182/0.1918, allocations: 85.55 kB / 0.5074 GB, free: 2.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.1918, allocations: 51.41 kB / 0.5075 GB, free: 2.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.1919, allocations: 101.9 kB / 0.5076 GB, free: 2.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1919, allocations: 25.7 kB / 0.5076 GB, free: 2.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.192, allocations: 84.14 kB / 0.5077 GB, free: 2.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.192, allocations: 15.8 kB / 0.5077 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.192, allocations: 21.7 kB / 0.5077 GB, free: 2.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1922, allocations: 310.8 kB / 0.508 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.1922, allocations: 12 kB / 0.508 GB, free: 1.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.1922, allocations: 15.98 kB / 0.5081 GB, free: 1.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.1923, allocations: 37.02 kB / 0.5081 GB, free: 1.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1923, allocations: 3.938 kB / 0.5081 GB, free: 1.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.002e-05/0.1924, allocations: 65.64 kB / 0.5082 GB, free: 1.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1924, allocations: 11.92 kB / 0.5082 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1924, allocations: 4 kB / 0.5082 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1924, allocations: 0 / 0.5082 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1924, allocations: 0 / 0.5082 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1924, allocations: 320 / 0.5082 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.1924, allocations: 3.938 kB / 0.5082 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1924, allocations: 0 / 0.5082 GB, free: 1.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.733e-05/0.1925, allocations: 113.9 kB / 0.5083 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1925, allocations: 3.938 kB / 0.5083 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.1927, allocations: 182.8 kB / 0.5085 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.827e-05/0.1928, allocations: 176.3 kB / 0.5086 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.441e-05/0.1929, allocations: 180.3 kB / 0.5088 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.909e-05/0.1929, allocations: 188.2 kB / 0.509 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.1932, allocations: 380.3 kB / 0.5093 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.25e-05/0.1933, allocations: 112.9 kB / 0.5094 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.1933, allocations: 101 kB / 0.5095 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.343e-05/0.1934, allocations: 192.1 kB / 0.5097 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.1935, allocations: 176.3 kB / 0.5099 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/0.1936, allocations: 184.2 kB / 0.5101 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.656e-05/0.1937, allocations: 180.2 kB / 0.5102 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1938, allocations: 311.8 kB / 0.5105 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1939, allocations: 101 kB / 0.5106 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.194, allocations: 196.4 kB / 0.5108 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.1941, allocations: 112.9 kB / 0.5109 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.1942, allocations: 180.3 kB / 0.5111 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.1942, allocations: 104.9 kB / 0.5112 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.515e-05/0.1943, allocations: 99.27 kB / 0.5113 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1943, allocations: 0 / 0.5113 GB, free: 14.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002002/0.1963, allocations: 0.8722 MB / 0.5122 GB, free: 13.5 MB / 398.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 (0): * Single equations (assignments): 0 * 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.00359/0.1999, allocations: 2.076 MB / 0.5142 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.824e-05/0.2, allocations: 12 kB / 0.5142 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2, allocations: 3.938 kB / 0.5142 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.2, allocations: 288 / 0.5142 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.2005, allocations: 487.7 kB / 0.5147 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.2025, allocations: 1.775 MB / 0.5164 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.2029, allocations: 0.6768 MB / 0.5171 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.049e-05/0.2029, allocations: 0 / 0.5171 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2029, allocations: 15.42 kB / 0.5171 GB, free: 8.32 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2029, allocations: 0 / 0.5171 GB, free: 8.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2404/0.4433, allocations: 25.08 MB / 0.5416 GB, free: 62.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.44, allocations: 3.75 kB / 0.5416 GB, free: 62.12 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.050103665998904] Failed to read output from testmodel.py, exit status != 0: 12.562098599002638 12.576264543 12.431519171 Calling exit ...