Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",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.005365/0.005365, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001532/0.001532, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.52/1.52, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05301/0.05302, allocations: 9.092 MB / 279 MB, free: 12.09 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.002171/0.002171, allocations: 71.89 kB / 387 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2695, allocations: 48.16 MB / 435.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01944/0.289, allocations: 18.08 MB / 453.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.3013, allocations: 11.07 MB / 464.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.3015, allocations: 0.9688 kB / 464.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.3016, allocations: 11.86 kB / 464.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009643/0.3025, allocations: 344.5 kB / 464.6 MB, free: 0.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.0149/0.3175, allocations: 5.222 MB / 469.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3177, allocations: 143.4 kB / 470 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.3178, allocations: 4.969 kB / 470 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.3181, allocations: 97.41 kB / 470.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.3182, allocations: 51.55 kB / 470.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3182, allocations: 5.094 kB / 470.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01565/0.3339, allocations: 8.105 MB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.3339, allocations: 19.86 kB / 478.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3341, allocations: 39.81 kB / 478.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.3427, allocations: 3.406 MB / 481.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3428, allocations: 0 / 481.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3428, allocations: 4 kB / 481.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3428, allocations: 0 / 481.7 MB, free: 2.066 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001609/0.3444, allocations: 0.823 MB / 482.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3445, allocations: 12.03 kB / 482.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3445, allocations: 38.55 kB / 482.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.3447, allocations: 15.89 kB / 482.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3448, allocations: 178.9 kB / 482.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3448, allocations: 8 kB / 482.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3448, allocations: 4 kB / 482.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.3452, allocations: 101.5 kB / 482.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3452, allocations: 0 / 482.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3452, allocations: 0 / 482.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3453, allocations: 3.938 kB / 482.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.3457, allocations: 107.9 kB / 483 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.3462, allocations: 320.7 kB / 483.3 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.3466, allocations: 110.4 kB / 483.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.3469, allocations: 68.8 kB / 483.5 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0248/0.3717, allocations: 15.93 MB / 499.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.3718, allocations: 42.5 kB / 499.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.836e-06/0.3718, allocations: 0 / 499.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009913/0.3728, allocations: 209.7 kB / 499.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.3728, allocations: 59.41 kB / 499.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.373, allocations: 133.4 kB / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.373, allocations: 29.64 kB / 499.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.3731, allocations: 96.12 kB / 500 MB, free: 12.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.3732, allocations: 31.7 kB / 500 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.3732, allocations: 25.7 kB / 0.4883 GB, free: 12.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3734, allocations: 314.8 kB / 0.4886 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3736, allocations: 55.94 kB / 0.4887 GB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3738, allocations: 47.95 kB / 0.4887 GB, free: 12.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.3742, allocations: 105.3 kB / 0.4888 GB, free: 12.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3742, allocations: 4 kB / 0.4888 GB, free: 12.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004808/0.3747, allocations: 153.4 kB / 0.489 GB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3747, allocations: 4 kB / 0.489 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3747, allocations: 4 kB / 0.489 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3747, allocations: 0 / 0.489 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3749, allocations: 35.91 kB / 0.489 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3749, allocations: 0 / 0.489 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3751, allocations: 27.91 kB / 0.489 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3751, allocations: 0 / 0.489 GB, free: 11.96 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001322/0.3752, allocations: 117.8 kB / 0.4891 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.3753, allocations: 15.84 kB / 0.4892 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007696/0.376, allocations: 394.8 kB / 0.4895 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3761, allocations: 4 kB / 0.4895 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3761, allocations: 0 / 0.4895 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3761, allocations: 0 / 0.4895 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.3764, allocations: 281.8 kB / 0.4898 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3764, allocations: 3.938 kB / 0.4898 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3766, allocations: 31.91 kB / 0.4898 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3766, allocations: 0 / 0.4898 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3766, allocations: 8 kB / 0.4898 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3766, allocations: 3.984 kB / 0.4898 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3766, allocations: 0 / 0.4898 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.3773, allocations: 428.1 kB / 0.4903 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.3775, allocations: 108.9 kB / 0.4904 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.3775, allocations: 4 kB / 0.4904 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3776, allocations: 19.97 kB / 0.4904 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3777, allocations: 7.984 kB / 0.4904 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3777, allocations: 11.94 kB / 0.4904 GB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.3778, allocations: 95.27 kB / 0.4905 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3778, allocations: 0 / 0.4905 GB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00124/0.3791, allocations: 462.5 kB / 0.4909 GB, free: 9.91 MB / 382.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002769/0.3818, allocations: 1.584 MB / 0.4925 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.3825, allocations: 199.8 kB / 0.4927 GB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3825, allocations: 3.938 kB / 0.4927 GB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.3828, allocations: 167.8 kB / 0.4928 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3832, allocations: 31.97 kB / 0.4929 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3844, allocations: 0.5718 MB / 0.4934 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3848, allocations: 0.7278 MB / 0.4941 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.159e-05/0.3849, allocations: 15.98 kB / 0.4941 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.3849, allocations: 39.42 kB / 0.4942 GB, free: 6.484 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3849, allocations: 0 / 0.4942 GB, free: 6.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04393/0.4289, allocations: 16.34 MB / 0.5101 GB, free: 6.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/8.889, allocations: 12.44 kB / 0.5102 GB, free: 6.133 MB / 398.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)