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.0008324/0.0008324, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008166/0.0008166, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.9151/0.9151, allocations: 177.1 MB / 202.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.03001/0.03001, allocations: 7.522 MB / 266.7 MB, free: 6.055 MB / 250.7 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 3.848e-06/3.848e-06, allocations: 0 / 391.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.813e-05, allocations: 2.281 kB / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01381/0.01384, allocations: 17.18 MB / 408.9 MB, free: 5.125 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.01862, allocations: 6.593 MB / 415.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.01873, allocations: 0 / 415.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007323/0.01946, allocations: 390.8 kB / 415.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.0199, allocations: 274.3 kB / 416.1 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008182/0.02808, allocations: 4.45 MB / 420.6 MB, free: 9.406 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.02848, allocations: 393.6 kB / 421 MB, free: 9.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.02854, allocations: 8.594 kB / 421 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.0288, allocations: 223.2 kB / 421.2 MB, free: 8.789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.02887, allocations: 67.78 kB / 421.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.02889, allocations: 0 / 421.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006284/0.03517, allocations: 4.802 MB / 426.1 MB, free: 3.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.0352, allocations: 15.88 kB / 426.1 MB, free: 3.895 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.03536, allocations: 67.84 kB / 426.2 MB, free: 3.828 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.04082, allocations: 3.059 MB / 429.2 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.04082, allocations: 3.938 kB / 429.2 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.04083, allocations: 0 / 429.2 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.04083, allocations: 0 / 429.2 MB, free: 0.7578 MB / 394.7 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.001426/0.04226, allocations: 0.6858 MB / 429.9 MB, free: 40 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.04231, allocations: 12.62 kB / 429.9 MB, free: 28 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.04236, allocations: 50.55 kB / 430 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.0424, allocations: 23.86 kB / 430 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.0425, allocations: 125 kB / 430.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.04251, allocations: 4 kB / 430.1 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.04252, allocations: 3.938 kB / 430.1 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.0427, allocations: 185.5 kB / 430.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.04271, allocations: 3.938 kB / 430.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.04272, allocations: 4 kB / 430.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.04273, allocations: 7.984 kB / 430.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.04282, allocations: 144.6 kB / 430.5 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.04305, allocations: 283.2 kB / 430.7 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.04349, allocations: 167.1 kB / 430.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.04358, allocations: 158.1 kB / 431.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01905/0.06263, allocations: 9.234 MB / 440.3 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.06266, allocations: 30.56 kB / 440.3 MB, free: 5.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=64): time 3.266e-06/0.06267, allocations: 7.938 kB / 440.3 MB, free: 5.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.0005417/0.06321, allocations: 0.5835 MB / 440.9 MB, free: 4.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.06324, allocations: 51.41 kB / 441 MB, free: 4.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.06331, allocations: 97.86 kB / 441.1 MB, free: 4.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.06332, allocations: 25.7 kB / 441.1 MB, free: 4.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.06335, allocations: 81.45 kB / 441.2 MB, free: 4.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.06345, allocations: 206.1 kB / 441.4 MB, free: 4.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.06349, allocations: 45.69 kB / 441.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.06358, allocations: 334.8 kB / 441.7 MB, free: 4.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.06366, allocations: 140.6 kB / 441.9 MB, free: 3.906 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.06375, allocations: 151.2 kB / 442 MB, free: 3.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.06396, allocations: 366.2 kB / 442.4 MB, free: 3.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.06396, allocations: 0 / 442.4 MB, free: 3.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002448/0.06421, allocations: 396.1 kB / 442.8 MB, free: 3.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.06422, allocations: 7.984 kB / 442.8 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.06423, allocations: 0 / 442.8 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.06424, allocations: 0 / 442.8 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.06424, allocations: 4 kB / 442.8 MB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.06425, allocations: 0 / 442.8 MB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.0643, allocations: 27.67 kB / 442.8 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.06431, allocations: 0 / 442.8 MB, free: 2.965 MB / 410.7 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 8.486e-05/0.06439, allocations: 133.8 kB / 442.9 MB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.0644, allocations: 15.86 kB / 442.9 MB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.0649, allocations: 0.7397 MB / 443.7 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.06491, allocations: 8 kB / 443.7 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.06491, allocations: 0 / 443.7 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.06492, allocations: 0 / 443.7 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.06507, allocations: 264.8 kB / 443.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.06507, allocations: 0 / 443.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.06507, allocations: 3.938 kB / 444 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.06508, allocations: 4 kB / 444 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.06508, allocations: 4 kB / 444 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.06508, allocations: 4 kB / 444 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.06509, allocations: 3.984 kB / 444 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.0653, allocations: 338.8 kB / 444.3 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.06533, allocations: 27.72 kB / 444.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.06535, allocations: 7.953 kB / 444.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.763e-05/0.06538, allocations: 0 / 444.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.06539, allocations: 3.984 kB / 444.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.0654, allocations: 4 kB / 444.3 MB, free: 1.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.06546, allocations: 111.2 kB / 444.5 MB, free: 1.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06546, allocations: 0 / 444.5 MB, free: 1.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001801/0.06726, allocations: 0.705 MB / 445.2 MB, free: 480 kB / 410.7 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.1653/0.2326, allocations: 1.886 MB / 447 MB, free: 92.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.2329, allocations: 276.5 kB / 447.3 MB, free: 92.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2329, allocations: 3.219 kB / 447.3 MB, free: 92.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.233, allocations: 117.8 kB / 447.4 MB, free: 92.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.2336, allocations: 232.3 kB / 447.7 MB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.2353, allocations: 2.69 MB / 450.3 MB, free: 91.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.2353, allocations: 125.6 kB / 450.5 MB, free: 90.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.2354, allocations: 19.27 kB / 450.5 MB, free: 90.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.2354, allocations: 49.36 kB / 450.5 MB, free: 90.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2354, allocations: 0 / 450.5 MB, free: 90.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/0.2814, allocations: 29.92 MB / 480.5 MB, free: 84.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.468, allocations: 5.094 kB / 480.5 MB, free: 84.07 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.322793920524418] Failed to read output from testmodel.py, exit status != 0: 7.561549387872219 7.574139899 7.530099945 Calling exit ...