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.001388/0.001388, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 195.1 kB / 16.64 MB, free: 6.453 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.766/1.766, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05189/0.05189, allocations: 9.094 MB / 279 MB, free: 12.12 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.001806/0.001806, allocations: 63.91 kB / 338.3 MB, free: 25.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1409, allocations: 48.16 MB / 386.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02473/0.1657, allocations: 18.09 MB / 404.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1782, allocations: 11.07 MB / 415.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1785, allocations: 0 / 415.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.826e-05/0.1787, allocations: 7.922 kB / 415.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.18, allocations: 342.1 kB / 416 MB, free: 11.4 MB / 318.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.01907/0.1991, allocations: 5.225 MB / 421.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1994, allocations: 151.2 kB / 421.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.904e-05/0.1995, allocations: 4 kB / 421.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.1998, allocations: 87.55 kB / 421.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2, allocations: 43.84 kB / 421.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.2, allocations: 8 kB / 421.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3381/0.5381, allocations: 8.103 MB / 429.6 MB, free: 20.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.5382, allocations: 15.39 kB / 429.6 MB, free: 20.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.5384, allocations: 48.38 kB / 429.6 MB, free: 20.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.5559, allocations: 3.391 MB / 433 MB, free: 20.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.556, allocations: 2.562 kB / 433 MB, free: 20.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.556, allocations: 0.5312 kB / 433 MB, free: 20.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.556, allocations: 0.5312 kB / 433 MB, free: 20.14 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.003867/0.5599, allocations: 0.8011 MB / 433.8 MB, free: 19.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/0.56, allocations: 9.625 kB / 433.8 MB, free: 19.55 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.56, allocations: 33.38 kB / 433.9 MB, free: 19.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.5603, allocations: 17.73 kB / 433.9 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.5604, allocations: 175.4 kB / 434.1 MB, free: 19.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.5605, allocations: 9.047 kB / 434.1 MB, free: 19.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5605, allocations: 2.75 kB / 434.1 MB, free: 19.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.5609, allocations: 100.9 kB / 434.2 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.561, allocations: 0 / 434.2 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.561, allocations: 8.781 kB / 434.2 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.561, allocations: 3.219 kB / 434.2 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.5615, allocations: 103.7 kB / 434.3 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.5621, allocations: 325 kB / 434.6 MB, free: 19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.5626, allocations: 111.6 kB / 434.7 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.5628, allocations: 63.06 kB / 434.8 MB, free: 18.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02673/0.5895, allocations: 15.92 MB / 450.7 MB, free: 20.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.5897, allocations: 42.88 kB / 450.7 MB, free: 20.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 4.739e-06/0.5897, allocations: 0 / 450.7 MB, free: 20.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001289/0.591, allocations: 216.3 kB / 450.9 MB, free: 20.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.5911, allocations: 56.66 kB / 451 MB, free: 20.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.5913, allocations: 136.8 kB / 451.1 MB, free: 20.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.5914, allocations: 29.52 kB / 451.2 MB, free: 20.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.5914, allocations: 86.67 kB / 451.2 MB, free: 20.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.5915, allocations: 34.78 kB / 451.3 MB, free: 20.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.5916, allocations: 27 kB / 451.3 MB, free: 20.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5918, allocations: 319.1 kB / 451.6 MB, free: 19.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.592, allocations: 43.61 kB / 451.7 MB, free: 19.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.5922, allocations: 54.28 kB / 451.7 MB, free: 19.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.5926, allocations: 109.5 kB / 451.8 MB, free: 19.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5926, allocations: 0 / 451.8 MB, free: 19.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005599/0.5932, allocations: 158.5 kB / 452 MB, free: 19.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.5932, allocations: 7.625 kB / 452 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.5933, allocations: 1.312 kB / 452 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.5933, allocations: 3.938 kB / 452 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.5935, allocations: 26.19 kB / 452 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5935, allocations: 1.344 kB / 452 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.5937, allocations: 19.36 kB / 452 MB, free: 19.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.5937, allocations: 2.375 kB / 452 MB, free: 19.83 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: 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.0001427/0.5938, allocations: 115.6 kB / 452.1 MB, free: 19.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.5939, allocations: 16.97 kB / 452.2 MB, free: 19.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/0.5949, allocations: 391.9 kB / 452.5 MB, free: 19.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.5949, allocations: 10.38 kB / 452.6 MB, free: 19.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.595, allocations: 3.812 kB / 452.6 MB, free: 19.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.595, allocations: 0 / 452.6 MB, free: 19.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.5955, allocations: 281.5 kB / 452.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5955, allocations: 1.25 kB / 452.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.5957, allocations: 35.3 kB / 452.9 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.5957, allocations: 1.125 kB / 452.9 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.5957, allocations: 1.188 kB / 452.9 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.5957, allocations: 9.094 kB / 452.9 MB, free: 19.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5957, allocations: 4.938 kB / 452.9 MB, free: 19.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.5966, allocations: 429.7 kB / 453.3 MB, free: 19.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5968, allocations: 102.5 kB / 453.4 MB, free: 19.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.5968, allocations: 1.156 kB / 453.4 MB, free: 19.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.597, allocations: 30.88 kB / 453.4 MB, free: 19.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.5971, allocations: 7.766 kB / 453.4 MB, free: 19.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5971, allocations: 5.219 kB / 453.5 MB, free: 19.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.5972, allocations: 100 kB / 453.6 MB, free: 19.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5972, allocations: 0 / 453.6 MB, free: 19.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003047/0.6003, allocations: 453.3 kB / 454 MB, free: 19.02 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: 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.005358/0.6056, allocations: 1.562 MB / 455.6 MB, free: 18.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.6063, allocations: 205 kB / 455.8 MB, free: 18.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6063, allocations: 0 / 455.8 MB, free: 18.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.6067, allocations: 165.3 kB / 455.9 MB, free: 18.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.6072, allocations: 36.14 kB / 456 MB, free: 18.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.6092, allocations: 0.5637 MB / 456.5 MB, free: 17.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.6097, allocations: 0.7169 MB / 457.2 MB, free: 17.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.6098, allocations: 21.34 kB / 457.3 MB, free: 17.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.6099, allocations: 43.41 kB / 457.3 MB, free: 17.23 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6099, allocations: 3.281 kB / 457.3 MB, free: 17.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.6588, allocations: 16.34 MB / 473.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.879/9.538, allocations: 4 kB / 473.6 MB, free: 7.145 MB / 334.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)