Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.001318/0.001318, 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.001516/0.001516, allocations: 209.3 kB / 22.24 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.77 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.04998/0.04998, allocations: 9.143 MB / 321.6 MB, free: 10.2 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.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 446.5 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09699, allocations: 54.94 MB / 0.4897 GB, free: 9.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02134/0.1183, allocations: 17.44 MB / 0.5067 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2013/0.3197, allocations: 8.356 MB / 0.5149 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.3199, allocations: 3.688 kB / 0.5149 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.3208, allocations: 389.8 kB / 0.5153 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.3213, allocations: 267.2 kB / 0.5155 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.3329, allocations: 4.745 MB / 0.5202 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.3334, allocations: 401.1 kB / 0.5205 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.3334, allocations: 15.52 kB / 0.5206 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.3337, allocations: 187.3 kB / 0.5207 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3339, allocations: 99.25 kB / 0.5208 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3339, allocations: 2.781 kB / 0.5208 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.3439, allocations: 5.024 MB / 0.5257 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.344, allocations: 23.23 kB / 0.5258 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.3442, allocations: 97.86 kB / 0.5259 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006388/0.3506, allocations: 2.732 MB / 0.5285 GB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3506, allocations: 1.375 kB / 0.5285 GB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3506, allocations: 0 / 0.5285 GB, free: 6.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3506, allocations: 0 / 0.5285 GB, free: 6.359 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001945/0.3526, allocations: 0.7617 MB / 0.5293 GB, free: 5.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3526, allocations: 8.75 kB / 0.5293 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.3527, allocations: 55.81 kB / 0.5293 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.353, allocations: 62.42 kB / 0.5294 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.3531, allocations: 137.7 kB / 0.5295 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3531, allocations: 2.688 kB / 0.5295 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3531, allocations: 8.031 kB / 0.5295 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.3535, allocations: 242.7 kB / 0.5298 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3535, allocations: 4 kB / 0.5298 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3535, allocations: 3.281 kB / 0.5298 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3535, allocations: 8.375 kB / 0.5298 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.3539, allocations: 232.1 kB / 0.53 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.3542, allocations: 326.9 kB / 0.5303 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.3551, allocations: 312.2 kB / 0.5306 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.3554, allocations: 211.3 kB / 0.5308 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03663/0.392, allocations: 9.226 MB / 0.5398 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.392, allocations: 32.69 kB / 0.5398 GB, free: 2.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/0.392, allocations: 0 / 0.5398 GB, free: 2.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.0009974/0.393, allocations: 0.7199 MB / 0.5405 GB, free: 2.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.393, allocations: 53.94 kB / 0.5406 GB, free: 2.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.3931, allocations: 118.3 kB / 0.5407 GB, free: 2.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3931, allocations: 25.7 kB / 0.5407 GB, free: 2.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.3931, allocations: 91.89 kB / 0.5408 GB, free: 2.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3932, allocations: 244.3 kB / 0.5411 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.3933, allocations: 61.33 kB / 0.5411 GB, free: 2.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.3934, allocations: 334.7 kB / 0.5414 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3936, allocations: 185.1 kB / 0.5416 GB, free: 1.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3938, allocations: 187.8 kB / 0.5418 GB, free: 1.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.3943, allocations: 456 kB / 0.5422 GB, free: 1.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3943, allocations: 0 / 0.5422 GB, free: 1.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000606/0.3949, allocations: 0.4933 MB / 0.5427 GB, free: 1.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3949, allocations: 5.438 kB / 0.5427 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3949, allocations: 0 / 0.5427 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3949, allocations: 1.969 kB / 0.5427 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.395, allocations: 19.48 kB / 0.5427 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.3951, allocations: 5.578 kB / 0.5427 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3952, allocations: 44.94 kB / 0.5428 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3952, allocations: 6.484 kB / 0.5428 GB, free: 1.727 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_T.vap.phase,sat_T.liq.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): 9 * 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 8.967e-05/0.3953, allocations: 142.7 kB / 0.5429 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.3954, allocations: 21.19 kB / 0.5429 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009148/0.3963, allocations: 0.8248 MB / 0.5438 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.3963, allocations: 9.062 kB / 0.5438 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3963, allocations: 4 kB / 0.5438 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3963, allocations: 4.5 kB / 0.5438 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.3966, allocations: 407.6 kB / 0.5442 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3966, allocations: 0 / 0.5442 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3967, allocations: 27.25 kB / 0.5442 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3967, allocations: 1.719 kB / 0.5442 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3967, allocations: 11.73 kB / 0.5442 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3968, allocations: 6.312 kB / 0.5442 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3968, allocations: 0 / 0.5442 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.3973, allocations: 0.5469 MB / 0.5447 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.3974, allocations: 36.89 kB / 0.5448 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3974, allocations: 4.438 kB / 0.5448 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3976, allocations: 9.484 kB / 0.5448 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.3976, allocations: 12.05 kB / 0.5448 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3976, allocations: 10.36 kB / 0.5448 GB, free: 0.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.3976, allocations: 88.09 kB / 0.5449 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3976, allocations: 0 / 0.5449 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002293/0.3999, allocations: 0.7265 MB / 0.5456 GB, free: 0.7227 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: 8 (sat_T.liq.phase,sat_T.vap.phase,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 (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.003279/0.4032, allocations: 2.025 MB / 0.5476 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006808/0.4039, allocations: 418.7 kB / 0.548 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4039, allocations: 0 / 0.548 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.4042, allocations: 212.5 kB / 0.5482 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4053, allocations: 238.6 kB / 0.5484 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.4093, allocations: 3.108 MB / 0.5514 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.4094, allocations: 147.1 kB / 0.5516 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.4098, allocations: 183.6 kB / 0.5518 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4099, allocations: 63.42 kB / 0.5518 GB, free: 12.01 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4099, allocations: 7.938 kB / 0.5518 GB, free: 12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06823/0.4781, allocations: 31.09 MB / 0.5822 GB, free: 13.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.39, allocations: 9.984 kB / 0.5822 GB, free: 13.23 MB / 430.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.004 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.204448450822383] Failed to read output from testmodel.py, exit status != 0: 12.510992444120347 12.537842212 12.182352394 Calling exit ...