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.000977/0.000977, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.0009926/0.0009927, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04235/0.04235, allocations: 9.06 MB / 279.4 MB, free: 12.28 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.0005205/0.0005206, allocations: 16 kB / 339.2 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 49.17 MB / 388.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01795/0.1212, allocations: 16.01 MB / 404.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00849/0.1297, allocations: 8.144 MB / 412.5 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.13, allocations: 0 / 412.5 MB, free: 472 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1311, allocations: 374.7 kB / 412.9 MB, free: 96 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006682/0.1317, allocations: 247.4 kB / 413.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.143, allocations: 3.736 MB / 416.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.1435, allocations: 287.4 kB / 417.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.331e-05/0.1436, allocations: 20.41 kB / 417.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.144, allocations: 211.2 kB / 417.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.1442, allocations: 91.59 kB / 417.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1442, allocations: 4 kB / 417.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.1571, allocations: 6.732 MB / 424.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.1572, allocations: 19.86 kB / 424.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1574, allocations: 77.58 kB / 424.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.1614, allocations: 1.746 MB / 426 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1614, allocations: 0 / 426 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1614, allocations: 0 / 426 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1614, allocations: 0 / 426 MB, free: 2.922 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.001716/0.1631, allocations: 0.7951 MB / 426.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1632, allocations: 8.031 kB / 426.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.1633, allocations: 62.47 kB / 426.9 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.1636, allocations: 63.56 kB / 427 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1638, allocations: 178.9 kB / 427.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1638, allocations: 4 kB / 427.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1638, allocations: 7.938 kB / 427.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.1642, allocations: 249.4 kB / 427.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1642, allocations: 0 / 427.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1643, allocations: 0 / 427.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1643, allocations: 11.98 kB / 427.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.1647, allocations: 220.5 kB / 427.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1651, allocations: 372 kB / 428 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.1659, allocations: 347.1 kB / 428.3 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2301/0.3961, allocations: 27.96 MB / 456.3 MB, free: 20.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.3961, allocations: 38.03 kB / 456.3 MB, free: 20.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.3962, allocations: 0.7188 kB / 456.3 MB, free: 20.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.001275/0.3974, allocations: 1.042 MB / 457.4 MB, free: 20.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3975, allocations: 55.81 kB / 457.4 MB, free: 19.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.3976, allocations: 110 kB / 457.5 MB, free: 19.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3976, allocations: 26.61 kB / 457.6 MB, free: 19.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.3976, allocations: 87.58 kB / 457.6 MB, free: 19.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.3978, allocations: 227.5 kB / 457.9 MB, free: 19.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.3978, allocations: 4 kB / 457.9 MB, free: 19.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.3979, allocations: 332.5 kB / 458.2 MB, free: 19.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.3981, allocations: 178.8 kB / 458.4 MB, free: 19.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.3984, allocations: 181.6 kB / 458.5 MB, free: 19.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3987, allocations: 205.5 kB / 458.7 MB, free: 18.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3987, allocations: 2.719 kB / 458.7 MB, free: 18.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006125/0.3993, allocations: 479.7 kB / 459.2 MB, free: 18.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3993, allocations: 14.33 kB / 459.2 MB, free: 18.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3993, allocations: 1.219 kB / 459.2 MB, free: 18.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3994, allocations: 0 / 459.2 MB, free: 18.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.3995, allocations: 28.39 kB / 459.3 MB, free: 18.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3995, allocations: 3.281 kB / 459.3 MB, free: 18.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.3997, allocations: 50.48 kB / 459.3 MB, free: 18.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3997, allocations: 7.766 kB / 459.3 MB, free: 18.62 MB / 318.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_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 initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.3998, allocations: 129.7 kB / 459.4 MB, free: 18.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3999, allocations: 20.28 kB / 459.5 MB, free: 18.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009418/0.4008, allocations: 0.787 MB / 460.3 MB, free: 18.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.4008, allocations: 8.234 kB / 460.3 MB, free: 18.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4008, allocations: 0 / 460.3 MB, free: 18.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4008, allocations: 0 / 460.3 MB, free: 18.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.4012, allocations: 432.3 kB / 460.7 MB, free: 17.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4012, allocations: 0 / 460.7 MB, free: 17.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4013, allocations: 30.53 kB / 460.7 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4013, allocations: 1.281 kB / 460.7 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4013, allocations: 9.047 kB / 460.7 MB, free: 17.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4014, allocations: 1.156 kB / 460.7 MB, free: 17.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4014, allocations: 3.953 kB / 460.7 MB, free: 17.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.402, allocations: 0.5191 MB / 461.2 MB, free: 17.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.4021, allocations: 126.7 kB / 461.4 MB, free: 17.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4021, allocations: 1.219 kB / 461.4 MB, free: 17.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4022, allocations: 17.45 kB / 461.4 MB, free: 17.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.4023, allocations: 13.58 kB / 461.4 MB, free: 17.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4023, allocations: 3.312 kB / 461.4 MB, free: 17.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.4023, allocations: 88.33 kB / 461.5 MB, free: 17.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4023, allocations: 1.438 kB / 461.5 MB, free: 17.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002169/0.4045, allocations: 0.7036 MB / 462.2 MB, free: 17.02 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003088/0.4076, allocations: 1.995 MB / 464.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000576/0.4082, allocations: 454.7 kB / 464.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4082, allocations: 0 / 464.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.4085, allocations: 262.7 kB / 464.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4095, allocations: 218 kB / 465.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.4117, allocations: 1.816 MB / 466.9 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.4119, allocations: 0.7576 MB / 467.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.4122, allocations: 198.5 kB / 467.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.4123, allocations: 67.41 kB / 467.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4123, allocations: 0 / 467.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05079/0.4631, allocations: 28.89 MB / 496.8 MB, free: 148 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.4634, allocations: 183.4 kB / 497 MB, free: 15.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/2.896, allocations: 0 / 497 MB, free: 15.9 MB / 350.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/linux/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) Environment - environmentSimulation: