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.0007568/0.0007567, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009685/0.0009687, allocations: 168.7 kB / 15.95 MB, free: 204 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.229/1.229, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04123/0.04123, allocations: 9.069 MB / 279.5 MB, free: 12.24 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.0004848/0.0004848, allocations: 12 kB / 339.2 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06951/0.07, allocations: 49.19 MB / 388.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01566/0.0857, allocations: 16.74 MB / 405.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008763/0.09451, allocations: 10.38 MB / 415.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.09459, allocations: 4 kB / 415.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.09462, allocations: 7.922 kB / 415.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.0953, allocations: 294.5 kB / 415.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008939/0.1043, allocations: 4.252 MB / 420.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1044, allocations: 135.3 kB / 420.2 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1045, allocations: 8 kB / 420.2 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1047, allocations: 75.64 kB / 420.3 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.1047, allocations: 51.77 kB / 420.4 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1048, allocations: 4 kB / 420.4 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.1151, allocations: 6.746 MB / 427.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.1151, allocations: 15.86 kB / 427.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.1152, allocations: 41.7 kB / 427.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1461/0.2613, allocations: 1.91 MB / 429.1 MB, free: 24.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2614, allocations: 1.531 kB / 429.1 MB, free: 24.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2614, allocations: 0 / 429.1 MB, free: 24.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2614, allocations: 0 / 429.1 MB, free: 24.35 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.001433/0.2628, allocations: 0.8033 MB / 429.9 MB, free: 23.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2629, allocations: 8.25 kB / 429.9 MB, free: 23.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.2629, allocations: 38.31 kB / 429.9 MB, free: 23.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.263, allocations: 15.67 kB / 429.9 MB, free: 23.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.2631, allocations: 180.9 kB / 430.1 MB, free: 23.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2631, allocations: 6.094 kB / 430.1 MB, free: 23.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2632, allocations: 3.719 kB / 430.1 MB, free: 23.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2635, allocations: 110 kB / 430.2 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2635, allocations: 0 / 430.2 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2635, allocations: 3.094 kB / 430.2 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2635, allocations: 3.531 kB / 430.2 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.2639, allocations: 134.8 kB / 430.4 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.2643, allocations: 324.3 kB / 430.7 MB, free: 23.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.2646, allocations: 121.3 kB / 430.8 MB, free: 23.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.2648, allocations: 80.33 kB / 430.9 MB, free: 23.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/0.2804, allocations: 15.64 MB / 446.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2804, allocations: 32.28 kB / 446.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.2804, allocations: 0 / 446.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007706/0.2812, allocations: 256.4 kB / 446.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.2812, allocations: 56.22 kB / 446.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.2813, allocations: 133.1 kB / 447 MB, free: 8.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.2813, allocations: 25.7 kB / 447 MB, free: 8.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.2814, allocations: 101.2 kB / 447.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2814, allocations: 22.91 kB / 447.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.2814, allocations: 3.688 kB / 447.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.2814, allocations: 324.8 kB / 447.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2816, allocations: 64.92 kB / 447.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2818, allocations: 61.05 kB / 447.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2819, allocations: 63.14 kB / 447.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2819, allocations: 0 / 447.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003627/0.2823, allocations: 175.3 kB / 447.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2823, allocations: 4.188 kB / 447.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2823, allocations: 4.625 kB / 447.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2823, allocations: 4 kB / 447.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2825, allocations: 33.66 kB / 447.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2825, allocations: 1.156 kB / 447.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2826, allocations: 34.97 kB / 447.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2826, allocations: 2.375 kB / 447.9 MB, free: 8.203 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.2827, allocations: 123.3 kB / 448 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.2827, allocations: 9.312 kB / 448 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.2834, allocations: 426.9 kB / 448.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.2834, allocations: 3.609 kB / 448.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2834, allocations: 0 / 448.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2834, allocations: 3.5 kB / 448.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.2836, allocations: 281.1 kB / 448.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2836, allocations: 1.375 kB / 448.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2838, allocations: 40.41 kB / 448.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2838, allocations: 1.375 kB / 448.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2838, allocations: 5.375 kB / 448.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2838, allocations: 0 / 448.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2838, allocations: 0 / 448.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.2843, allocations: 455.5 kB / 449.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.2844, allocations: 107.3 kB / 449.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2844, allocations: 0.9062 kB / 449.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2845, allocations: 35.77 kB / 449.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.2846, allocations: 6.609 kB / 449.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2846, allocations: 4.406 kB / 449.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.68e-05/0.2846, allocations: 103 kB / 449.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2846, allocations: 3.844 kB / 449.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009744/0.2856, allocations: 448.8 kB / 449.9 MB, free: 7.387 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: 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 (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.00228/0.2879, allocations: 1.591 MB / 451.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.2884, allocations: 221.8 kB / 451.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2884, allocations: 0 / 451.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.2886, allocations: 181 kB / 451.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.289, allocations: 33.55 kB / 451.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.2898, allocations: 0.6388 MB / 452.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2899, allocations: 0.7165 MB / 453.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.879e-05/0.29, allocations: 23.44 kB / 453.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.2901, allocations: 40.39 kB / 453.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2901, allocations: 0 / 453.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3172, allocations: 15.88 MB / 469.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.3175, allocations: 201.2 kB / 469.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.37, allocations: 0 / 469.4 MB, free: 14.64 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/linux/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) Environment - environmentSimulation: