Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",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.00135/0.00135, allocations: 108 kB / 15.6 MB, free: 132 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.001311/0.001311, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.25 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.003008/0.003008, allocations: 0.566 MB / 291 MB, free: 1.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 351.7 MB, free: 2.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1143, allocations: 49.6 MB / 401.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.1769/0.2913, allocations: 0.5639 MB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.2916, allocations: 50.75 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.2917, allocations: 1.156 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.2917, allocations: 2.812 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.2918, allocations: 5.688 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.2919, allocations: 16.89 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.292, allocations: 48.86 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/0.2921, allocations: 4.75 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.2921, allocations: 20.28 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.2922, allocations: 33.5 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2922, allocations: 5.922 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.2923, allocations: 4.094 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.2923, allocations: 10.95 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2923, allocations: 25 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.944e-05/0.2924, allocations: 35.09 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2924, allocations: 0.5938 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2924, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2925, allocations: 1.766 kB / 402.1 MB, free: 10.32 MB / 286.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.0004682/0.2929, allocations: 373.9 kB / 402.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.293, allocations: 9.25 kB / 402.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.293, allocations: 37.58 kB / 402.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.2931, allocations: 9.156 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2932, allocations: 173.7 kB / 402.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2932, allocations: 7.031 kB / 402.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.2933, allocations: 8.875 kB / 402.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.2934, allocations: 76.48 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2934, allocations: 5.031 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2934, allocations: 3.062 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2934, allocations: 1.75 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-05/0.2935, allocations: 42.14 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.294, allocations: 304.9 kB / 403.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.2943, allocations: 127 kB / 403.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.2944, allocations: 39.92 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.2944, allocations: 1.406 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.2944, allocations: 33.75 kB / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2944, allocations: 0 / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003592/0.298, allocations: 0.9284 MB / 404.2 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2981, allocations: 56.91 kB / 404.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.2981, allocations: 111.5 kB / 404.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2982, allocations: 30.58 kB / 404.4 MB, free: 8.809 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.2982, allocations: 87.92 kB / 404.5 MB, free: 8.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.2983, allocations: 61.33 kB / 404.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.2983, allocations: 37.52 kB / 404.6 MB, free: 8.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.2984, allocations: 321.6 kB / 404.9 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.2985, allocations: 42.97 kB / 405 MB, free: 8.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2986, allocations: 69.25 kB / 405 MB, free: 8.336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.3013, allocations: 0.5603 MB / 405.6 MB, free: 8.207 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3014, allocations: 5.641 kB / 405.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000977/0.3023, allocations: 279.2 kB / 405.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3024, allocations: 5.344 kB / 405.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3024, allocations: 5.25 kB / 405.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000914/0.3033, allocations: 160 kB / 406 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.3034, allocations: 25.11 kB / 406.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.306, allocations: 1.971 MB / 408 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3062, allocations: 9.047 kB / 408.1 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3062, allocations: 4.875 kB / 408.1 MB, free: 6.371 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: p1 = 100000.0. 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 (13): * Single equations (assignments): 12 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.3065, allocations: 126.4 kB / 408.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.3065, allocations: 11.81 kB / 408.2 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.3066, allocations: 19.38 kB / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3066, allocations: 2.531 kB / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.3066, allocations: 4.672 kB / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3066, allocations: 2.969 kB / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.308, allocations: 0.5665 MB / 408.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.308, allocations: 0 / 408.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.3081, allocations: 11.92 kB / 408.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.3101, allocations: 291.3 kB / 409.1 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3102, allocations: 7.938 kB / 409.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.3127, allocations: 1.974 MB / 411.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3128, allocations: 1.188 kB / 411.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3139, allocations: 433.2 kB / 411.5 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.3139, allocations: 85.31 kB / 411.6 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.314, allocations: 2.906 kB / 411.6 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3141, allocations: 5.625 kB / 411.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.3141, allocations: 20.25 kB / 411.6 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3142, allocations: 8.578 kB / 411.6 MB, free: 3.711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.3142, allocations: 87.72 kB / 411.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3142, allocations: 0 / 411.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.3146, allocations: 35 kB / 411.7 MB, free: 3.625 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,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 (9): * Single equations (assignments): 8 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.3159, allocations: 0.9581 MB / 412.7 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000875/0.3168, allocations: 326.8 kB / 413 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3168, allocations: 0 / 413 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.3174, allocations: 249.7 kB / 413.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3177, allocations: 16.17 kB / 413.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.3207, allocations: 1.955 MB / 415.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.3209, allocations: 0.706 MB / 415.9 MB, free: 316 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.3209, allocations: 5.531 kB / 415.9 MB, free: 316 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.321, allocations: 25.75 kB / 416 MB, free: 296 kB / 286.1 MB Notification: Performance of SimCode: time 6.91e-07/0.321, allocations: 0 / 416 MB, free: 296 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.3531, allocations: 3.086 MB / 419 MB, free: 15.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.895/10.25, allocations: 11.97 kB / 419.1 MB, free: 15.87 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial_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_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)