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.00137/0.00137, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001493/0.001493, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.04885/0.04885, allocations: 7.534 MB / 267.3 MB, free: 9.586 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 0.003026/0.003026, allocations: 63.91 kB / 392.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1708, allocations: 54.92 MB / 447.7 MB, free: 4.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.0404/0.2112, allocations: 17.88 MB / 465.6 MB, free: 2.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03061/0.2418, allocations: 15.19 MB / 480.8 MB, free: 3.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.2424, allocations: 0 / 480.8 MB, free: 3.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.2448, allocations: 0.5181 MB / 481.3 MB, free: 2.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2853/0.5301, allocations: 5.554 MB / 486.8 MB, free: 44.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.5327, allocations: 1.086 MB / 487.9 MB, free: 44.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009138/0.5336, allocations: 0.795 MB / 488.7 MB, free: 44.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.5337, allocations: 24.84 kB / 488.8 MB, free: 44.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.5341, allocations: 351.8 kB / 489.1 MB, free: 44.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.5344, allocations: 277.1 kB / 489.4 MB, free: 44.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.5345, allocations: 31.08 kB / 489.4 MB, free: 44.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/0.5462, allocations: 6.603 MB / 496 MB, free: 44.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.5463, allocations: 98.11 kB / 496.1 MB, free: 44.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.5467, allocations: 229.5 kB / 496.3 MB, free: 44.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007283/0.5539, allocations: 3.49 MB / 499.8 MB, free: 44.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5539, allocations: 3.188 kB / 499.8 MB, free: 44.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5539, allocations: 0 / 499.8 MB, free: 44.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.554, allocations: 0 / 499.8 MB, free: 44.64 MB / 446.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.00215/0.5561, allocations: 1.155 MB / 0.4892 GB, free: 43.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5561, allocations: 13.53 kB / 0.4892 GB, free: 43.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.5566, allocations: 98.55 kB / 0.4893 GB, free: 43.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5567, allocations: 158.6 kB / 0.4895 GB, free: 43.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.5567, allocations: 23.56 kB / 0.4895 GB, free: 43.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.5568, allocations: 23.66 kB / 0.4895 GB, free: 43.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.558, allocations: 1.336 MB / 0.4908 GB, free: 43.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.558, allocations: 0 / 0.4908 GB, free: 43.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.558, allocations: 14.75 kB / 0.4909 GB, free: 43.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.5581, allocations: 26.58 kB / 0.4909 GB, free: 43.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5601, allocations: 2.431 MB / 0.4932 GB, free: 43.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.562, allocations: 2.069 MB / 0.4953 GB, free: 43.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5632, allocations: 1.182 MB / 0.4964 GB, free: 43.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009455/0.5641, allocations: 1.108 MB / 0.4975 GB, free: 42.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01682/0.5809, allocations: 3.922 MB / 0.5013 GB, free: 42.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.581, allocations: 38.53 kB / 0.5014 GB, free: 42.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 3.386e-06/0.581, allocations: 0 / 0.5014 GB, free: 42.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=185): time 0.004747/0.5857, allocations: 3.816 MB / 0.5051 GB, free: 40.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.5858, allocations: 60.06 kB / 0.5052 GB, free: 40.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.5858, allocations: 121.6 kB / 0.5053 GB, free: 40.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.5859, allocations: 35.64 kB / 0.5053 GB, free: 40.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.5859, allocations: 85.2 kB / 0.5054 GB, free: 40 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.5862, allocations: 0.6111 MB / 0.506 GB, free: 39.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.5864, allocations: 153.1 kB / 0.5061 GB, free: 39.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.5864, allocations: 311 kB / 0.5064 GB, free: 39.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.5875, allocations: 1.087 MB / 0.5075 GB, free: 38.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.5886, allocations: 1.101 MB / 0.5086 GB, free: 38.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.5909, allocations: 2.365 MB / 0.5109 GB, free: 37.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5909, allocations: 0 / 0.5109 GB, free: 37.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00265/0.5936, allocations: 2.474 MB / 0.5133 GB, free: 35.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5936, allocations: 5.625 kB / 0.5133 GB, free: 35.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5936, allocations: 0 / 0.5133 GB, free: 35.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.5936, allocations: 1.75 kB / 0.5133 GB, free: 35.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.5942, allocations: 122.2 kB / 0.5134 GB, free: 35.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5942, allocations: 2.562 kB / 0.5134 GB, free: 35.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.5946, allocations: 89.09 kB / 0.5135 GB, free: 35.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.5946, allocations: 24.09 kB / 0.5135 GB, free: 35.88 MB / 446.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.000191/0.5948, allocations: 166.8 kB / 0.5137 GB, free: 35.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.595, allocations: 53 kB / 0.5137 GB, free: 35.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.5984, allocations: 2.792 MB / 0.5165 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/0.5984, allocations: 30.88 kB / 0.5165 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5984, allocations: 0 / 0.5165 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.5984, allocations: 5.062 kB / 0.5165 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.5995, allocations: 1.029 MB / 0.5175 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5995, allocations: 3.562 kB / 0.5175 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/0.6002, allocations: 141.1 kB / 0.5176 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.6002, allocations: 6.906 kB / 0.5176 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.6002, allocations: 18.55 kB / 0.5177 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.6002, allocations: 2.781 kB / 0.5177 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6002, allocations: 0.5625 kB / 0.5177 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.6031, allocations: 2.457 MB / 0.5201 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.6034, allocations: 152.7 kB / 0.5202 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.6035, allocations: 15.59 kB / 0.5202 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.6038, allocations: 23.16 kB / 0.5202 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6039, allocations: 53.62 kB / 0.5203 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.604, allocations: 25.88 kB / 0.5203 GB, free: 32.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.604, allocations: 88.17 kB / 0.5204 GB, free: 32.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.604, allocations: 0 / 0.5204 GB, free: 32.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002627/0.6067, allocations: 0.8929 MB / 0.5213 GB, free: 32.13 MB / 446.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.003914/0.6106, allocations: 1.32 MB / 0.5226 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.6133, allocations: 2.255 MB / 0.5248 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6133, allocations: 1.625 kB / 0.5248 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.6145, allocations: 1.07 MB / 0.5258 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.6163, allocations: 342.2 kB / 0.5261 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.6183, allocations: 1.712 MB / 0.5278 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.6185, allocations: 288.9 kB / 0.5281 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.6191, allocations: 250.7 kB / 0.5283 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.6193, allocations: 59.78 kB / 0.5284 GB, free: 29.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.6193, allocations: 0 / 0.5284 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Templates: time 0.04755/0.6668, allocations: 39.26 MB / 0.5667 GB, free: 14.7 MB / 462.1 MB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.824492230894975] Failed to read output from testmodel.py, exit status != 0: 0.678218126995489 0.6904870580000001 0.133259484 Calling exit ...