Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.001715/0.001715, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002163/0.002163, allocations: 210.7 kB / 22.24 MB, free: 5.242 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.773 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.0489/0.0489, allocations: 9.142 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.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.12 kB / 446.6 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1078, allocations: 54.95 MB / 0.4898 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02298/0.1308, allocations: 17.88 MB / 0.5072 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2366/0.3674, allocations: 15.17 MB / 0.522 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.3679, allocations: 1.781 kB / 0.522 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.3692, allocations: 0.5222 MB / 0.5225 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.3814, allocations: 5.545 MB / 0.528 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.385, allocations: 1.087 MB / 0.529 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009447/0.3859, allocations: 0.7989 MB / 0.5298 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.386, allocations: 25 kB / 0.5298 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.3864, allocations: 347.7 kB / 0.5302 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.3867, allocations: 279.3 kB / 0.5304 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.3868, allocations: 28.72 kB / 0.5304 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.3992, allocations: 6.601 MB / 0.5369 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.3994, allocations: 91.92 kB / 0.537 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.3998, allocations: 233.4 kB / 0.5372 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.4089, allocations: 3.499 MB / 0.5406 GB, free: 4.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4089, allocations: 4 kB / 0.5406 GB, free: 4.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4089, allocations: 3.656 kB / 0.5406 GB, free: 4.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.4089, allocations: 1.25 kB / 0.5406 GB, free: 4.078 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002699/0.4116, allocations: 1.152 MB / 0.5418 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4117, allocations: 9.625 kB / 0.5418 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.857e-05/0.4117, allocations: 102.4 kB / 0.5419 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.4122, allocations: 101.2 kB / 0.542 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.4123, allocations: 158.5 kB / 0.5421 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.4123, allocations: 19.69 kB / 0.5421 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.4124, allocations: 28.19 kB / 0.5422 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.4137, allocations: 1.337 MB / 0.5435 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4137, allocations: 4.594 kB / 0.5435 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.4138, allocations: 14 kB / 0.5435 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.4138, allocations: 26.72 kB / 0.5435 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.416, allocations: 2.436 MB / 0.5459 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.4179, allocations: 2.148 MB / 0.548 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.4194, allocations: 1.183 MB / 0.5491 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4207, allocations: 1.115 MB / 0.5502 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01721/0.4379, allocations: 3.922 MB / 0.5541 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.438, allocations: 43.22 kB / 0.5541 GB, free: 13.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.645e-06/0.438, allocations: 0 / 0.5541 GB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.0046/0.4426, allocations: 3.801 MB / 0.5578 GB, free: 9.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4426, allocations: 60.06 kB / 0.5579 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4427, allocations: 114.5 kB / 0.558 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.4428, allocations: 37.7 kB / 0.558 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.4428, allocations: 87.02 kB / 0.5581 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.4433, allocations: 0.6148 MB / 0.5587 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.4435, allocations: 154.3 kB / 0.5588 GB, free: 8.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4436, allocations: 317.9 kB / 0.5591 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.4448, allocations: 1.08 MB / 0.5602 GB, free: 7.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.446, allocations: 1.102 MB / 0.5613 GB, free: 5.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.4487, allocations: 2.363 MB / 0.5636 GB, free: 3.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4487, allocations: 4 kB / 0.5636 GB, free: 3.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002987/0.4517, allocations: 2.467 MB / 0.566 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4517, allocations: 8 kB / 0.566 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4517, allocations: 0 / 0.566 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4518, allocations: 0 / 0.566 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.4523, allocations: 119.8 kB / 0.5661 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4523, allocations: 5.562 kB / 0.5661 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.4528, allocations: 91.17 kB / 0.5662 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.4528, allocations: 30.33 kB / 0.5662 GB, free: 0.8633 MB / 398.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: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.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 (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0002136/0.453, allocations: 169.9 kB / 0.5664 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.4532, allocations: 51.62 kB / 0.5664 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.4565, allocations: 2.783 MB / 0.5692 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/0.4565, allocations: 28.19 kB / 0.5692 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4566, allocations: 0 / 0.5692 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.4566, allocations: 4.594 kB / 0.5692 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4578, allocations: 1.13 MB / 0.5703 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4578, allocations: 0 / 0.5703 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.4584, allocations: 135.8 kB / 0.5704 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4584, allocations: 0 / 0.5704 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.4584, allocations: 24 kB / 0.5705 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4584, allocations: 2.938 kB / 0.5705 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4584, allocations: 3.984 kB / 0.5705 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.4614, allocations: 2.453 MB / 0.5729 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.4617, allocations: 143.6 kB / 0.573 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.4617, allocations: 15.94 kB / 0.573 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.4621, allocations: 23.98 kB / 0.573 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4622, allocations: 52.89 kB / 0.5731 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.4622, allocations: 24 kB / 0.5731 GB, free: 9.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.4623, allocations: 91.27 kB / 0.5732 GB, free: 9.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4623, allocations: 0 / 0.5732 GB, free: 9.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002953/0.4652, allocations: 0.8921 MB / 0.5741 GB, free: 8.805 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: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.007405/0.4726, allocations: 4.221 MB / 0.5782 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.4754, allocations: 2.256 MB / 0.5804 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4754, allocations: 7.938 kB / 0.5804 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.4767, allocations: 1.061 MB / 0.5814 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.4784, allocations: 353.6 kB / 0.5818 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.4826, allocations: 2.126 MB / 0.5838 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.4829, allocations: 290.6 kB / 0.5841 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005686/0.4835, allocations: 248 kB / 0.5844 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.4838, allocations: 195.3 kB / 0.5845 GB, free: 14.17 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4838, allocations: 0 / 0.5845 GB, free: 14.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08562/0.5694, allocations: 45.67 MB / 0.6291 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.34, allocations: 2.5 kB / 0.6291 GB, free: 0.8242 MB / 462.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.977416642941535] Failed to read output from testmodel.py, exit status != 0: 13.474056828767061 13.497161996 13.083844056 Calling exit ...