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.0007966/0.0007966, 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.0008484/0.0008484, allocations: 170.3 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.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.03042/0.03042, allocations: 7.518 MB / 266.7 MB, free: 6.211 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 2.826e-06/2.826e-06, allocations: 0 / 391.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.571e-05, allocations: 2.281 kB / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01407/0.01409, allocations: 17.88 MB / 409.7 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1393/0.1533, allocations: 15.18 MB / 424.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1536, allocations: 2.469 kB / 424.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.1547, allocations: 0.515 MB / 425.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008804/0.1635, allocations: 5.639 MB / 431 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.1653, allocations: 1.106 MB / 432.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.1658, allocations: 0.8258 MB / 432.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.1659, allocations: 30.86 kB / 433 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.1662, allocations: 479 kB / 433.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1664, allocations: 234.5 kB / 433.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1665, allocations: 29.44 kB / 433.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.1727, allocations: 6.647 MB / 440.3 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.1727, allocations: 96.3 kB / 440.4 MB, free: 7.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1728, allocations: 186.9 kB / 440.6 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003103/0.176, allocations: 3.982 MB / 444.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.176, allocations: 0 / 444.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.176, allocations: 0 / 444.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.176, allocations: 4 kB / 444.6 MB, free: 5.262 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.00114/0.1771, allocations: 1.137 MB / 445.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1771, allocations: 12.91 kB / 445.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.1772, allocations: 102.6 kB / 445.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.1774, allocations: 92.69 kB / 445.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.1775, allocations: 166.8 kB / 446.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.1775, allocations: 23.91 kB / 446.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1776, allocations: 25.94 kB / 446.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.1783, allocations: 1.335 MB / 447.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1783, allocations: 7.938 kB / 447.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1784, allocations: 14.67 kB / 447.5 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1784, allocations: 23.95 kB / 447.5 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1795, allocations: 2.429 MB / 449.9 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.181, allocations: 2.155 MB / 452.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.1818, allocations: 1.178 MB / 453.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.1825, allocations: 1.114 MB / 454.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008247/0.1908, allocations: 3.931 MB / 458.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1908, allocations: 43.22 kB / 458.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=185): time 1.833e-06/0.1908, allocations: 0 / 458.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=185): time 0.002637/0.1935, allocations: 3.819 MB / 462.2 MB, free: 4.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1935, allocations: 56.06 kB / 462.2 MB, free: 4.281 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.1935, allocations: 121.7 kB / 462.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.1936, allocations: 37.69 kB / 462.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.1936, allocations: 87.08 kB / 462.5 MB, free: 4.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.1939, allocations: 0.5883 MB / 463.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.194, allocations: 150.3 kB / 463.2 MB, free: 3.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.1941, allocations: 318 kB / 463.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.1948, allocations: 1.096 MB / 464.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000743/0.1955, allocations: 1.098 MB / 465.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.1971, allocations: 2.363 MB / 468.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1971, allocations: 0 / 468.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001746/0.1989, allocations: 2.471 MB / 470.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1989, allocations: 4 kB / 470.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1989, allocations: 0 / 470.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1989, allocations: 7.984 kB / 470.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.1992, allocations: 119.7 kB / 470.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1992, allocations: 0 / 470.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1994, allocations: 91.17 kB / 470.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1994, allocations: 23.98 kB / 470.8 MB, free: 11.67 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.0001493/0.1995, allocations: 170.8 kB / 471 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.1996, allocations: 51.62 kB / 471 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.2016, allocations: 2.794 MB / 473.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.2016, allocations: 31.94 kB / 473.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2016, allocations: 0 / 473.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2017, allocations: 7.922 kB / 473.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.2024, allocations: 1.126 MB / 475 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2024, allocations: 0 / 475 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.2027, allocations: 131.8 kB / 475.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2027, allocations: 4 kB / 475.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.2027, allocations: 19.98 kB / 475.1 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2027, allocations: 5.172 kB / 475.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2027, allocations: 0 / 475.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.2045, allocations: 2.463 MB / 477.6 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2046, allocations: 151 kB / 477.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.2046, allocations: 12 kB / 477.8 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2048, allocations: 23.98 kB / 477.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.2049, allocations: 48.89 kB / 477.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.2049, allocations: 31.92 kB / 477.9 MB, free: 4.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.991e-05/0.2049, allocations: 83.28 kB / 477.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2049, allocations: 4 kB / 477.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001288/0.2062, allocations: 0.896 MB / 478.8 MB, free: 3.551 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.004041/0.2103, allocations: 4.31 MB / 483.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.212, allocations: 2.248 MB / 485.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.212, allocations: 0 / 485.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.2127, allocations: 1.065 MB / 486.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.2136, allocations: 360.1 kB / 486.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.2156, allocations: 2.091 MB / 488.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2158, allocations: 290 kB / 489.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.2161, allocations: 252.7 kB / 489.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2163, allocations: 188.4 kB / 489.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2163, allocations: 0 / 489.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.2705, allocations: 45.85 MB / 0.5229 GB, free: 11.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.17, allocations: 3.984 kB / 0.5229 GB, free: 11.14 MB / 426.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 9.818247065879405] Failed to read output from testmodel.py, exit status != 0: 8.275291671976447 8.284539861 8.106729453 Calling exit ...