Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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.001345/0.001345, allocations: 112.5 kB / 16.46 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.001396/0.001396, 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.414/1.414, 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.05422/0.05422, allocations: 9.155 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.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_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.002182/0.002182, allocations: 74.08 kB / 405.8 MB, free: 47.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0658/0.06799, allocations: 50.72 MB / 456.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02047/0.08846, allocations: 17.06 MB / 473.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.1006, allocations: 11.11 MB / 484.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.1006, allocations: 0 / 484.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007271/0.1014, allocations: 299.2 kB / 485 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.1015, allocations: 51.69 kB / 485.1 MB, free: 1.609 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.01465/0.1161, allocations: 6.062 MB / 491.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1163, allocations: 79.48 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1163, allocations: 7.984 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.1164, allocations: 39.81 kB / 491.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.1164, allocations: 23.91 kB / 491.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.1164, allocations: 0 / 491.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.1315, allocations: 8.788 MB / 0.4884 GB, free: 2.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.1316, allocations: 3.938 kB / 0.4884 GB, free: 2.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.1316, allocations: 31.88 kB / 0.4884 GB, free: 2.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007728/0.1394, allocations: 3.659 MB / 0.492 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1394, allocations: 0 / 0.492 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1394, allocations: 3.938 kB / 0.492 GB, free: 14.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1394, allocations: 0 / 0.492 GB, free: 14.88 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001525/0.1409, allocations: 0.8115 MB / 0.4928 GB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1409, allocations: 12.03 kB / 0.4928 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.141, allocations: 38.55 kB / 0.4928 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.1411, allocations: 7.938 kB / 0.4928 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1412, allocations: 174.9 kB / 0.493 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1412, allocations: 0 / 0.493 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1413, allocations: 0 / 0.493 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1414, allocations: 57.69 kB / 0.493 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1414, allocations: 0 / 0.493 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1414, allocations: 0 / 0.493 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1414, allocations: 7.984 kB / 0.493 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.1414, allocations: 27.94 kB / 0.4931 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1416, allocations: 173.7 kB / 0.4932 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.431e-05/0.1417, allocations: 50.48 kB / 0.4933 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.1418, allocations: 24.89 kB / 0.4933 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2514/0.3932, allocations: 41.39 MB / 0.5337 GB, free: 63.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3932, allocations: 39.77 kB / 0.5338 GB, free: 63.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.3932, allocations: 0 / 0.5338 GB, free: 63.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002554/0.3934, allocations: 128.3 kB / 0.5339 GB, free: 63.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.3935, allocations: 51.41 kB / 0.5339 GB, free: 63.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.3935, allocations: 98 kB / 0.534 GB, free: 63.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.3935, allocations: 26.89 kB / 0.5341 GB, free: 63.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.446e-05/0.3935, allocations: 81.72 kB / 0.5341 GB, free: 63.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3936, allocations: 47.59 kB / 0.5342 GB, free: 63.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.3936, allocations: 19.98 kB / 0.5342 GB, free: 63.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.3936, allocations: 320.9 kB / 0.5345 GB, free: 62.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.3937, allocations: 22.86 kB / 0.5345 GB, free: 62.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.3937, allocations: 28.3 kB / 0.5346 GB, free: 62.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.3938, allocations: 69.5 kB / 0.5346 GB, free: 62.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3938, allocations: 2.062 kB / 0.5346 GB, free: 62.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001017/0.3939, allocations: 100.1 kB / 0.5347 GB, free: 62.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3939, allocations: 6.75 kB / 0.5347 GB, free: 62.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3939, allocations: 0 / 0.5347 GB, free: 62.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3939, allocations: 3.844 kB / 0.5347 GB, free: 62.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.3939, allocations: 0.8438 kB / 0.5347 GB, free: 62.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.3939, allocations: 0 / 0.5347 GB, free: 62.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.3939, allocations: 6.234 kB / 0.5347 GB, free: 62.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.394, allocations: 0.5625 kB / 0.5347 GB, free: 62.69 MB / 414.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 4.936e-05/0.394, allocations: 117.1 kB / 0.5349 GB, free: 62.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.394, allocations: 8.422 kB / 0.5349 GB, free: 62.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.3942, allocations: 157.7 kB / 0.535 GB, free: 62.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3942, allocations: 4.766 kB / 0.535 GB, free: 62.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3942, allocations: 0.5156 kB / 0.535 GB, free: 62.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3942, allocations: 1.125 kB / 0.535 GB, free: 62.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.3943, allocations: 172.5 kB / 0.5352 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3943, allocations: 0.7031 kB / 0.5352 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-06/0.3943, allocations: 8.062 kB / 0.5352 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3943, allocations: 1.109 kB / 0.5352 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3943, allocations: 1.797 kB / 0.5352 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3943, allocations: 0.5 kB / 0.5352 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3943, allocations: 7.688 kB / 0.5352 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.998e-05/0.3944, allocations: 89.8 kB / 0.5353 GB, free: 62.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.3944, allocations: 88.44 kB / 0.5354 GB, free: 62.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3944, allocations: 2.984 kB / 0.5354 GB, free: 62.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.3944, allocations: 4.906 kB / 0.5354 GB, free: 62.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.3945, allocations: 1.656 kB / 0.5354 GB, free: 62.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3945, allocations: 0 / 0.5354 GB, free: 62.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.3945, allocations: 101.2 kB / 0.5355 GB, free: 62.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3945, allocations: 2.5 kB / 0.5355 GB, free: 62.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001954/0.3965, allocations: 0.8816 MB / 0.5363 GB, free: 62.04 MB / 414.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.00348/0.3999, allocations: 1.903 MB / 0.5382 GB, free: 61.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.4001, allocations: 43.22 kB / 0.5382 GB, free: 61.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4001, allocations: 0 / 0.5382 GB, free: 61.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.4001, allocations: 15.41 kB / 0.5383 GB, free: 61.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.4007, allocations: 56.91 kB / 0.5383 GB, free: 61.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.4028, allocations: 1.668 MB / 0.5399 GB, free: 59.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.4029, allocations: 0.6822 MB / 0.5406 GB, free: 59.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.4029, allocations: 3.172 kB / 0.5406 GB, free: 59.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.4029, allocations: 21.98 kB / 0.5406 GB, free: 59.29 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4029, allocations: 0 / 0.5406 GB, free: 59.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/0.4589, allocations: 25.77 MB / 0.5658 GB, free: 48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.062/9.521, allocations: 3.938 kB / 0.5658 GB, free: 48 MB / 414.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.987931922078133] Failed to read output from testmodel.py, exit status != 0: 9.60561358788982 9.616339109 9.474701046 Calling exit ...