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.0007394/0.0007394, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0007797/0.0007797, allocations: 172.7 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.219/1.219, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04307/0.04307, allocations: 9.059 MB / 279.4 MB, free: 12.26 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.0004556/0.0004556, allocations: 16 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07407/0.07453, allocations: 49.18 MB / 388.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01772/0.09228, allocations: 17.76 MB / 406.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008327/0.1006, allocations: 8.828 MB / 415 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1009, allocations: 0 / 415 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.1017, allocations: 354.4 kB / 415.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.1022, allocations: 222.7 kB / 415.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009035/0.1113, allocations: 3.66 MB / 419.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.1117, allocations: 381.8 kB / 419.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.1118, allocations: 28.39 kB / 419.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.1122, allocations: 151.3 kB / 419.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1123, allocations: 99.53 kB / 419.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1124, allocations: 4 kB / 419.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.1225, allocations: 6.099 MB / 426 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.1226, allocations: 23.84 kB / 426 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1227, allocations: 73.58 kB / 426.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002919/0.1257, allocations: 1.82 MB / 427.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1257, allocations: 0 / 427.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1257, allocations: 0 / 427.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.1257, allocations: 3.938 kB / 427.9 MB, free: 1.051 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.001337/0.127, allocations: 0.803 MB / 428.7 MB, free: 204 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1271, allocations: 8.031 kB / 428.7 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.1271, allocations: 58.53 kB / 428.8 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.1274, allocations: 63.56 kB / 428.8 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1397/0.2671, allocations: 185.9 kB / 429 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.2672, allocations: 2.875 kB / 429 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.2672, allocations: 4.906 kB / 429 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.2677, allocations: 237.9 kB / 429.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2677, allocations: 0.7031 kB / 429.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2677, allocations: 2.969 kB / 429.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.2677, allocations: 10.27 kB / 429.3 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.2681, allocations: 229.5 kB / 429.5 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.2685, allocations: 357 kB / 429.8 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.2693, allocations: 347.9 kB / 430.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.2696, allocations: 261.7 kB / 430.4 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03617/0.3058, allocations: 27.88 MB / 458.3 MB, free: 19.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3059, allocations: 31.78 kB / 458.3 MB, free: 19.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.3059, allocations: 3.031 kB / 458.3 MB, free: 19.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.001089/0.307, allocations: 0.6878 MB / 459 MB, free: 19.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.307, allocations: 57.67 kB / 459.1 MB, free: 19.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.3071, allocations: 119.3 kB / 459.2 MB, free: 18.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3071, allocations: 26.8 kB / 459.2 MB, free: 18.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.3071, allocations: 86.89 kB / 459.3 MB, free: 18.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3072, allocations: 220.7 kB / 459.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.3073, allocations: 5.125 kB / 459.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.3073, allocations: 327.8 kB / 459.9 MB, free: 18.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.3075, allocations: 185.6 kB / 460 MB, free: 18.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.3078, allocations: 177.9 kB / 460.2 MB, free: 18.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3081, allocations: 209.9 kB / 460.4 MB, free: 18.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3081, allocations: 0 / 460.4 MB, free: 18.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00057/0.3087, allocations: 490.5 kB / 460.9 MB, free: 17.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3087, allocations: 6.281 kB / 460.9 MB, free: 17.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3087, allocations: 7.922 kB / 460.9 MB, free: 17.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3087, allocations: 0 / 460.9 MB, free: 17.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3088, allocations: 28.08 kB / 460.9 MB, free: 17.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3089, allocations: 4.438 kB / 460.9 MB, free: 17.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.309, allocations: 39.02 kB / 461 MB, free: 17.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.309, allocations: 10.8 kB / 461 MB, free: 17.71 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 8.616e-05/0.3091, allocations: 132.9 kB / 461.1 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.3092, allocations: 24.36 kB / 461.1 MB, free: 17.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/0.31, allocations: 0.7702 MB / 461.9 MB, free: 17.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.31, allocations: 10.27 kB / 461.9 MB, free: 17.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.31, allocations: 0 / 461.9 MB, free: 17.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3101, allocations: 7.891 kB / 461.9 MB, free: 17.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.3103, allocations: 427.7 kB / 462.3 MB, free: 16.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3104, allocations: 0 / 462.3 MB, free: 16.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3105, allocations: 38.56 kB / 462.4 MB, free: 16.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3105, allocations: 3.953 kB / 462.4 MB, free: 16.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3105, allocations: 5.266 kB / 462.4 MB, free: 16.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3105, allocations: 1.594 kB / 462.4 MB, free: 16.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3105, allocations: 1.594 kB / 462.4 MB, free: 16.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.3111, allocations: 0.5222 MB / 462.9 MB, free: 16.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.3112, allocations: 122.2 kB / 463 MB, free: 16.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3112, allocations: 8.203 kB / 463 MB, free: 16.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3113, allocations: 16.23 kB / 463.1 MB, free: 16.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3114, allocations: 8.109 kB / 463.1 MB, free: 16.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3114, allocations: 2.75 kB / 463.1 MB, free: 16.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.3114, allocations: 88.77 kB / 463.2 MB, free: 16.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3114, allocations: 4 kB / 463.2 MB, free: 16.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001651/0.3131, allocations: 0.7052 MB / 463.9 MB, free: 16.1 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.0029/0.316, allocations: 1.998 MB / 465.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005512/0.3166, allocations: 449.5 kB / 466.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3166, allocations: 0 / 466.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.3168, allocations: 258.5 kB / 466.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.3178, allocations: 229.2 kB / 466.8 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3198, allocations: 1.821 MB / 468.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3199, allocations: 0.7537 MB / 469.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.3202, allocations: 194.6 kB / 469.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.3203, allocations: 67.41 kB / 469.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3203, allocations: 0 / 469.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.3671, allocations: 28.91 MB / 498.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.3673, allocations: 184.3 kB / 498.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/2.878, allocations: 3.938 kB / 498.7 MB, free: 14.43 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: