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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.007581/0.007581, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.676/1.676, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04451/0.04451, allocations: 9.072 MB / 279.8 MB, free: 12.14 MB / 238.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.0005132/0.0005132, allocations: 16 kB / 339.8 MB, free: 25.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 49.19 MB / 389 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02186/0.1435, allocations: 19.46 MB / 408.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.1616, allocations: 17.19 MB / 425.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.1619, allocations: 0 / 425.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.1635, allocations: 0.506 MB / 426.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2606/0.4242, allocations: 4.506 MB / 430.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.4278, allocations: 0.8555 MB / 431.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.4292, allocations: 0.7726 MB / 432.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4293, allocations: 40.38 kB / 432.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.4298, allocations: 327.9 kB / 432.7 MB, free: 14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.4302, allocations: 307.5 kB / 433 MB, free: 14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.4303, allocations: 28.91 kB / 433 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01873/0.449, allocations: 8.793 MB / 441.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4492, allocations: 97.59 kB / 441.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.4497, allocations: 299.7 kB / 442.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008652/0.4584, allocations: 3.956 MB / 446.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4584, allocations: 0 / 446.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4584, allocations: 0 / 446.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.4584, allocations: 0 / 446.1 MB, free: 12.72 MB / 318.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.003372/0.4618, allocations: 1.167 MB / 447.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.4619, allocations: 9.25 kB / 447.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.462, allocations: 104.3 kB / 447.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.4624, allocations: 87.8 kB / 447.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.4626, allocations: 227.4 kB / 447.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.4626, allocations: 23.41 kB / 447.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.4627, allocations: 28.19 kB / 447.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.4641, allocations: 1.263 MB / 449 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4641, allocations: 3.938 kB / 449 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.4642, allocations: 14.06 kB / 449.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.4642, allocations: 26.03 kB / 449.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.4663, allocations: 2.325 MB / 451.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.4684, allocations: 2.166 MB / 453.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4697, allocations: 1.356 MB / 454.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.4708, allocations: 1.284 MB / 456.2 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/0.4885, allocations: 10.9 MB / 467.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.4885, allocations: 43.12 kB / 467.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=185): time 2.475e-06/0.4885, allocations: 0 / 467.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=185): time 0.004349/0.4929, allocations: 3.619 MB / 470.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.493, allocations: 61.48 kB / 470.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4931, allocations: 117.6 kB / 470.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.4931, allocations: 41.7 kB / 471 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.4932, allocations: 90.72 kB / 471.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.4937, allocations: 0.5792 MB / 471.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4938, allocations: 101.6 kB / 471.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4939, allocations: 314 kB / 472.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.4951, allocations: 1.025 MB / 473.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.4963, allocations: 1.039 MB / 474.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.4988, allocations: 2.245 MB / 476.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4989, allocations: 0 / 476.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00275/0.5016, allocations: 2.344 MB / 478.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5016, allocations: 4 kB / 478.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5016, allocations: 0 / 478.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5017, allocations: 4 kB / 478.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.5023, allocations: 123.8 kB / 478.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.5023, allocations: 4 kB / 478.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.5027, allocations: 90.81 kB / 478.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.5028, allocations: 23.97 kB / 479 MB, free: 2.324 MB / 334.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.0002181/0.503, allocations: 164.5 kB / 479.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.5031, allocations: 47.34 kB / 479.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.5063, allocations: 2.661 MB / 481.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/0.5064, allocations: 27.88 kB / 481.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5064, allocations: 0 / 481.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5064, allocations: 11.92 kB / 481.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5076, allocations: 1.155 MB / 483 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5076, allocations: 0 / 483 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.5082, allocations: 139.8 kB / 483.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5083, allocations: 4 kB / 483.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.5083, allocations: 24.67 kB / 483.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5083, allocations: 8 kB / 483.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5083, allocations: 0 / 483.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.511, allocations: 2.348 MB / 485.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.5112, allocations: 223.8 kB / 485.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.5113, allocations: 12 kB / 485.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.5116, allocations: 29.05 kB / 485.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.5117, allocations: 52.88 kB / 485.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.5118, allocations: 23.98 kB / 485.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.5118, allocations: 87.27 kB / 486 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5118, allocations: 0 / 486 MB, free: 11.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002614/0.5144, allocations: 0.8746 MB / 486.8 MB, free: 10.38 MB / 350.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.006255/0.5207, allocations: 4.104 MB / 490.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002633/0.5233, allocations: 2.373 MB / 493.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5234, allocations: 0 / 493.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.5247, allocations: 1.264 MB / 494.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.5265, allocations: 329.4 kB / 494.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.5298, allocations: 2.374 MB / 497.3 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.5304, allocations: 0.8899 MB / 498.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005953/0.531, allocations: 254.6 kB / 498.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.5313, allocations: 195.3 kB / 498.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5313, allocations: 0 / 498.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08367/0.615, allocations: 41.82 MB / 0.5277 GB, free: 4.992 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.6153, allocations: 225 kB / 0.528 GB, free: 4.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/4.579, allocations: 0 / 0.528 GB, free: 4.73 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1)