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.001548/0.001548, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.001686/0.001686, allocations: 168.8 kB / 22.46 MB, free: 5.363 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.381/1.381, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.04791/0.04791, allocations: 7.52 MB / 266.7 MB, free: 9.648 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: translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.313e-05, allocations: 2.281 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02057/0.02059, allocations: 17.87 MB / 410.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01774/0.03833, allocations: 15.18 MB / 425.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.03867, allocations: 7.938 kB / 425.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.03999, allocations: 0.5141 MB / 425.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.05245, allocations: 5.629 MB / 431.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.05498, allocations: 1.115 MB / 432.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.05598, allocations: 0.8287 MB / 433.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.05606, allocations: 29.91 kB / 433.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.05667, allocations: 478.8 kB / 433.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.05703, allocations: 235.3 kB / 434.2 MB, free: 316 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.05708, allocations: 28 kB / 434.2 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.06952, allocations: 6.649 MB / 440.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.06963, allocations: 91.52 kB / 440.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.07001, allocations: 187.5 kB / 441.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009797/0.07981, allocations: 3.974 MB / 445.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.07981, allocations: 0 / 445.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.07981, allocations: 0 / 445.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.07982, allocations: 0 / 445.1 MB, free: 5.359 MB / 366.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.002418/0.08224, allocations: 1.149 MB / 446.2 MB, free: 4.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.08228, allocations: 8.625 kB / 446.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/0.08273, allocations: 103.5 kB / 446.3 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.0829, allocations: 168.4 kB / 446.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.08293, allocations: 24.66 kB / 446.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.08299, allocations: 24 kB / 446.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.08464, allocations: 1.326 MB / 447.9 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.08465, allocations: 0 / 447.9 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.08469, allocations: 12 kB / 447.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.08472, allocations: 31.95 kB / 447.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.0875, allocations: 2.436 MB / 450.4 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.151/0.2385, allocations: 2.06 MB / 452.4 MB, free: 67.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2398, allocations: 1.18 MB / 453.6 MB, free: 67.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.2409, allocations: 1.113 MB / 454.7 MB, free: 66.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.2587, allocations: 3.925 MB / 458.6 MB, free: 66.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2587, allocations: 38.72 kB / 458.7 MB, free: 66.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=185): time 2.976e-06/0.2587, allocations: 3.875 kB / 458.7 MB, free: 66.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=185): time 0.003827/0.2625, allocations: 3.825 MB / 462.5 MB, free: 64.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.2626, allocations: 62.56 kB / 462.6 MB, free: 64.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.2626, allocations: 107.4 kB / 462.7 MB, free: 64.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.2627, allocations: 37.67 kB / 462.7 MB, free: 64.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.2627, allocations: 87.08 kB / 462.8 MB, free: 64.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.2629, allocations: 0.5955 MB / 463.4 MB, free: 63.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2631, allocations: 160.5 kB / 463.5 MB, free: 63.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.641e-05/0.2631, allocations: 307.6 kB / 463.8 MB, free: 63.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/0.2639, allocations: 1.086 MB / 464.9 MB, free: 62.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.2648, allocations: 1.096 MB / 466 MB, free: 62.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.2665, allocations: 2.374 MB / 468.4 MB, free: 59.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2665, allocations: 0 / 468.4 MB, free: 59.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002021/0.2685, allocations: 2.474 MB / 470.9 MB, free: 57.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2685, allocations: 7.594 kB / 470.9 MB, free: 57.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2685, allocations: 0 / 470.9 MB, free: 57.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2685, allocations: 4 kB / 470.9 MB, free: 57.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.2691, allocations: 123.7 kB / 471 MB, free: 57.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2691, allocations: 2.312 kB / 471 MB, free: 57.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.2694, allocations: 86.53 kB / 471.1 MB, free: 57.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.2695, allocations: 19.98 kB / 471.1 MB, free: 57.25 MB / 366.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.0001652/0.2696, allocations: 168.4 kB / 471.3 MB, free: 57.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2698, allocations: 58.12 kB / 471.3 MB, free: 57.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.2721, allocations: 2.78 MB / 474.1 MB, free: 54.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.2721, allocations: 39.72 kB / 474.1 MB, free: 54.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2721, allocations: 3.406 kB / 474.1 MB, free: 54.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2721, allocations: 3.984 kB / 474.2 MB, free: 54.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.2728, allocations: 1.036 MB / 475.2 MB, free: 53.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2728, allocations: 0 / 475.2 MB, free: 53.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.2734, allocations: 135.8 kB / 475.3 MB, free: 53.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2734, allocations: 4 kB / 475.3 MB, free: 53.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.2734, allocations: 15.98 kB / 475.3 MB, free: 53.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2734, allocations: 4 kB / 475.3 MB, free: 53.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2734, allocations: 0 / 475.3 MB, free: 53.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2753, allocations: 2.463 MB / 477.8 MB, free: 50.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.2755, allocations: 139.1 kB / 477.9 MB, free: 50.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.2755, allocations: 14.91 kB / 478 MB, free: 50.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.2759, allocations: 23.98 kB / 478 MB, free: 50.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.276, allocations: 56.83 kB / 478 MB, free: 50.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.276, allocations: 23.98 kB / 478.1 MB, free: 50.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.2761, allocations: 86.33 kB / 478.1 MB, free: 50.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2761, allocations: 3.875 kB / 478.1 MB, free: 50.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001869/0.2779, allocations: 0.8992 MB / 479 MB, free: 49.34 MB / 366.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.002734/0.2807, allocations: 1.412 MB / 480.5 MB, free: 48.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.2825, allocations: 2.26 MB / 482.7 MB, free: 45.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2825, allocations: 0 / 482.7 MB, free: 45.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.2833, allocations: 1.064 MB / 483.8 MB, free: 44.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.2849, allocations: 355.2 kB / 484.1 MB, free: 44.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2865, allocations: 1.66 MB / 485.8 MB, free: 42.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2866, allocations: 290 kB / 486.1 MB, free: 42.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.287, allocations: 258.7 kB / 486.3 MB, free: 42.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2872, allocations: 56.47 kB / 486.4 MB, free: 42.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2872, allocations: 0 / 486.4 MB, free: 42.21 MB / 366.1 MB Notification: Performance of Templates: time 0.04106/0.3282, allocations: 39.3 MB / 0.5134 GB, free: 3.141 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.999463208019733] Failed to read output from testmodel.py, exit status != 0: 0.33585599809885025 0.349329057 0.266432643 Calling exit ...