Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",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.007185/0.007185, allocations: 103.7 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.001623/0.001623, allocations: 196.2 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002606/0.002606, allocations: 0.5663 MB / 291.1 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1865/0.1865, allocations: 62.14 kB / 401.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.2859, allocations: 49.59 MB / 451.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.00155/0.2875, allocations: 0.5827 MB / 452.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002205/0.2878, allocations: 50.89 kB / 452.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.2878, allocations: 0 / 452.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.2878, allocations: 3.938 kB / 452.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.2879, allocations: 3.938 kB / 452.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.288, allocations: 15.97 kB / 452.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.2881, allocations: 43.84 kB / 452.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.2882, allocations: 11.92 kB / 452.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.2882, allocations: 27.91 kB / 452.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.2883, allocations: 27.84 kB / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2883, allocations: 8 kB / 452.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.2884, allocations: 4 kB / 452.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.2884, allocations: 11.98 kB / 452.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.2884, allocations: 19.86 kB / 452.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.383e-05/0.2885, allocations: 34.5 kB / 452.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2885, allocations: 0 / 452.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2885, allocations: 0 / 452.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2885, allocations: 0 / 452.4 MB, free: 5.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004998/0.289, allocations: 376.3 kB / 452.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2891, allocations: 11.89 kB / 452.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.2891, allocations: 42.73 kB / 452.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2892, allocations: 12.83 kB / 452.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2893, allocations: 168.3 kB / 453 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2893, allocations: 8.375 kB / 453 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.2893, allocations: 4.375 kB / 453 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.2895, allocations: 66.23 kB / 453 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2895, allocations: 3.938 kB / 453.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2895, allocations: 12 kB / 453.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2895, allocations: 3.984 kB / 453.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.2896, allocations: 35.92 kB / 453.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.2901, allocations: 312.7 kB / 453.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2903, allocations: 102.5 kB / 453.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.2904, allocations: 40.84 kB / 453.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2904, allocations: 11.98 kB / 453.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2904, allocations: 30.56 kB / 453.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2904, allocations: 0 / 453.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002458/0.2929, allocations: 0.7447 MB / 454.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.293, allocations: 63.39 kB / 454.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.293, allocations: 109.8 kB / 454.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2931, allocations: 33.7 kB / 454.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.2931, allocations: 84.09 kB / 454.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.2932, allocations: 59.48 kB / 454.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.2932, allocations: 33.7 kB / 454.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.2933, allocations: 326.8 kB / 455 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.2934, allocations: 39.98 kB / 455.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.2935, allocations: 61.64 kB / 455.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2936, allocations: 107.7 kB / 455.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2936, allocations: 0 / 455.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001409/0.2951, allocations: 364.2 kB / 455.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2951, allocations: 12.03 kB / 455.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2951, allocations: 0 / 455.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.2967, allocations: 272.5 kB / 455.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.2967, allocations: 8 kB / 455.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.3003, allocations: 2.327 MB / 458.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.3004, allocations: 4 kB / 458.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3004, allocations: 7.984 kB / 458.2 MB, free: 14.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/0.3005, allocations: 125.8 kB / 458.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.3005, allocations: 11.89 kB / 458.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.3006, allocations: 16.55 kB / 458.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3006, allocations: 7.984 kB / 458.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3006, allocations: 0 / 458.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3006, allocations: 0 / 458.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.3008, allocations: 189.6 kB / 458.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3008, allocations: 7.938 kB / 458.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.3009, allocations: 15.98 kB / 458.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.3026, allocations: 280.5 kB / 458.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3026, allocations: 3.984 kB / 458.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.3046, allocations: 1.932 MB / 460.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3046, allocations: 0 / 460.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.3056, allocations: 416 kB / 461.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.3057, allocations: 89.06 kB / 461.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3057, allocations: 7.938 kB / 461.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3058, allocations: 0 / 461.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3058, allocations: 20.02 kB / 461.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3059, allocations: 4 kB / 461.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.3059, allocations: 87.27 kB / 461.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3059, allocations: 0 / 461.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.3062, allocations: 36 kB / 461.4 MB, free: 11.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.3074, allocations: 0.9394 MB / 462.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006153/0.3081, allocations: 297.2 kB / 462.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.3081, allocations: 0 / 462.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3084, allocations: 230.5 kB / 462.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3086, allocations: 7.938 kB / 462.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.3125, allocations: 2.083 MB / 465 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3127, allocations: 0.6968 MB / 465.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.3128, allocations: 4.547 kB / 465.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.3128, allocations: 23.44 kB / 465.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3128, allocations: 0 / 465.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.3354, allocations: 3.965 MB / 469.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.92, allocations: 11.06 kB / 469.7 MB, free: 3.098 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)