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.001136/0.001137, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001192/0.001192, allocations: 177.3 kB / 15.94 MB, free: 228 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.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04327/0.04327, allocations: 9.065 MB / 279.4 MB, free: 12.25 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.0006399/0.0006399, allocations: 19.94 kB / 339.2 MB, free: 25.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.09983, allocations: 49.18 MB / 388.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01659/0.1165, allocations: 15.19 MB / 403.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.1203, allocations: 3.5 MB / 407.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.1204, allocations: 0 / 407.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.1204, allocations: 11.91 kB / 407.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.1212, allocations: 307 kB / 407.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008892/0.1301, allocations: 3.053 MB / 410.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1304, allocations: 91.86 kB / 410.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.1304, allocations: 7.938 kB / 410.5 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.1308, allocations: 123.6 kB / 410.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.1308, allocations: 43.83 kB / 410.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1309, allocations: 4 kB / 410.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.1412, allocations: 5.94 MB / 416.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.1413, allocations: 15.92 kB / 416.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.1414, allocations: 37.64 kB / 416.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.1446, allocations: 1.392 MB / 418.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1446, allocations: 0 / 418.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1446, allocations: 0 / 418.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1446, allocations: 0 / 418.1 MB, free: 10.9 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.00108/0.1457, allocations: 0.6705 MB / 418.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1457, allocations: 8.031 kB / 418.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.1458, allocations: 38.48 kB / 418.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1459, allocations: 19.86 kB / 418.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1461, allocations: 178.9 kB / 419 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1461, allocations: 0 / 419 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1461, allocations: 4 kB / 419 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.1465, allocations: 109.6 kB / 419.1 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1465, allocations: 3.984 kB / 419.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1465, allocations: 7.953 kB / 419.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1465, allocations: 3.938 kB / 419.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.1469, allocations: 131.9 kB / 419.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.1474, allocations: 320.7 kB / 419.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.1478, allocations: 122.5 kB / 419.7 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2342/0.382, allocations: 15.7 MB / 435.4 MB, free: 39.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.382, allocations: 36.17 kB / 435.4 MB, free: 39.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.3821, allocations: 1.844 kB / 435.4 MB, free: 39.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009799/0.383, allocations: 258.2 kB / 435.7 MB, free: 39.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3831, allocations: 54.3 kB / 435.7 MB, free: 38.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3832, allocations: 138.3 kB / 435.8 MB, free: 38.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3832, allocations: 32.8 kB / 435.9 MB, free: 38.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.3833, allocations: 92.33 kB / 436 MB, free: 38.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3833, allocations: 30.88 kB / 436 MB, free: 38.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.3833, allocations: 0 / 436 MB, free: 38.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.3834, allocations: 318.3 kB / 436.3 MB, free: 38.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.3836, allocations: 65.12 kB / 436.4 MB, free: 38.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3838, allocations: 59.27 kB / 436.4 MB, free: 38.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.384, allocations: 68.05 kB / 436.5 MB, free: 38.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.384, allocations: 0 / 436.5 MB, free: 38.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004362/0.3844, allocations: 179.6 kB / 436.7 MB, free: 38.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3845, allocations: 7.812 kB / 436.7 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3845, allocations: 0.7031 kB / 436.7 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3845, allocations: 0.9375 kB / 436.7 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3847, allocations: 37.08 kB / 436.7 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3847, allocations: 0 / 436.7 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3848, allocations: 26.92 kB / 436.7 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3848, allocations: 3.172 kB / 436.7 MB, free: 38.42 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 7.022e-05/0.3849, allocations: 117.1 kB / 436.9 MB, free: 38.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.385, allocations: 13.19 kB / 436.9 MB, free: 38.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007762/0.3857, allocations: 415.4 kB / 437.3 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.3858, allocations: 9.078 kB / 437.3 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3858, allocations: 1.125 kB / 437.3 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3858, allocations: 0.5156 kB / 437.3 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.3861, allocations: 291.7 kB / 437.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3861, allocations: 0 / 437.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.3862, allocations: 41.59 kB / 437.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3862, allocations: 1.406 kB / 437.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3863, allocations: 2.016 kB / 437.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3863, allocations: 0 / 437.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3863, allocations: 6.688 kB / 437.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.387, allocations: 459.6 kB / 438.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.3871, allocations: 106.2 kB / 438.2 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3871, allocations: 2.375 kB / 438.2 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3873, allocations: 21.64 kB / 438.2 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.3873, allocations: 11.33 kB / 438.2 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3874, allocations: 3.266 kB / 438.2 MB, free: 37.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.112e-05/0.3874, allocations: 110.3 kB / 438.3 MB, free: 37.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 0 / 438.3 MB, free: 37.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001426/0.3889, allocations: 449.5 kB / 438.8 MB, free: 37.7 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.002498/0.3914, allocations: 1.596 MB / 440.4 MB, free: 36.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.3919, allocations: 221.1 kB / 440.6 MB, free: 36.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3919, allocations: 0 / 440.6 MB, free: 36.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.3923, allocations: 180.7 kB / 440.8 MB, free: 36.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3926, allocations: 34.89 kB / 440.8 MB, free: 36.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009988/0.3936, allocations: 0.6261 MB / 441.4 MB, free: 36.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.3938, allocations: 0.7249 MB / 442.1 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.278e-05/0.3939, allocations: 17.42 kB / 442.2 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.3939, allocations: 37.55 kB / 442.2 MB, free: 35.7 MB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.394, allocations: 4 kB / 442.2 MB, free: 35.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.4295, allocations: 15.88 MB / 458.1 MB, free: 25.2 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.4297, allocations: 187.8 kB / 458.3 MB, free: 24.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.451, allocations: 0 / 458.3 MB, free: 24.96 MB / 318.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: