Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,fileNamePrefix="ExternalMedia_ExternalMedia_Test_GenericModels_TestRunnerTwoPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,fileNamePrefix="ExternalMedia_ExternalMedia_Test_GenericModels_TestRunnerTwoPhase",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.00499/0.00499, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001138/0.001138, allocations: 195.8 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1285/0.1285, allocations: 2.754 MB / 293.3 MB, free: 3.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 405.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 50.23 MB / 455.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.09541/0.3797, allocations: 106.3 MB / 0.5488 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3224/0.7021, allocations: 59.84 MB / 0.6073 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.7048, allocations: 14.22 kB / 0.6073 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003378/0.7082, allocations: 1.184 MB / 0.6084 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03353/0.7418, allocations: 13.23 MB / 0.6213 GB, free: 336 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009023/0.7509, allocations: 3.19 MB / 0.6245 GB, free: 236 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005699/0.7566, allocations: 2.97 MB / 0.6274 GB, free: 232 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.7573, allocations: 179.3 kB / 0.6275 GB, free: 16.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.7607, allocations: 1.097 MB / 0.6286 GB, free: 16.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.7641, allocations: 0.9333 MB / 0.6295 GB, free: 16.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004165/0.7646, allocations: 145.3 kB / 0.6297 GB, free: 16.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03114/0.7957, allocations: 11.11 MB / 0.6405 GB, free: 15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007268/0.7965, allocations: 376.4 kB / 0.6409 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.7993, allocations: 1.029 MB / 0.6419 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0264/0.8257, allocations: 8.705 MB / 0.6504 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8258, allocations: 0 / 0.6504 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.8258, allocations: 0 / 0.6504 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.98e-05/0.8258, allocations: 0 / 0.6504 GB, free: 11.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.007671/0.8335, allocations: 3.311 MB / 0.6536 GB, free: 9.523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.8335, allocations: 10.59 kB / 0.6536 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/0.8339, allocations: 283.8 kB / 0.6539 GB, free: 9.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.8494, allocations: 1.871 MB / 0.6557 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.8515, allocations: 1.092 MB / 0.6568 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.8517, allocations: 172.2 kB / 0.6569 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/0.8521, allocations: 205 kB / 0.6571 GB, free: 7.352 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.8747, allocations: 6.856 MB / 0.6638 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.867e-05/0.8748, allocations: 11.94 kB / 0.6638 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003432/0.8752, allocations: 84.12 kB / 0.6639 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/0.8752, allocations: 52.5 kB / 0.664 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/0.9001, allocations: 8.231 MB / 0.672 GB, free: 11.29 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.9171, allocations: 15.55 MB / 0.6872 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/0.9355, allocations: 5.649 MB / 0.6927 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.9377, allocations: 1.221 MB / 0.6939 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1127/1.05, allocations: 52.23 MB / 0.7449 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/1.051, allocations: 64.5 kB / 0.745 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=242): time 5.701e-06/1.051, allocations: 0 / 0.745 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=246): time 0.04929/1.1, allocations: 14.41 MB / 0.759 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.1, allocations: 107.1 kB / 0.7591 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/1.1, allocations: 352.1 kB / 0.7595 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005091/1.101, allocations: 69.7 kB / 0.7595 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/1.101, allocations: 0.5623 MB / 0.7601 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.102, allocations: 0.8548 MB / 0.7609 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/1.104, allocations: 0.9765 MB / 0.7619 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.105, allocations: 318 kB / 0.7622 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/1.109, allocations: 2.074 MB / 0.7642 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/1.114, allocations: 2.637 MB / 0.7668 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009262/1.123, allocations: 4.508 MB / 0.7712 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/1.123, allocations: 4 kB / 0.7712 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01447/1.138, allocations: 5.555 MB / 0.7766 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/1.138, allocations: 12 kB / 0.7766 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/1.138, allocations: 16.91 kB / 0.7766 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/1.14, allocations: 307.1 kB / 0.7769 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003897/1.144, allocations: 1.065 MB / 0.778 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.146, allocations: 1.891 MB / 0.7798 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/1.148, allocations: 100 kB / 0.7799 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008264/1.149, allocations: 395.6 kB / 0.7803 GB, free: 4.586 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 17 (testBasePropertiesDynamic.medium.phase,testBasePropertiesImplicit.medium2.baseProperties.phase,testBasePropertiesImplicit.medium1.baseProperties.phase,testBasePropertiesExplicit.medium2.baseProperties.phase,testBasePropertiesExplicit.medium1.baseProperties.phase,testStatesSat.state2.phase,testStatesSat.state1.phase,testStates.state2.phase,testStates.state1.phase,testStatesSat.completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (293): * Single equations (assignments): 287 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00158/1.15, allocations: 433.6 kB / 0.7807 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009612/1.151, allocations: 115.3 kB / 0.7808 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2353/1.387, allocations: 46.83 MB / 0.8266 GB, free: 278.1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001299/1.387, allocations: 162.2 kB / 0.8267 GB, free: 278.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.387, allocations: 3.094 kB / 0.8267 GB, free: 278.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/1.387, allocations: 15.53 kB / 0.8267 GB, free: 278.1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04896/1.436, allocations: 65.71 MB / 0.8909 GB, free: 238.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.436, allocations: 0 / 0.8909 GB, free: 238.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/1.439, allocations: 0.6785 MB / 0.8916 GB, free: 237.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008772/1.44, allocations: 0.5027 MB / 0.892 GB, free: 237.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004258/1.441, allocations: 71.94 kB / 0.8921 GB, free: 237 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/1.442, allocations: 2.034 MB / 0.8941 GB, free: 234.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.442, allocations: 3.938 kB / 0.8941 GB, free: 234.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.455, allocations: 10.95 MB / 0.9048 GB, free: 224 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/1.456, allocations: 452.7 kB / 0.9052 GB, free: 223.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/1.457, allocations: 55.98 kB / 0.9053 GB, free: 223.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.458, allocations: 87.94 kB / 0.9054 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/1.459, allocations: 187.5 kB / 0.9055 GB, free: 223.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/1.459, allocations: 99.92 kB / 0.9056 GB, free: 223.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000252/1.459, allocations: 211.1 kB / 0.9058 GB, free: 223 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.81e-07/1.459, allocations: 4.828 kB / 0.9058 GB, free: 223 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006014/1.465, allocations: 1.748 MB / 0.9076 GB, free: 221.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (testBasePropertiesDynamic.medium.p,testBasePropertiesDynamic.medium.h) * Number of discrete variables: 80 ($cse1.region3boundary,$cse2.region3boundary,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.region3boundary,$cse36.region3boundary,$cse37.region3boundary,$cse38.region3boundary,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse45.region3boundary,$cse46.phase,$cse46.region,$cse47.region3boundary,$cse48.region3boundary,$cse49.phase,$cse49.region,testBasePropertiesExplicit.medium1.baseProperties.phase,testBasePropertiesExplicit.medium2.baseProperties.phase,testBasePropertiesImplicit.medium1.baseProperties.phase,testBasePropertiesImplicit.medium2.baseProperties.phase,testBasePropertiesDynamic.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 234 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 50 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01841/1.484, allocations: 12.67 MB / 0.9199 GB, free: 209 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009369/1.493, allocations: 5.805 MB / 0.9256 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.493, allocations: 0 / 0.9256 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004808/1.498, allocations: 3.749 MB / 0.9293 GB, free: 199.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/1.502, allocations: 0.6417 MB / 0.9299 GB, free: 198.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/1.542, allocations: 24.76 MB / 0.9541 GB, free: 173.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.543, allocations: 1.933 MB / 0.956 GB, free: 171.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008775/1.552, allocations: 11.73 MB / 0.9674 GB, free: 160.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002803/1.555, allocations: 1.573 MB / 0.9689 GB, free: 158.7 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/1.555, allocations: 0 / 0.9689 GB, free: 158.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3635/1.918, allocations: 133.3 MB / 1.099 GB, free: 277.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.78/24.7, allocations: 8.188 kB / 1.099 GB, free: 277.1 MB / 0.6231 GB (rm -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe >> ../files/ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternalMedia_ExternalMedia_Test_GenericModels_TestRunnerTwoPhase.fmu > ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe 2>&1)