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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 110.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04801/0.04801, allocations: 9.099 MB / 279.7 MB, free: 2.934 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.75 kB / 388.2 MB, free: 47.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 48.18 MB / 436.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01932/0.1219, allocations: 19.78 MB / 456.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.1429, allocations: 17.14 MB / 473.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.1435, allocations: 4 kB / 473.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.1455, allocations: 0.6343 MB / 473.9 MB, free: 1.855 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01767/0.1632, allocations: 5.55 MB / 479.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.1669, allocations: 1.084 MB / 480.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.1683, allocations: 0.7902 MB / 481.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1685, allocations: 49.75 kB / 481.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.1693, allocations: 330.7 kB / 481.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.17, allocations: 310.6 kB / 482 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.1701, allocations: 32 kB / 482 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.1902, allocations: 9.424 MB / 491.5 MB, free: 264 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.1905, allocations: 91.48 kB / 491.6 MB, free: 172 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.191, allocations: 274.5 kB / 491.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.2028, allocations: 4.119 MB / 495.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2028, allocations: 0 / 495.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.2028, allocations: 4 kB / 496 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.2029, allocations: 0 / 496 MB, free: 11.77 MB / 382.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.003119/0.206, allocations: 1.197 MB / 497.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.206, allocations: 8.031 kB / 497.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/0.2066, allocations: 95.12 kB / 497.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.2069, allocations: 226.4 kB / 497.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.207, allocations: 28.5 kB / 497.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.2071, allocations: 24 kB / 497.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.2088, allocations: 1.255 MB / 498.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2089, allocations: 0 / 498.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.2089, allocations: 11.94 kB / 498.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.209, allocations: 35.94 kB / 498.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.2116, allocations: 2.315 MB / 0.4894 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.2141, allocations: 2.155 MB / 0.4915 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.2158, allocations: 1.342 MB / 0.4928 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.2173, allocations: 1.278 MB / 0.4941 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/0.2396, allocations: 11.22 MB / 0.505 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.2397, allocations: 43.12 kB / 0.5051 GB, free: 4.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 3.206e-06/0.2397, allocations: 0 / 0.5051 GB, free: 4.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.004806/0.2445, allocations: 3.596 MB / 0.5086 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.2446, allocations: 63.91 kB / 0.5086 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2447, allocations: 109.8 kB / 0.5087 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.2448, allocations: 41.7 kB / 0.5088 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2448, allocations: 86.98 kB / 0.5089 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000491/0.2453, allocations: 0.5733 MB / 0.5094 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.2455, allocations: 150.2 kB / 0.5096 GB, free: 15.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2457, allocations: 317.9 kB / 0.5099 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.2468, allocations: 1.014 MB / 0.5108 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.2481, allocations: 1.047 MB / 0.5119 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.2507, allocations: 2.229 MB / 0.514 GB, free: 11.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2507, allocations: 0 / 0.514 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00315/0.2539, allocations: 2.332 MB / 0.5163 GB, free: 8.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2539, allocations: 4 kB / 0.5163 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2539, allocations: 0 / 0.5163 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.254, allocations: 8 kB / 0.5163 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.2546, allocations: 119.8 kB / 0.5165 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2546, allocations: 3.938 kB / 0.5165 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.255, allocations: 82.97 kB / 0.5165 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.2551, allocations: 23.97 kB / 0.5166 GB, free: 8.719 MB / 414.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.000254/0.2554, allocations: 180.6 kB / 0.5167 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.2556, allocations: 59.25 kB / 0.5168 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/0.259, allocations: 2.632 MB / 0.5194 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.259, allocations: 3.984 kB / 0.5194 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2591, allocations: 4 kB / 0.5194 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.2593, allocations: 219.8 kB / 0.5196 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.2594, allocations: 15.94 kB / 0.5196 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.2598, allocations: 23.98 kB / 0.5196 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.26, allocations: 48.92 kB / 0.5197 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003163/0.2632, allocations: 2.239 MB / 0.5218 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002781/0.2659, allocations: 2.314 MB / 0.5241 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1836/0.4496, allocations: 1.186 MB / 0.5253 GB, free: 98.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.297e-05/0.4497, allocations: 87.38 kB / 0.5253 GB, free: 98 MB / 414.1 MB Notification: Performance of Backend: time 4.91e-07/0.4497, allocations: 0.9844 kB / 0.5253 GB, free: 98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005477/0.4552, allocations: 2.642 MB / 0.5279 GB, free: 97.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.001179/0.4564, allocations: 1.273 MB / 0.5292 GB, free: 96.64 MB / 414.1 MB Notification: Performance of Templates: time 0.03945/0.4958, allocations: 34.36 MB / 0.5627 GB, free: 70.39 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile (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)