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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001277/0.001277, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.299/1.299, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04245/0.04245, allocations: 9.082 MB / 278.4 MB, free: 12.64 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.001293/0.001293, allocations: 71.89 kB / 337.4 MB, free: 25.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07517/0.07647, allocations: 48.16 MB / 385.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01961/0.09612, allocations: 20.01 MB / 405.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1107, allocations: 17.37 MB / 423 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.1111, allocations: 4 kB / 423 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1122, allocations: 0.5022 MB / 423.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1483/0.2606, allocations: 4.497 MB / 428 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.2627, allocations: 0.8534 MB / 428.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.2635, allocations: 0.7764 MB / 429.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.2636, allocations: 44.52 kB / 429.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.264, allocations: 326.1 kB / 430 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.2643, allocations: 302.7 kB / 430.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.2644, allocations: 31.03 kB / 430.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.2792, allocations: 8.793 MB / 439.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.2795, allocations: 91.92 kB / 439.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008765/0.2804, allocations: 274.3 kB / 439.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.016/0.2964, allocations: 3.984 MB / 443.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.2965, allocations: 0 / 443.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2965, allocations: 0 / 443.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.013e-05/0.2965, allocations: 0 / 443.4 MB, free: 14.35 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.003106/0.2996, allocations: 1.201 MB / 444.6 MB, free: 13.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.2997, allocations: 9.094 kB / 444.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.2998, allocations: 100.1 kB / 444.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005095/0.3003, allocations: 91.52 kB / 444.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3005, allocations: 226 kB / 445.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.3006, allocations: 22.5 kB / 445.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.3006, allocations: 25.75 kB / 445.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3021, allocations: 1.261 MB / 446.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3021, allocations: 5.406 kB / 446.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.3021, allocations: 7.531 kB / 446.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.3022, allocations: 30.2 kB / 446.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.3042, allocations: 2.309 MB / 448.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3061, allocations: 2.155 MB / 450.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.3073, allocations: 1.357 MB / 452.2 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/0.3082, allocations: 1.278 MB / 453.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01918/0.3274, allocations: 11.21 MB / 464.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.3275, allocations: 39.11 kB / 464.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=185): time 2.796e-06/0.3275, allocations: 4 kB / 464.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=185): time 0.004296/0.3318, allocations: 3.603 MB / 468.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3318, allocations: 59.97 kB / 468.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3319, allocations: 109.8 kB / 468.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.332, allocations: 33.7 kB / 468.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.3321, allocations: 94.98 kB / 468.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/0.3325, allocations: 0.5789 MB / 469.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.3327, allocations: 150.2 kB / 469.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3328, allocations: 306 kB / 469.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.334, allocations: 1.025 MB / 470.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3351, allocations: 1.031 MB / 471.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.3376, allocations: 2.236 MB / 474 MB, free: 5.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3376, allocations: 0 / 474 MB, free: 5.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002912/0.3406, allocations: 2.34 MB / 476.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3406, allocations: 4 kB / 476.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3406, allocations: 0 / 476.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3406, allocations: 4 kB / 476.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.3413, allocations: 119.8 kB / 476.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3413, allocations: 0 / 476.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.3417, allocations: 98.77 kB / 476.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.3418, allocations: 19.98 kB / 476.6 MB, free: 3.031 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.0002336/0.342, allocations: 165.7 kB / 476.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.3422, allocations: 51.25 kB / 476.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.3455, allocations: 2.649 MB / 479.4 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/0.3455, allocations: 33.59 kB / 479.5 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3455, allocations: 0 / 479.5 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3455, allocations: 7.922 kB / 479.5 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3467, allocations: 1.159 MB / 480.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3467, allocations: 0 / 480.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.3474, allocations: 143.8 kB / 480.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.3474, allocations: 4 kB / 480.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.3475, allocations: 16 kB / 480.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3475, allocations: 4 kB / 480.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3475, allocations: 0 / 480.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.3503, allocations: 2.342 MB / 483.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.3507, allocations: 215.8 kB / 483.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.3507, allocations: 12 kB / 483.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.3512, allocations: 23.98 kB / 483.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.3513, allocations: 56.86 kB / 483.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.3514, allocations: 24 kB / 483.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.594e-05/0.3514, allocations: 92.14 kB / 483.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3514, allocations: 3.938 kB / 483.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002672/0.3541, allocations: 0.8784 MB / 484.4 MB, free: 11.1 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.007707/0.3618, allocations: 4.093 MB / 488.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002687/0.3645, allocations: 2.361 MB / 490.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3646, allocations: 0 / 490.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.3659, allocations: 1.248 MB / 492.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.3677, allocations: 351.7 kB / 492.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.3717, allocations: 2.329 MB / 494.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.3722, allocations: 0.8899 MB / 495.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005929/0.3728, allocations: 254.1 kB / 495.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.3731, allocations: 195.3 kB / 496.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3731, allocations: 0 / 496.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2861/0.6592, allocations: 42.1 MB / 0.5256 GB, free: 5.496 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.6595, allocations: 225.8 kB / 0.5258 GB, free: 5.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.302/4.962, allocations: 0 / 0.5258 GB, free: 5.234 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)