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.0009042/0.0009042, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008099/0.0008099, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02883/0.02883, allocations: 7.523 MB / 266.7 MB, free: 6.188 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.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 1.763e-06/1.763e-06, allocations: 0 / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.349e-05, allocations: 6.219 kB / 391.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01318/0.01319, allocations: 17.86 MB / 409.7 MB, free: 3.172 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1605/0.1737, allocations: 15.18 MB / 424.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.174, allocations: 3.531 kB / 424.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1751, allocations: 0.5101 MB / 425.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.1855, allocations: 5.643 MB / 431 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.1875, allocations: 1.099 MB / 432.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006168/0.1881, allocations: 0.8373 MB / 432.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.1882, allocations: 28.31 kB / 433 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.1885, allocations: 480.9 kB / 433.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1888, allocations: 225.8 kB / 433.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.1888, allocations: 33.14 kB / 433.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009982/0.1988, allocations: 6.654 MB / 440.3 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.1988, allocations: 95.02 kB / 440.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.199, allocations: 185.8 kB / 440.6 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006154/0.2052, allocations: 3.975 MB / 444.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2052, allocations: 0 / 444.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2052, allocations: 0 / 444.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2052, allocations: 0 / 444.6 MB, free: 5.277 MB / 330.7 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.001654/0.2068, allocations: 1.151 MB / 445.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2069, allocations: 8.875 kB / 445.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.2069, allocations: 98.86 kB / 445.8 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.2072, allocations: 97.64 kB / 445.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.045e-05/0.2073, allocations: 164 kB / 446.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.2073, allocations: 25.44 kB / 446.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.2074, allocations: 25.19 kB / 446.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008175/0.2082, allocations: 1.335 MB / 447.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2082, allocations: 8.906 kB / 447.5 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.2082, allocations: 9.5 kB / 447.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.2082, allocations: 23.97 kB / 447.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.2094, allocations: 2.433 MB / 450 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.2109, allocations: 2.155 MB / 452.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.2118, allocations: 1.185 MB / 453.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.2125, allocations: 1.114 MB / 454.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008203/0.2207, allocations: 3.923 MB / 458.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2207, allocations: 35.22 kB / 458.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=185): time 2.495e-06/0.2207, allocations: 4 kB / 458.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=185): time 0.002851/0.2235, allocations: 3.819 MB / 462.2 MB, free: 4.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2236, allocations: 60.06 kB / 462.2 MB, free: 4.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2237, allocations: 125.7 kB / 462.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2237, allocations: 33.7 kB / 462.4 MB, free: 4.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.2237, allocations: 83.08 kB / 462.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.224, allocations: 0.5961 MB / 463.1 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.2241, allocations: 158.2 kB / 463.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.2242, allocations: 309.9 kB / 463.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/0.2249, allocations: 1.088 MB / 464.6 MB, free: 1.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.2257, allocations: 1.098 MB / 465.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.2272, allocations: 2.37 MB / 468.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2272, allocations: 0 / 468.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001778/0.229, allocations: 2.471 MB / 470.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.229, allocations: 4 kB / 470.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2291, allocations: 0 / 470.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2291, allocations: 4 kB / 470.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.2294, allocations: 123.7 kB / 470.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2294, allocations: 0 / 470.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2296, allocations: 91.17 kB / 470.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.2296, allocations: 27.97 kB / 470.8 MB, free: 11.68 MB / 362.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: 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.0001559/0.2298, allocations: 162.8 kB / 471 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2299, allocations: 59.62 kB / 471 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.232, allocations: 2.785 MB / 473.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.232, allocations: 27.97 kB / 473.8 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.232, allocations: 0 / 473.8 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.232, allocations: 7.922 kB / 473.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.2327, allocations: 1.128 MB / 475 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2327, allocations: 4 kB / 475 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.233, allocations: 131.8 kB / 475.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2331, allocations: 4 kB / 475.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2331, allocations: 19.98 kB / 475.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.2331, allocations: 4.875 kB / 475.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2331, allocations: 1.094 kB / 475.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2349, allocations: 2.459 MB / 477.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.2351, allocations: 151 kB / 477.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.2351, allocations: 16 kB / 477.8 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.2353, allocations: 19.98 kB / 477.8 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.2354, allocations: 52.91 kB / 477.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.2354, allocations: 29.73 kB / 477.9 MB, free: 4.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.2354, allocations: 83.28 kB / 477.9 MB, free: 4.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2354, allocations: 0 / 477.9 MB, free: 4.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002108/0.2375, allocations: 0.896 MB / 478.8 MB, free: 3.578 MB / 362.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: 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.004829/0.2424, allocations: 4.318 MB / 483.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.2441, allocations: 2.252 MB / 485.4 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2441, allocations: 0 / 485.4 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.2449, allocations: 1.065 MB / 486.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.2458, allocations: 354.7 kB / 486.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.2481, allocations: 2.091 MB / 488.9 MB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2483, allocations: 286 kB / 489.2 MB, free: 9.152 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.2486, allocations: 257.1 kB / 489.4 MB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.2488, allocations: 192.4 kB / 489.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2488, allocations: 0 / 489.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/0.3062, allocations: 45.63 MB / 0.5227 GB, free: 11.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.448, allocations: 14.84 kB / 0.5227 GB, free: 11.35 MB / 426.7 MB " [Timeout remaining time 651] (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: 10.28719987720251] Failed to read output from testmodel.py, exit status != 0: 8.550792128778994 8.559610497 8.352693658 Calling exit ...