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.001851/0.001851, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002381/0.002381, allocations: 219.8 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 207.6 MB / 233 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05238/0.05238, allocations: 9.151 MB / 294.4 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 68.45 kB / 411.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07585/0.07811, allocations: 50.76 MB / 461.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02554/0.1036, allocations: 19.9 MB / 481.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.1238, allocations: 17.18 MB / 499 MB, free: 7.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.1243, allocations: 0 / 499 MB, free: 7.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.126, allocations: 0.646 MB / 499.6 MB, free: 6.789 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01406/0.14, allocations: 5.606 MB / 0.4934 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.1428, allocations: 1.081 MB / 0.4944 GB, free: 88 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.144, allocations: 0.7979 MB / 0.4952 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.1441, allocations: 29.95 kB / 0.4952 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.1446, allocations: 338.7 kB / 0.4956 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.145, allocations: 306.7 kB / 0.4958 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.145, allocations: 28 kB / 0.4959 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01732/0.1624, allocations: 9.926 MB / 0.5056 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1625, allocations: 87.55 kB / 0.5057 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.1629, allocations: 278.5 kB / 0.5059 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.1735, allocations: 4.122 MB / 0.5099 GB, free: 156 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1735, allocations: 4 kB / 0.5099 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1735, allocations: 0 / 0.5099 GB, free: 152 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1735, allocations: 0 / 0.5099 GB, free: 152 kB / 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.002736/0.1762, allocations: 1.164 MB / 0.5111 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1763, allocations: 15.98 kB / 0.5111 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.1764, allocations: 106.4 kB / 0.5112 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/0.1768, allocations: 91.56 kB / 0.5113 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.177, allocations: 164.5 kB / 0.5114 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.1771, allocations: 20.66 kB / 0.5115 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.1771, allocations: 28 kB / 0.5115 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.1788, allocations: 1.33 MB / 0.5128 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1788, allocations: 7.922 kB / 0.5128 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.1788, allocations: 15.94 kB / 0.5128 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.1789, allocations: 27.95 kB / 0.5128 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.1817, allocations: 2.433 MB / 0.5152 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.1845, allocations: 2.222 MB / 0.5174 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.186, allocations: 1.193 MB / 0.5185 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.1874, allocations: 1.114 MB / 0.5196 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/0.2066, allocations: 3.915 MB / 0.5235 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.868e-05/0.2066, allocations: 39.2 kB / 0.5235 GB, free: 2.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.464e-06/0.2066, allocations: 0 / 0.5235 GB, free: 2.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.1784/0.385, allocations: 3.809 MB / 0.5272 GB, free: 71.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.385, allocations: 58.92 kB / 0.5273 GB, free: 71.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.3851, allocations: 115.5 kB / 0.5274 GB, free: 71.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.3851, allocations: 37.48 kB / 0.5274 GB, free: 71.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.3852, allocations: 83.64 kB / 0.5275 GB, free: 71.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.3855, allocations: 0.6059 MB / 0.5281 GB, free: 71.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.3857, allocations: 155.4 kB / 0.5282 GB, free: 71.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.362e-05/0.3857, allocations: 312.3 kB / 0.5285 GB, free: 70.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.3868, allocations: 1.085 MB / 0.5296 GB, free: 70.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.3879, allocations: 1.101 MB / 0.5307 GB, free: 70.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.3903, allocations: 2.361 MB / 0.533 GB, free: 68.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3903, allocations: 0 / 0.533 GB, free: 68.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003182/0.3935, allocations: 2.473 MB / 0.5354 GB, free: 67.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.3935, allocations: 6.828 kB / 0.5354 GB, free: 67.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3935, allocations: 0.625 kB / 0.5354 GB, free: 67.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3935, allocations: 2.344 kB / 0.5354 GB, free: 67.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.3941, allocations: 122.2 kB / 0.5355 GB, free: 67.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3941, allocations: 6.344 kB / 0.5355 GB, free: 67.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.3945, allocations: 88.17 kB / 0.5356 GB, free: 67.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.3945, allocations: 23.09 kB / 0.5356 GB, free: 67.83 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.0001924/0.3947, allocations: 167.2 kB / 0.5358 GB, free: 67.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3949, allocations: 60.05 kB / 0.5358 GB, free: 67.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/0.3981, allocations: 2.784 MB / 0.5386 GB, free: 66.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/0.3981, allocations: 28.06 kB / 0.5386 GB, free: 66.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3981, allocations: 5.234 kB / 0.5386 GB, free: 66.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.3981, allocations: 5.641 kB / 0.5386 GB, free: 66.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3992, allocations: 1.18 MB / 0.5398 GB, free: 65.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3992, allocations: 0.875 kB / 0.5398 GB, free: 65.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.3999, allocations: 142.5 kB / 0.5399 GB, free: 65.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3999, allocations: 4.812 kB / 0.5399 GB, free: 65.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.3999, allocations: 20.23 kB / 0.5399 GB, free: 65.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3999, allocations: 3.219 kB / 0.5399 GB, free: 65.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3999, allocations: 5.562 kB / 0.5399 GB, free: 65.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.4024, allocations: 2.452 MB / 0.5423 GB, free: 64.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.4026, allocations: 145.5 kB / 0.5425 GB, free: 64.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.4026, allocations: 16.89 kB / 0.5425 GB, free: 64.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.403, allocations: 19.94 kB / 0.5425 GB, free: 64.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.4031, allocations: 59.89 kB / 0.5425 GB, free: 64.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.4031, allocations: 23.88 kB / 0.5426 GB, free: 64.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.4032, allocations: 83.19 kB / 0.5427 GB, free: 64.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4032, allocations: 0 / 0.5427 GB, free: 64.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002086/0.4053, allocations: 0.8954 MB / 0.5435 GB, free: 64.17 MB / 398.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.005246/0.4105, allocations: 4.221 MB / 0.5476 GB, free: 62.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.4126, allocations: 2.252 MB / 0.5498 GB, free: 60.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4126, allocations: 3 kB / 0.5499 GB, free: 60.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.4134, allocations: 1.061 MB / 0.5509 GB, free: 59.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.415, allocations: 352.6 kB / 0.5512 GB, free: 58.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.4176, allocations: 2.12 MB / 0.5533 GB, free: 56.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.4178, allocations: 0.8834 MB / 0.5542 GB, free: 55.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004561/0.4183, allocations: 256.1 kB / 0.5544 GB, free: 55.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.4186, allocations: 194.9 kB / 0.5546 GB, free: 55.44 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4186, allocations: 0 / 0.5546 GB, free: 55.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06924/0.4878, allocations: 44.88 MB / 0.5984 GB, free: 10.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.38, allocations: 11.95 kB / 0.5984 GB, free: 10.59 MB / 398.1 MB " [Timeout remaining time 645] (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: 17.088863197001047] Failed to read output from testmodel.py, exit status != 0: 14.512874622996605 14.533050044 14.354876185 Calling exit ...