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.0008562/0.0008562, 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.001804/0.001804, allocations: 169.9 kB / 22.46 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.8711/0.8711, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.02921/0.02921, allocations: 7.521 MB / 266.7 MB, free: 6.18 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.603e-06/1.603e-06, allocations: 0 / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.694e-05, allocations: 2.281 kB / 391.8 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01503/0.01504, allocations: 17.87 MB / 409.7 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1802/0.1953, allocations: 15.18 MB / 424.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.1956, allocations: 2.438 kB / 424.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1967, allocations: 0.5184 MB / 425.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.2077, allocations: 5.63 MB / 431 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.2103, allocations: 1.114 MB / 432.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008945/0.2112, allocations: 0.8247 MB / 432.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.2113, allocations: 32.28 kB / 433 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.2118, allocations: 476.7 kB / 433.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.2121, allocations: 235.9 kB / 433.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.2121, allocations: 27.78 kB / 433.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009838/0.222, allocations: 6.649 MB / 440.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.222, allocations: 96.73 kB / 440.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.2222, allocations: 186.5 kB / 440.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.2286, allocations: 3.98 MB / 444.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2286, allocations: 2.25 kB / 444.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2286, allocations: 0 / 444.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2286, allocations: 0 / 444.6 MB, free: 5.117 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.001626/0.2302, allocations: 1.147 MB / 445.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2302, allocations: 10.31 kB / 445.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.232e-05/0.2303, allocations: 99.89 kB / 445.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.2306, allocations: 97.45 kB / 445.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.2307, allocations: 166.9 kB / 446.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.2307, allocations: 22.31 kB / 446.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.2307, allocations: 24.97 kB / 446.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.2316, allocations: 1.337 MB / 447.5 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2316, allocations: 7.594 kB / 447.5 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.2316, allocations: 17.59 kB / 447.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.2316, allocations: 23.97 kB / 447.5 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.2328, allocations: 2.429 MB / 450 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.2345, allocations: 2.155 MB / 452.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.2355, allocations: 1.182 MB / 453.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.2365, allocations: 1.118 MB / 454.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008835/0.2453, allocations: 3.911 MB / 458.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2453, allocations: 43.22 kB / 458.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=185): time 2.925e-06/0.2453, allocations: 0 / 458.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=185): time 0.003163/0.2485, allocations: 3.823 MB / 462.2 MB, free: 4.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2485, allocations: 60.06 kB / 462.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.2486, allocations: 121.7 kB / 462.4 MB, free: 4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2486, allocations: 37.7 kB / 462.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.2487, allocations: 83.08 kB / 462.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.2489, allocations: 0.5961 MB / 463.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2491, allocations: 154.3 kB / 463.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.2492, allocations: 310 kB / 463.5 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.2499, allocations: 1.092 MB / 464.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.2506, allocations: 1.102 MB / 465.7 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.2525, allocations: 2.362 MB / 468.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2525, allocations: 0 / 468.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001766/0.2542, allocations: 2.483 MB / 470.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2543, allocations: 6.5 kB / 470.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2543, allocations: 0 / 470.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2543, allocations: 4 kB / 470.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.2546, allocations: 107.9 kB / 470.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2546, allocations: 4 kB / 470.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.2548, allocations: 95.11 kB / 470.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.2548, allocations: 27.97 kB / 470.8 MB, free: 11.51 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.0001551/0.255, allocations: 166.8 kB / 471 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.2551, allocations: 51.62 kB / 471 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.2572, allocations: 2.793 MB / 473.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.2572, allocations: 27.89 kB / 473.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2572, allocations: 0 / 473.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2572, allocations: 7.922 kB / 473.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007599/0.258, allocations: 1.124 MB / 475 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.258, allocations: 0 / 475 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.2583, allocations: 135.8 kB / 475.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2583, allocations: 0 / 475.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2583, allocations: 23.98 kB / 475.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2583, allocations: 2.047 kB / 475.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2583, allocations: 5.078 kB / 475.1 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.2603, allocations: 2.459 MB / 477.6 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2605, allocations: 143 kB / 477.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.2605, allocations: 16 kB / 477.8 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2607, allocations: 23.98 kB / 477.8 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.2607, allocations: 48.91 kB / 477.8 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.2608, allocations: 28.55 kB / 477.9 MB, free: 4.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.2608, allocations: 83.28 kB / 477.9 MB, free: 4.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2608, allocations: 0 / 477.9 MB, free: 4.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001949/0.2627, allocations: 0.8999 MB / 478.8 MB, free: 3.414 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.004735/0.2675, allocations: 4.322 MB / 483.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.2692, allocations: 2.248 MB / 485.4 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2692, allocations: 0 / 485.4 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000763/0.2699, allocations: 1.069 MB / 486.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.271, allocations: 355.4 kB / 486.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.2741, allocations: 2.087 MB / 488.9 MB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.2743, allocations: 290 kB / 489.2 MB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004167/0.2747, allocations: 245.8 kB / 489.4 MB, free: 8.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.275, allocations: 196.4 kB / 489.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.275, allocations: 0 / 489.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/0.3365, allocations: 45.85 MB / 0.5229 GB, free: 10.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.657, allocations: 3.984 kB / 0.5229 GB, free: 10.98 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.440167455002666] Failed to read output from testmodel.py, exit status != 0: 8.76179844327271 8.776259159 8.544969021 Calling exit ...