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.00501/0.00501, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.00137/0.00137, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05203/0.05203, allocations: 9.099 MB / 279 MB, free: 12.06 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.002144/0.002144, allocations: 63.91 kB / 387 MB, free: 8.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2424, allocations: 48.15 MB / 435.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01937/0.2618, allocations: 18.08 MB / 453.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.2734, allocations: 11.07 MB / 464.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2736, allocations: 5.094 kB / 464.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.251e-05/0.2737, allocations: 11.86 kB / 464.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2748, allocations: 340.6 kB / 464.6 MB, free: 0.5703 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.01457/0.2894, allocations: 5.226 MB / 469.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.2896, allocations: 146.6 kB / 470 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.2896, allocations: 4.344 kB / 470 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.2899, allocations: 85.22 kB / 470.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.29, allocations: 56.2 kB / 470.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.29, allocations: 4.656 kB / 470.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.3037, allocations: 8.103 MB / 478.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.3038, allocations: 19.88 kB / 478.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.3039, allocations: 47.78 kB / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00691/0.3108, allocations: 3.402 MB / 481.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3108, allocations: 0 / 481.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3109, allocations: 4 kB / 481.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3109, allocations: 0 / 481.7 MB, free: 2.09 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.001373/0.3123, allocations: 0.827 MB / 482.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3123, allocations: 8.031 kB / 482.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.3124, allocations: 34.56 kB / 482.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3125, allocations: 23.88 kB / 482.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3126, allocations: 174.9 kB / 482.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3127, allocations: 4 kB / 482.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3127, allocations: 0 / 482.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.313, allocations: 105.5 kB / 482.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.313, allocations: 0 / 482.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3131, allocations: 4 kB / 482.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3131, allocations: 11.88 kB / 482.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.3135, allocations: 107.9 kB / 483 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.314, allocations: 320.8 kB / 483.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.3144, allocations: 98.52 kB / 483.4 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3146, allocations: 76.8 kB / 483.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02371/0.3384, allocations: 15.93 MB / 499.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3384, allocations: 42.5 kB / 499.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.073e-06/0.3384, allocations: 0 / 499.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009188/0.3394, allocations: 213.7 kB / 499.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3394, allocations: 51.41 kB / 499.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3396, allocations: 137.4 kB / 499.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3396, allocations: 33.64 kB / 499.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3397, allocations: 92.12 kB / 500 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3397, allocations: 27.7 kB / 500 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3398, allocations: 25.7 kB / 0.4883 GB, free: 12.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3399, allocations: 318.8 kB / 0.4886 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3401, allocations: 51.94 kB / 0.4887 GB, free: 12.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3403, allocations: 47.95 kB / 0.4887 GB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.3407, allocations: 100.8 kB / 0.4888 GB, free: 12.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.3407, allocations: 3.984 kB / 0.4888 GB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004613/0.3412, allocations: 154 kB / 0.4889 GB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3412, allocations: 8 kB / 0.489 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3412, allocations: 0 / 0.489 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3412, allocations: 96 / 0.489 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3414, allocations: 39.84 kB / 0.489 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3414, allocations: 0 / 0.489 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3416, allocations: 23.91 kB / 0.489 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3416, allocations: 4 kB / 0.489 GB, free: 11.98 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.0001133/0.3417, allocations: 117.8 kB / 0.4891 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3417, allocations: 15.84 kB / 0.4891 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000765/0.3425, allocations: 398.8 kB / 0.4895 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.3425, allocations: 3.984 kB / 0.4895 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3425, allocations: 4 kB / 0.4895 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3426, allocations: 0 / 0.4895 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.3429, allocations: 277.9 kB / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3429, allocations: 3.938 kB / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.3431, allocations: 31.91 kB / 0.4898 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3431, allocations: 4 kB / 0.4898 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.3431, allocations: 0 / 0.4898 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3431, allocations: 4 kB / 0.4898 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3431, allocations: 3.984 kB / 0.4898 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.3438, allocations: 420.1 kB / 0.4902 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.3439, allocations: 116.9 kB / 0.4904 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.344, allocations: 0 / 0.4904 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3441, allocations: 15.98 kB / 0.4904 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.3442, allocations: 15.98 kB / 0.4904 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.3442, allocations: 7.922 kB / 0.4904 GB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.3443, allocations: 103.3 kB / 0.4905 GB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3443, allocations: 0 / 0.4905 GB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001327/0.3456, allocations: 458.5 kB / 0.4909 GB, free: 9.93 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.00277/0.3484, allocations: 1.584 MB / 0.4925 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005762/0.349, allocations: 203.7 kB / 0.4927 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.349, allocations: 4 kB / 0.4927 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.3493, allocations: 167.8 kB / 0.4928 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3497, allocations: 35.95 kB / 0.4929 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3508, allocations: 0.5679 MB / 0.4934 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.3512, allocations: 0.72 MB / 0.4941 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.665e-05/0.3513, allocations: 19.98 kB / 0.4941 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.3514, allocations: 35.42 kB / 0.4942 GB, free: 6.508 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3514, allocations: 0 / 0.4942 GB, free: 6.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.4081, allocations: 16.36 MB / 0.5102 GB, free: 6.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/9.199, allocations: 0.5 kB / 0.5102 GB, free: 6.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)