Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.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.001594/0.001594, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002117/0.002117, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04875/0.04875, allocations: 9.125 MB / 321.6 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 446.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 54.95 MB / 0.4897 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01876/0.1244, allocations: 15.74 MB / 0.5051 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2262/0.3507, allocations: 12.56 MB / 0.5173 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3508, allocations: 2.266 kB / 0.5173 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.3517, allocations: 332.4 kB / 0.5177 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.3546, allocations: 1.585 MB / 0.5192 GB, free: 6.953 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.3666, allocations: 5.038 MB / 0.5241 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.3669, allocations: 145 kB / 0.5243 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.367, allocations: 17.14 kB / 0.5243 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3671, allocations: 66.03 kB / 0.5244 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.3672, allocations: 51.34 kB / 0.5244 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3672, allocations: 1.25 kB / 0.5244 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01509/0.3823, allocations: 7.057 MB / 0.5313 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.3824, allocations: 14.62 kB / 0.5313 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.3825, allocations: 44.23 kB / 0.5313 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009197/0.3917, allocations: 3.157 MB / 0.5344 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3917, allocations: 0 / 0.5344 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3917, allocations: 0 / 0.5344 GB, free: 5.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3917, allocations: 1.125 kB / 0.5344 GB, free: 5.562 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0024/0.3941, allocations: 0.7774 MB / 0.5352 GB, free: 4.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3941, allocations: 9.125 kB / 0.5352 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3942, allocations: 48.8 kB / 0.5352 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3943, allocations: 16.56 kB / 0.5353 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.3944, allocations: 128.1 kB / 0.5354 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3944, allocations: 6.5 kB / 0.5354 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3944, allocations: 4.406 kB / 0.5354 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.3947, allocations: 232.4 kB / 0.5356 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3947, allocations: 0 / 0.5356 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3947, allocations: 3.812 kB / 0.5356 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3948, allocations: 7.328 kB / 0.5356 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.3952, allocations: 436.1 kB / 0.536 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.3954, allocations: 280.1 kB / 0.5363 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.3956, allocations: 190.3 kB / 0.5365 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.3958, allocations: 187.5 kB / 0.5367 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.4071, allocations: 2.803 MB / 0.5394 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.4072, allocations: 31.97 kB / 0.5394 GB, free: 3.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.685e-06/0.4072, allocations: 0 / 0.5394 GB, free: 3.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006944/0.4079, allocations: 0.6131 MB / 0.54 GB, free: 3.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.4079, allocations: 54.56 kB / 0.5401 GB, free: 3.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.4079, allocations: 100.1 kB / 0.5402 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.408, allocations: 25.7 kB / 0.5402 GB, free: 3.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.408, allocations: 82.05 kB / 0.5403 GB, free: 3.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.408, allocations: 137.1 kB / 0.5404 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.4081, allocations: 37.2 kB / 0.5405 GB, free: 2.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.4081, allocations: 329 kB / 0.5408 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4083, allocations: 174.3 kB / 0.5409 GB, free: 2.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4084, allocations: 175.5 kB / 0.5411 GB, free: 2.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.4088, allocations: 393.3 kB / 0.5415 GB, free: 2.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4088, allocations: 0 / 0.5415 GB, free: 2.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004086/0.4092, allocations: 433.8 kB / 0.5419 GB, free: 2.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4092, allocations: 5.531 kB / 0.5419 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4092, allocations: 1.156 kB / 0.5419 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4092, allocations: 0 / 0.5419 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.4093, allocations: 22.92 kB / 0.5419 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4093, allocations: 0.9062 kB / 0.5419 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.4094, allocations: 19.64 kB / 0.5419 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.4094, allocations: 7.438 kB / 0.5419 GB, free: 2.414 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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 6.35e-05/0.4095, allocations: 118.7 kB / 0.5421 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.4095, allocations: 8.734 kB / 0.5421 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.41, allocations: 0.6498 MB / 0.5427 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.41, allocations: 1.469 kB / 0.5427 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.41, allocations: 0 / 0.5427 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.41, allocations: 7.875 kB / 0.5427 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.4107, allocations: 0.8889 MB / 0.5436 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4107, allocations: 3.719 kB / 0.5436 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.4107, allocations: 23.05 kB / 0.5436 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4107, allocations: 3.812 kB / 0.5436 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4107, allocations: 7.5 kB / 0.5436 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4107, allocations: 6.938 kB / 0.5436 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4107, allocations: 2.969 kB / 0.5436 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.411, allocations: 276.1 kB / 0.5439 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.411, allocations: 17.27 kB / 0.5439 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.411, allocations: 24.19 kB / 0.5439 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.4111, allocations: 4.219 kB / 0.5439 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.4111, allocations: 16.55 kB / 0.5439 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.4111, allocations: 6.781 kB / 0.544 GB, free: 1.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.4112, allocations: 167.2 kB / 0.5441 GB, free: 1.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4112, allocations: 6.844 kB / 0.5441 GB, free: 1.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002535/0.4138, allocations: 0.8056 MB / 0.5449 GB, free: 0.8242 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.004022/0.4178, allocations: 2.082 MB / 0.5469 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.4181, allocations: 269.1 kB / 0.5472 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.4181, allocations: 0 / 0.5472 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.4182, allocations: 87.42 kB / 0.5473 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.4188, allocations: 85.23 kB / 0.5474 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.4218, allocations: 2.918 MB / 0.5502 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.686e-05/0.4219, allocations: 94.98 kB / 0.5503 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.984e-05/0.422, allocations: 21.28 kB / 0.5503 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.422, allocations: 39.98 kB / 0.5504 GB, free: 13.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.422, allocations: 0 / 0.5504 GB, free: 13.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06965/0.4917, allocations: 30.3 MB / 0.5799 GB, free: 360 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.68, allocations: 10.81 kB / 0.58 GB, free: 352 kB / 414.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport_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_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.24023128207773] Failed to read output from testmodel.py, exit status != 0: 12.807195181958377 12.823336422 12.428458812 Calling exit ...