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.005854/0.005854, allocations: 101.3 kB / 15.73 MB, free: 6.062 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.001064/0.001064, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003112/0.003112, allocations: 0.5688 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 401.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09758, allocations: 49.59 MB / 451.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001744/0.09938, allocations: 0.5857 MB / 452.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.09964, allocations: 51.8 kB / 452.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.09969, allocations: 0 / 452.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.09972, allocations: 3.938 kB / 452.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.214e-05/0.09982, allocations: 3.938 kB / 452.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.09994, allocations: 19.95 kB / 452.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.1, allocations: 43.84 kB / 452.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.1001, allocations: 8.328 kB / 452.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.1002, allocations: 23.86 kB / 452.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.1002, allocations: 35.84 kB / 452.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1003, allocations: 4 kB / 452.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.1003, allocations: 4 kB / 452.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.1003, allocations: 7.984 kB / 452.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.1004, allocations: 27.84 kB / 452.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.1005, allocations: 32.06 kB / 452.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1005, allocations: 0 / 452.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1005, allocations: 0 / 452.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1005, allocations: 0 / 452.4 MB, free: 14.15 MB / 334.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.0005662/0.1011, allocations: 375.3 kB / 452.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1011, allocations: 8.031 kB / 452.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.1012, allocations: 38.73 kB / 452.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1012, allocations: 8.891 kB / 452.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1014, allocations: 172.3 kB / 453 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1014, allocations: 12.31 kB / 453 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.1014, allocations: 8.375 kB / 453 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1016, allocations: 66.23 kB / 453 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1016, allocations: 7.938 kB / 453.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1016, allocations: 3.984 kB / 453.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1016, allocations: 4 kB / 453.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.161e-05/0.1017, allocations: 31.98 kB / 453.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.1022, allocations: 308.9 kB / 453.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1025, allocations: 134.5 kB / 453.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.1026, allocations: 36.84 kB / 453.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1026, allocations: 4 kB / 453.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1026, allocations: 34.56 kB / 453.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1026, allocations: 0 / 453.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003346/0.106, allocations: 0.9282 MB / 454.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.106, allocations: 59.33 kB / 454.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.1061, allocations: 113.8 kB / 454.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1062, allocations: 37.62 kB / 454.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.1062, allocations: 84.42 kB / 454.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.1063, allocations: 67.44 kB / 454.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.1063, allocations: 33.7 kB / 454.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1064, allocations: 322.8 kB / 455.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.1065, allocations: 43.98 kB / 455.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.1066, allocations: 67.75 kB / 455.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.1091, allocations: 0.5634 MB / 455.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1091, allocations: 0 / 455.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008663/0.11, allocations: 278.1 kB / 456.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.11, allocations: 8 kB / 456.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.11, allocations: 0 / 456.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/0.1109, allocations: 164.6 kB / 456.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.111, allocations: 20 kB / 456.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.1135, allocations: 1.979 MB / 458.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.1136, allocations: 0 / 458.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1136, allocations: 8.094 kB / 458.3 MB, free: 7.711 MB / 334.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 = 1e5. 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.0002019/0.1138, allocations: 129.4 kB / 458.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1139, allocations: 12.17 kB / 458.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1139, allocations: 16.84 kB / 458.5 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1139, allocations: 7.938 kB / 458.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1139, allocations: 3.938 kB / 458.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1139, allocations: 0 / 458.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.1152, allocations: 0.5623 MB / 459.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1152, allocations: 4 kB / 459.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.1153, allocations: 15.97 kB / 459.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.1171, allocations: 284.5 kB / 459.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1171, allocations: 4 kB / 459.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.1195, allocations: 1.991 MB / 461.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1195, allocations: 4.031 kB / 461.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1205, allocations: 432.7 kB / 461.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.1206, allocations: 81.06 kB / 461.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1206, allocations: 8 kB / 461.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1207, allocations: 0 / 461.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.1208, allocations: 23.95 kB / 461.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1208, allocations: 8 kB / 461.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.111e-05/0.1208, allocations: 83.59 kB / 462 MB, free: 3.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1208, allocations: 3.938 kB / 462 MB, free: 3.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.1212, allocations: 32 kB / 462 MB, free: 3.781 MB / 334.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.001279/0.1225, allocations: 0.9671 MB / 463 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007703/0.1233, allocations: 316.6 kB / 463.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1233, allocations: 0 / 463.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.1238, allocations: 262.6 kB / 463.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1241, allocations: 11.94 kB / 463.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.127, allocations: 1.968 MB / 465.5 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1272, allocations: 0.7045 MB / 466.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.1273, allocations: 12.88 kB / 466.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.1273, allocations: 19.44 kB / 466.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1273, allocations: 0 / 466.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.1521, allocations: 3.136 MB / 469.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.591/9.743, allocations: 11.62 kB / 469.4 MB, free: 12.45 MB / 350.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)