Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.001103/0.001103, 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.00133/0.00133, allocations: 192.8 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.00289/0.002889, allocations: 0.5624 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.88 kB / 351.7 MB, free: 2.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07903, allocations: 49.58 MB / 401.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.506/0.585, allocations: 179.3 MB / 0.567 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004747/0.5898, allocations: 3.172 MB / 0.5701 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.5903, allocations: 19.59 kB / 0.5701 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008612/0.5912, allocations: 406.1 kB / 0.5705 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.5945, allocations: 1.588 MB / 0.572 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.5969, allocations: 1.106 MB / 0.5731 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002641/0.5996, allocations: 2.418 MB / 0.5755 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008399/0.6004, allocations: 0.5981 MB / 0.5761 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.6024, allocations: 0.9912 MB / 0.577 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.6035, allocations: 0.7383 MB / 0.5778 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.6037, allocations: 79.97 kB / 0.5778 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.6061, allocations: 0.9816 MB / 0.5788 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.6064, allocations: 316.6 kB / 0.5791 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.6069, allocations: 492.7 kB / 0.5796 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.6088, allocations: 1.726 MB / 0.5812 GB, free: 1.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6088, allocations: 0.8438 kB / 0.5812 GB, free: 1.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6088, allocations: 4.609 kB / 0.5812 GB, free: 1.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.6088, allocations: 0 / 0.5812 GB, free: 1.277 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002361/0.6112, allocations: 1.303 MB / 0.5825 GB, free: 16.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6113, allocations: 10.25 kB / 0.5825 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.6114, allocations: 128.4 kB / 0.5827 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.6124, allocations: 163.1 kB / 0.5828 GB, free: 16.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007507/0.6132, allocations: 0.5603 MB / 0.5834 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.6133, allocations: 178 kB / 0.5835 GB, free: 16.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6135, allocations: 73.59 kB / 0.5836 GB, free: 16.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.6148, allocations: 1.095 MB / 0.5847 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.6148, allocations: 6.562 kB / 0.5847 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.615, allocations: 32.73 kB / 0.5847 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.615, allocations: 40.97 kB / 0.5847 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.6161, allocations: 0.7808 MB / 0.5855 GB, free: 15.82 MB / 446.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.005034/0.6211, allocations: 5.729 MB / 0.5911 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.6217, allocations: 396.1 kB / 0.5915 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.622, allocations: 218.2 kB / 0.5917 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.6223, allocations: 266.6 kB / 0.5919 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.6223, allocations: 41.59 kB / 0.592 GB, free: 11.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 1.924e-06/0.6223, allocations: 0 / 0.592 GB, free: 11.48 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009291/0.6316, allocations: 2.993 MB / 0.5949 GB, free: 10.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.6317, allocations: 110.1 kB / 0.595 GB, free: 10.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.6323, allocations: 0.6805 MB / 0.5957 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.6324, allocations: 39.11 kB / 0.5957 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.6327, allocations: 462.4 kB / 0.5962 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.6328, allocations: 207.1 kB / 0.5963 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.6331, allocations: 228.8 kB / 0.5966 GB, free: 10.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6333, allocations: 393.8 kB / 0.5969 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.6337, allocations: 281.2 kB / 0.5972 GB, free: 9.785 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.6344, allocations: 0.7676 MB / 0.598 GB, free: 9.176 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/0.6496, allocations: 3.313 MB / 0.6012 GB, free: 8.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.6497, allocations: 6.062 kB / 0.6012 GB, free: 8.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001822/0.6515, allocations: 1.216 MB / 0.6024 GB, free: 8.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6515, allocations: 11.64 kB / 0.6024 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.6515, allocations: 19.53 kB / 0.6024 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008402/0.6524, allocations: 277.6 kB / 0.6027 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.6529, allocations: 204.5 kB / 0.6029 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008383/0.6538, allocations: 0.9045 MB / 0.6038 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.6544, allocations: 43.98 kB / 0.6038 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.6545, allocations: 99.11 kB / 0.6039 GB, free: 7.848 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.655, allocations: 295.9 kB / 0.6042 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.6551, allocations: 82.84 kB / 0.6043 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.6575, allocations: 1.208 MB / 0.6054 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.6575, allocations: 5.969 kB / 0.6054 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6576, allocations: 6.281 kB / 0.6055 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6576, allocations: 2.344 kB / 0.6055 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.6603, allocations: 1.983 MB / 0.6074 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6603, allocations: 0 / 0.6074 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.6606, allocations: 97.38 kB / 0.6075 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.662, allocations: 284.2 kB / 0.6078 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.6621, allocations: 32.19 kB / 0.6078 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008438/0.6629, allocations: 0.8365 MB / 0.6086 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6629, allocations: 4.016 kB / 0.6086 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.6647, allocations: 1.13 MB / 0.6097 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.6651, allocations: 219.7 kB / 0.6099 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.6652, allocations: 16.48 kB / 0.6099 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.6656, allocations: 24.64 kB / 0.61 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.6657, allocations: 53.92 kB / 0.61 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.6658, allocations: 63.75 kB / 0.6101 GB, free: 5.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005583/0.6664, allocations: 471.8 kB / 0.6105 GB, free: 5.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6664, allocations: 0 / 0.6105 GB, free: 5.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001157/0.6676, allocations: 349.1 kB / 0.6109 GB, free: 5.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002922/0.6705, allocations: 1.959 MB / 0.6128 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.672, allocations: 0.8511 MB / 0.6136 GB, free: 4.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.672, allocations: 3.859 kB / 0.6136 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.6727, allocations: 333.3 kB / 0.6139 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.6746, allocations: 420.5 kB / 0.6143 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009809/0.6844, allocations: 7.781 MB / 0.6219 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.685, allocations: 0.9875 MB / 0.6229 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001737/0.6868, allocations: 0.5867 MB / 0.6235 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.6874, allocations: 337.6 kB / 0.6238 GB, free: 12.3 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6874, allocations: 4 kB / 0.6238 GB, free: 12.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.7408, allocations: 28.64 MB / 0.6518 GB, free: 80 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.1, allocations: 7.031 kB / 0.6518 GB, free: 76 kB / 478.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial_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_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)