Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",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.000925/0.0009249, allocations: 90.67 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.005422/0.005422, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.259/1.259, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04366/0.04366, allocations: 9.075 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.0004695/0.0004695, allocations: 16.61 kB / 339.8 MB, free: 25.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07405/0.07453, allocations: 49.18 MB / 389 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01696/0.09154, allocations: 18.88 MB / 407.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008039/0.09962, allocations: 9.546 MB / 417.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.09973, allocations: 4 kB / 417.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.1005, allocations: 398.3 kB / 417.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.101, allocations: 234.7 kB / 418.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008128/0.1091, allocations: 3.836 MB / 421.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1095, allocations: 385.8 kB / 422.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.1096, allocations: 24.38 kB / 422.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.1098, allocations: 175.1 kB / 422.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.11, allocations: 95.53 kB / 422.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.11, allocations: 4 kB / 422.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1587/0.2687, allocations: 6.742 MB / 429.3 MB, free: 19.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.2688, allocations: 25.28 kB / 429.3 MB, free: 19.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.269, allocations: 139.2 kB / 429.5 MB, free: 19.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007992/0.277, allocations: 3.139 MB / 432.6 MB, free: 19.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2771, allocations: 0 / 432.6 MB, free: 19.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2771, allocations: 1.375 kB / 432.6 MB, free: 19.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2771, allocations: 0 / 432.6 MB, free: 19.23 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001811/0.2789, allocations: 0.7988 MB / 433.4 MB, free: 18.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2789, allocations: 9.312 kB / 433.4 MB, free: 18.65 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.279, allocations: 55.55 kB / 433.5 MB, free: 18.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.2793, allocations: 63.12 kB / 433.6 MB, free: 18.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2794, allocations: 192.3 kB / 433.7 MB, free: 18.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.2795, allocations: 3.984 kB / 433.7 MB, free: 18.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.2795, allocations: 7.312 kB / 433.7 MB, free: 18.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.2799, allocations: 234.8 kB / 434 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2799, allocations: 0 / 434 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2799, allocations: 1.156 kB / 434 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.2799, allocations: 14.69 kB / 434 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.2804, allocations: 231.4 kB / 434.2 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.2807, allocations: 362.2 kB / 434.6 MB, free: 18.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2817, allocations: 349.8 kB / 434.9 MB, free: 18.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.2821, allocations: 259.9 kB / 435.2 MB, free: 18.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04229/0.3244, allocations: 27.88 MB / 463 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3244, allocations: 42.44 kB / 463.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.274e-06/0.3244, allocations: 0 / 463.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001006/0.3254, allocations: 0.6908 MB / 463.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3255, allocations: 53.62 kB / 463.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.3256, allocations: 118.5 kB / 463.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3256, allocations: 25.7 kB / 464 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.3256, allocations: 87.55 kB / 464.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3258, allocations: 223.2 kB / 464.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.3258, allocations: 45.02 kB / 464.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3259, allocations: 340.3 kB / 464.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.3262, allocations: 178.5 kB / 464.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.3264, allocations: 181.5 kB / 465 MB, free: 8.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.3269, allocations: 440 kB / 465.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.327, allocations: 0 / 465.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006305/0.3276, allocations: 494.2 kB / 465.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3276, allocations: 4.125 kB / 465.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3276, allocations: 1.375 kB / 465.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3276, allocations: 0 / 465.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3278, allocations: 28.39 kB / 465.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3278, allocations: 1.375 kB / 465.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.3281, allocations: 45.03 kB / 466 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3282, allocations: 12.06 kB / 466 MB, free: 8.559 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: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001305/0.3283, allocations: 131.7 kB / 466.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3283, allocations: 25.16 kB / 466.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008948/0.3292, allocations: 0.7808 MB / 466.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.3293, allocations: 13.67 kB / 467 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3293, allocations: 3.562 kB / 467 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3293, allocations: 0 / 467 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.3296, allocations: 432.6 kB / 467.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3296, allocations: 1.641 kB / 467.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3297, allocations: 30.94 kB / 467.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3298, allocations: 0 / 467.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3298, allocations: 10.03 kB / 467.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3298, allocations: 1.062 kB / 467.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3298, allocations: 0 / 467.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.3304, allocations: 0.5313 MB / 468 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.3304, allocations: 124.2 kB / 468.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3305, allocations: 3.562 kB / 468.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3306, allocations: 10.94 kB / 468.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.3307, allocations: 7.547 kB / 468.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3307, allocations: 11.42 kB / 468.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.3307, allocations: 86.41 kB / 468.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3307, allocations: 0 / 468.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002427/0.3331, allocations: 0.7107 MB / 468.9 MB, free: 7.434 MB / 334.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: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00344/0.3366, allocations: 1.99 MB / 470.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005462/0.3372, allocations: 458.3 kB / 471.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3372, allocations: 2.875 kB / 471.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.3374, allocations: 253.1 kB / 471.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.3386, allocations: 233.5 kB / 471.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.3415, allocations: 3.101 MB / 474.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3418, allocations: 0.7527 MB / 475.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.3421, allocations: 195.3 kB / 475.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.3422, allocations: 64.47 kB / 475.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3422, allocations: 0 / 475.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04544/0.3877, allocations: 29.14 MB / 0.4932 GB, free: 8.066 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.3879, allocations: 201.3 kB / 0.4934 GB, free: 7.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.135, allocations: 0 / 0.4934 GB, free: 7.805 MB / 366.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)