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.001446/0.001446, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001619/0.001619, allocations: 212 kB / 19.43 MB, free: 3.637 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.458/1.458, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.05349/0.05349, allocations: 9.154 MB / 290.8 MB, free: 13.91 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.002241/0.002241, allocations: 76 kB / 405.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06663/0.06887, allocations: 50.73 MB / 456.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02108/0.08995, allocations: 16.95 MB / 473.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1018, allocations: 10.49 MB / 484 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.1018, allocations: 0 / 484 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007024/0.1025, allocations: 299.3 kB / 484.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.1026, allocations: 23.84 kB / 484.3 MB, free: 2.379 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.01392/0.1165, allocations: 6.046 MB / 490.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.1166, allocations: 47.73 kB / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.1167, allocations: 0 / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1168, allocations: 31.86 kB / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.1168, allocations: 11.94 kB / 490.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.1168, allocations: 0 / 490.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/0.1318, allocations: 8.917 MB / 499.4 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.1318, allocations: 3.938 kB / 499.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.1318, allocations: 11.94 kB / 499.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008206/0.14, allocations: 3.628 MB / 0.4912 GB, free: 15.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1401, allocations: 4 kB / 0.4912 GB, free: 15.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1401, allocations: 0 / 0.4912 GB, free: 15.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1401, allocations: 0 / 0.4912 GB, free: 15.65 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.001489/0.1416, allocations: 0.7687 MB / 0.492 GB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1416, allocations: 8.031 kB / 0.492 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.1416, allocations: 30.56 kB / 0.492 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1417, allocations: 19.89 kB / 0.492 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1418, allocations: 167 kB / 0.4922 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.1418, allocations: 0 / 0.4922 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.1418, allocations: 0 / 0.4922 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1419, allocations: 45.64 kB / 0.4922 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1419, allocations: 0 / 0.4922 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.1419, allocations: 0 / 0.4922 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1419, allocations: 3.984 kB / 0.4922 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.905e-05/0.142, allocations: 15.94 kB / 0.4923 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1421, allocations: 165.7 kB / 0.4924 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.1422, allocations: 26.52 kB / 0.4924 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.1422, allocations: 20.88 kB / 0.4925 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06083/0.203, allocations: 33.03 MB / 0.5247 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2031, allocations: 30.56 kB / 0.5248 GB, free: 7.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.2031, allocations: 0 / 0.5248 GB, free: 7.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001933/0.2033, allocations: 81.56 kB / 0.5248 GB, free: 7.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.2033, allocations: 51.41 kB / 0.5249 GB, free: 7.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.2034, allocations: 93.84 kB / 0.525 GB, free: 7.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2034, allocations: 25.7 kB / 0.525 GB, free: 7.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.2035, allocations: 88.3 kB / 0.5251 GB, free: 6.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2035, allocations: 19.8 kB / 0.5251 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2035, allocations: 13.72 kB / 0.5251 GB, free: 6.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2037, allocations: 318.8 kB / 0.5254 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.2037, allocations: 12 kB / 0.5254 GB, free: 6.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.2037, allocations: 8 kB / 0.5254 GB, free: 6.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.2038, allocations: 41.14 kB / 0.5255 GB, free: 6.562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2038, allocations: 3.938 kB / 0.5255 GB, free: 6.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.947e-05/0.2039, allocations: 77.58 kB / 0.5255 GB, free: 6.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2039, allocations: 9.5 kB / 0.5256 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2039, allocations: 0 / 0.5256 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2039, allocations: 0 / 0.5256 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.2039, allocations: 0 / 0.5256 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2039, allocations: 4 kB / 0.5256 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.2039, allocations: 3.938 kB / 0.5256 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.2039, allocations: 3.984 kB / 0.5256 GB, free: 6.457 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: 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.051e-05/0.204, allocations: 109.8 kB / 0.5257 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.204, allocations: 11.97 kB / 0.5257 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.2042, allocations: 166.9 kB / 0.5258 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-05/0.2043, allocations: 188.2 kB / 0.526 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.769e-05/0.2044, allocations: 180.3 kB / 0.5262 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-05/0.2044, allocations: 184.1 kB / 0.5264 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.2047, allocations: 409.2 kB / 0.5268 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.665e-05/0.2048, allocations: 108.9 kB / 0.5269 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.2048, allocations: 105 kB / 0.527 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.289e-05/0.2049, allocations: 184.2 kB / 0.5271 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.205, allocations: 180.2 kB / 0.5273 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.561e-05/0.2051, allocations: 180.3 kB / 0.5275 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-05/0.2052, allocations: 188.2 kB / 0.5277 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.2053, allocations: 303.8 kB / 0.528 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/0.2054, allocations: 182 kB / 0.5281 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.2055, allocations: 188.4 kB / 0.5283 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2056, allocations: 104.9 kB / 0.5284 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.2057, allocations: 188.3 kB / 0.5286 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.2058, allocations: 109 kB / 0.5287 GB, free: 3.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.2059, allocations: 107.1 kB / 0.5288 GB, free: 2.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2059, allocations: 0 / 0.5288 GB, free: 2.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00224/0.2081, allocations: 0.8722 MB / 0.5296 GB, free: 2.039 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: 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.159/0.3671, allocations: 2.062 MB / 0.5317 GB, free: 89.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.3672, allocations: 19.97 kB / 0.5317 GB, free: 89.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3673, allocations: 1.375 kB / 0.5317 GB, free: 89.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3673, allocations: 0 / 0.5317 GB, free: 89.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3677, allocations: 483 kB / 0.5321 GB, free: 88.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3695, allocations: 1.763 MB / 0.5339 GB, free: 87.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.828e-05/0.3695, allocations: 0.6771 MB / 0.5345 GB, free: 86.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.222e-05/0.3696, allocations: 1.438 kB / 0.5345 GB, free: 86.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.3696, allocations: 11.59 kB / 0.5345 GB, free: 86.94 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3696, allocations: 3.438 kB / 0.5345 GB, free: 86.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05315/0.4227, allocations: 25 MB / 0.559 GB, free: 72.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.999/9.421, allocations: 7.984 kB / 0.559 GB, free: 72.58 MB / 414.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 12.019751369021833] Failed to read output from testmodel.py, exit status != 0: 9.506411919835955 9.516801691 9.374521414 Calling exit ...