Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_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.0013/0.0013, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001562/0.001562, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 8.004 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.04853/0.04853, allocations: 9.14 MB / 321.6 MB, free: 10.25 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.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.91 kB / 446.5 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 54.94 MB / 0.4897 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.0209/0.1313, allocations: 17.21 MB / 0.5065 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007292/0.1386, allocations: 6.585 MB / 0.5129 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1387, allocations: 7.938 kB / 0.5129 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1397, allocations: 383 kB / 0.5133 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.1403, allocations: 266.5 kB / 0.5136 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2344/0.3747, allocations: 4.381 MB / 0.5178 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.3751, allocations: 361 kB / 0.5182 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.3752, allocations: 11.31 kB / 0.5182 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3754, allocations: 169.7 kB / 0.5183 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3755, allocations: 75.3 kB / 0.5184 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.3755, allocations: 4 kB / 0.5184 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009871/0.3854, allocations: 4.773 MB / 0.5231 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.3855, allocations: 10.34 kB / 0.5231 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.3857, allocations: 80.81 kB / 0.5232 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007239/0.393, allocations: 2.606 MB / 0.5257 GB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.393, allocations: 0 / 0.5257 GB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.393, allocations: 0 / 0.5257 GB, free: 8.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.393, allocations: 1.969 kB / 0.5257 GB, free: 8.355 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001933/0.3949, allocations: 0.6965 MB / 0.5264 GB, free: 7.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.395, allocations: 9.922 kB / 0.5264 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.395, allocations: 49.38 kB / 0.5265 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.395, allocations: 19.45 kB / 0.5265 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.3951, allocations: 131.3 kB / 0.5266 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3951, allocations: 1.312 kB / 0.5266 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.3952, allocations: 5.531 kB / 0.5266 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3954, allocations: 179.4 kB / 0.5268 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3954, allocations: 1.984 kB / 0.5268 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3954, allocations: 0 / 0.5268 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3954, allocations: 18.3 kB / 0.5268 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3955, allocations: 146.8 kB / 0.5269 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.3958, allocations: 286.9 kB / 0.5272 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.396, allocations: 166 kB / 0.5274 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3961, allocations: 157.3 kB / 0.5275 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03739/0.4335, allocations: 9.226 MB / 0.5365 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.4335, allocations: 31.78 kB / 0.5366 GB, free: 6.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 1.894e-06/0.4335, allocations: 0 / 0.5366 GB, free: 6.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006669/0.4342, allocations: 0.578 MB / 0.5371 GB, free: 5.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.4342, allocations: 52.53 kB / 0.5372 GB, free: 5.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.4343, allocations: 107.7 kB / 0.5373 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.4343, allocations: 25.7 kB / 0.5373 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.418e-05/0.4343, allocations: 82.7 kB / 0.5374 GB, free: 5.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4344, allocations: 211.2 kB / 0.5376 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.4344, allocations: 45.5 kB / 0.5376 GB, free: 5.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.4345, allocations: 337.2 kB / 0.5379 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4346, allocations: 147.8 kB / 0.5381 GB, free: 5.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4347, allocations: 150.9 kB / 0.5382 GB, free: 5.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.435, allocations: 364.5 kB / 0.5386 GB, free: 5.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.435, allocations: 0 / 0.5386 GB, free: 5.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003256/0.4353, allocations: 393 kB / 0.539 GB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4354, allocations: 4.812 kB / 0.539 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4354, allocations: 0 / 0.539 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4354, allocations: 1.531 kB / 0.539 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.4354, allocations: 0 / 0.539 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4354, allocations: 7.984 kB / 0.539 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.4355, allocations: 25.83 kB / 0.539 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.4355, allocations: 0 / 0.539 GB, free: 4.91 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: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 7.488e-05/0.4356, allocations: 133 kB / 0.5391 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.4356, allocations: 19.39 kB / 0.5391 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.4361, allocations: 0.731 MB / 0.5398 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4361, allocations: 11.78 kB / 0.5399 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4361, allocations: 0 / 0.5399 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4361, allocations: 0 / 0.5399 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.4363, allocations: 264.7 kB / 0.5401 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4363, allocations: 7.938 kB / 0.5401 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.4363, allocations: 0 / 0.5401 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4363, allocations: 0 / 0.5401 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4363, allocations: 2.344 kB / 0.5401 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4363, allocations: 0 / 0.5401 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4363, allocations: 0 / 0.5401 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.4365, allocations: 350.3 kB / 0.5405 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.4366, allocations: 27.09 kB / 0.5405 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4366, allocations: 3.953 kB / 0.5405 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.4367, allocations: 6 kB / 0.5405 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.4367, allocations: 3.656 kB / 0.5405 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.4367, allocations: 10.86 kB / 0.5405 GB, free: 4.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.253e-05/0.4367, allocations: 111.9 kB / 0.5406 GB, free: 4.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4367, allocations: 0 / 0.5406 GB, free: 4.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002411/0.4391, allocations: 0.7073 MB / 0.5413 GB, free: 3.879 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: 6 (sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003025/0.4422, allocations: 1.798 MB / 0.5431 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.4425, allocations: 279.1 kB / 0.5433 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4425, allocations: 0 / 0.5433 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.4426, allocations: 122.9 kB / 0.5434 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4437, allocations: 224.5 kB / 0.5437 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4459, allocations: 2.678 MB / 0.5463 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.446, allocations: 132.6 kB / 0.5464 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.956e-05/0.4461, allocations: 10.19 kB / 0.5464 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.4461, allocations: 54.64 kB / 0.5465 GB, free: 1.207 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4461, allocations: 0 / 0.5465 GB, free: 1.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06968/0.5158, allocations: 29.76 MB / 0.5755 GB, free: 5.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.08, allocations: 7.016 kB / 0.5755 GB, free: 5.398 MB / 414.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_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_setSat_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.62778135202825] Failed to read output from testmodel.py, exit status != 0: 12.198588117957115 12.215578711 11.819323187 Calling exit ...