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.001286/0.001286, allocations: 104 kB / 15.6 MB, free: 148 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.001252/0.001252, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.297/1.297, allocations: 205.1 MB / 222.4 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04692/0.04692, allocations: 9.097 MB / 278.9 MB, free: 12.1 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.001556/0.001557, allocations: 75.88 kB / 338.1 MB, free: 25.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06935/0.07092, allocations: 48.16 MB / 386.3 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01739/0.08834, allocations: 18.08 MB / 404.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009376/0.09775, allocations: 11.07 MB / 415.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.09785, allocations: 4 kB / 415.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.09793, allocations: 11.86 kB / 415.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.09869, allocations: 330.2 kB / 415.8 MB, free: 11.52 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.01076/0.1095, allocations: 5.237 MB / 421 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1096, allocations: 143.3 kB / 421.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.1097, allocations: 4 kB / 421.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1099, allocations: 91.58 kB / 421.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.11, allocations: 55.75 kB / 421.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.11, allocations: 4 kB / 421.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1603/0.2704, allocations: 7.861 MB / 429.2 MB, free: 20.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.2704, allocations: 14.41 kB / 429.2 MB, free: 20.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.2705, allocations: 43.91 kB / 429.2 MB, free: 20.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008486/0.279, allocations: 3.401 MB / 432.6 MB, free: 20.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2791, allocations: 0 / 432.6 MB, free: 20.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2791, allocations: 4.156 kB / 432.6 MB, free: 20.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2791, allocations: 1 kB / 432.6 MB, free: 20.19 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.001935/0.281, allocations: 0.8018 MB / 433.4 MB, free: 19.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2811, allocations: 9.5 kB / 433.4 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.2811, allocations: 40.03 kB / 433.5 MB, free: 19.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.2813, allocations: 15.39 kB / 433.5 MB, free: 19.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.2814, allocations: 174.1 kB / 433.7 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2814, allocations: 9.156 kB / 433.7 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.2814, allocations: 2.75 kB / 433.7 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.2818, allocations: 98.58 kB / 433.8 MB, free: 19.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.2818, allocations: 3.344 kB / 433.8 MB, free: 19.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2818, allocations: 0 / 433.8 MB, free: 19.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2818, allocations: 3.906 kB / 433.8 MB, free: 19.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.2823, allocations: 106.6 kB / 433.9 MB, free: 19.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.2827, allocations: 333.3 kB / 434.2 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.2832, allocations: 103.4 kB / 434.3 MB, free: 19.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2834, allocations: 62.5 kB / 434.4 MB, free: 19.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02026/0.3036, allocations: 15.93 MB / 450.3 MB, free: 20.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3037, allocations: 31.38 kB / 450.3 MB, free: 20.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.3037, allocations: 0 / 450.3 MB, free: 20.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008914/0.3046, allocations: 225.6 kB / 450.6 MB, free: 20.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3047, allocations: 53.72 kB / 450.6 MB, free: 20.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3048, allocations: 135.5 kB / 450.7 MB, free: 20.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3048, allocations: 26.86 kB / 450.8 MB, free: 20.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.3049, allocations: 96.23 kB / 450.9 MB, free: 20.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3049, allocations: 33.66 kB / 450.9 MB, free: 20.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.305, allocations: 19.81 kB / 450.9 MB, free: 20.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3051, allocations: 318.6 kB / 451.2 MB, free: 19.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3053, allocations: 50.41 kB / 451.3 MB, free: 19.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.3055, allocations: 55.62 kB / 451.3 MB, free: 19.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3058, allocations: 105.2 kB / 451.4 MB, free: 19.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3058, allocations: 0 / 451.4 MB, free: 19.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004241/0.3063, allocations: 152 kB / 451.6 MB, free: 19.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3063, allocations: 8.562 kB / 451.6 MB, free: 19.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3063, allocations: 0 / 451.6 MB, free: 19.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3063, allocations: 5.094 kB / 451.6 MB, free: 19.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3065, allocations: 33.42 kB / 451.6 MB, free: 19.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3065, allocations: 1.469 kB / 451.6 MB, free: 19.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3066, allocations: 15.59 kB / 451.6 MB, free: 19.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3066, allocations: 1.969 kB / 451.6 MB, free: 19.88 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 7.993e-05/0.3067, allocations: 116 kB / 451.8 MB, free: 19.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3068, allocations: 13.44 kB / 451.8 MB, free: 19.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007029/0.3075, allocations: 404.4 kB / 452.2 MB, free: 19.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3075, allocations: 6.375 kB / 452.2 MB, free: 19.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3075, allocations: 0 / 452.2 MB, free: 19.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3075, allocations: 1.469 kB / 452.2 MB, free: 19.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3078, allocations: 284.7 kB / 452.5 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3078, allocations: 5.391 kB / 452.5 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.308, allocations: 27.14 kB / 452.5 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.308, allocations: 1.406 kB / 452.5 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.308, allocations: 8.969 kB / 452.5 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.308, allocations: 3.938 kB / 452.5 MB, free: 19.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.308, allocations: 0.8438 kB / 452.5 MB, free: 19.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.3087, allocations: 428.6 kB / 452.9 MB, free: 19.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.3089, allocations: 112 kB / 453 MB, free: 19.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3089, allocations: 5.25 kB / 453 MB, free: 19.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3091, allocations: 16.19 kB / 453 MB, free: 19.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.3091, allocations: 17.34 kB / 453.1 MB, free: 19.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3091, allocations: 2.75 kB / 453.1 MB, free: 19.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.3092, allocations: 97.59 kB / 453.2 MB, free: 19.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3092, allocations: 0 / 453.2 MB, free: 19.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002207/0.3114, allocations: 453.5 kB / 453.6 MB, free: 19.07 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.004012/0.3155, allocations: 1.559 MB / 455.2 MB, free: 18.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.3161, allocations: 208.5 kB / 455.4 MB, free: 18.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3161, allocations: 3 kB / 455.4 MB, free: 18.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.3164, allocations: 164.2 kB / 455.5 MB, free: 18.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.3168, allocations: 39.5 kB / 455.6 MB, free: 18.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3184, allocations: 0.5719 MB / 456.1 MB, free: 17.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3188, allocations: 0.7168 MB / 456.9 MB, free: 17.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.3189, allocations: 21.89 kB / 456.9 MB, free: 17.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.319, allocations: 44.72 kB / 456.9 MB, free: 17.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.319, allocations: 0 / 456.9 MB, free: 17.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.355, allocations: 16.34 MB / 473.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.104, allocations: 0 / 473.3 MB, free: 7.414 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)