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.001321/0.001321, 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.001516/0.001516, allocations: 193.5 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.002969/0.002969, allocations: 0.5702 MB / 291 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 59.91 kB / 351.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1181, allocations: 49.59 MB / 401.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.7038/0.822, allocations: 179.3 MB / 0.567 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006495/0.8286, allocations: 3.176 MB / 0.5701 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.8295, allocations: 22.44 kB / 0.5701 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.8306, allocations: 403.5 kB / 0.5705 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.8351, allocations: 1.587 MB / 0.572 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.8381, allocations: 1.113 MB / 0.5731 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.8412, allocations: 2.42 MB / 0.5755 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009042/0.8422, allocations: 0.595 MB / 0.5761 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.8443, allocations: 0.9837 MB / 0.577 GB, free: 1.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.8455, allocations: 0.7358 MB / 0.5778 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.8457, allocations: 83.25 kB / 0.5778 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.8481, allocations: 0.9776 MB / 0.5788 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.8484, allocations: 321 kB / 0.5791 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006788/0.8491, allocations: 499.2 kB / 0.5796 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.8518, allocations: 1.723 MB / 0.5813 GB, free: 1.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8518, allocations: 0.9062 kB / 0.5813 GB, free: 1.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.8518, allocations: 0 / 0.5813 GB, free: 1.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.8518, allocations: 0.9688 kB / 0.5813 GB, free: 1.219 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.002594/0.8544, allocations: 1.303 MB / 0.5825 GB, free: 16.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.8544, allocations: 10.75 kB / 0.5825 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.8546, allocations: 122.6 kB / 0.5827 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.8556, allocations: 170.6 kB / 0.5828 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00087/0.8565, allocations: 0.559 MB / 0.5834 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.8567, allocations: 178.3 kB / 0.5835 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.8568, allocations: 76.94 kB / 0.5836 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.8584, allocations: 1.096 MB / 0.5847 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.8584, allocations: 5.156 kB / 0.5847 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.8585, allocations: 31.88 kB / 0.5847 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.8586, allocations: 38.08 kB / 0.5847 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.8597, allocations: 0.7859 MB / 0.5855 GB, free: 15.76 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.006649/0.8664, allocations: 5.726 MB / 0.5911 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.8672, allocations: 396.8 kB / 0.5915 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.8675, allocations: 219.8 kB / 0.5917 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.8678, allocations: 261.9 kB / 0.5919 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.8679, allocations: 46.75 kB / 0.592 GB, free: 11.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.705e-06/0.8679, allocations: 0 / 0.592 GB, free: 11.42 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.01067/0.8786, allocations: 3.001 MB / 0.5949 GB, free: 10.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8787, allocations: 107.8 kB / 0.595 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/0.8795, allocations: 0.6762 MB / 0.5957 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.8796, allocations: 38.52 kB / 0.5957 GB, free: 10.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.8799, allocations: 466.5 kB / 0.5962 GB, free: 10.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.8801, allocations: 200.3 kB / 0.5964 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.8804, allocations: 231.6 kB / 0.5966 GB, free: 10.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002818/0.8807, allocations: 393.8 kB / 0.597 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.8811, allocations: 280.9 kB / 0.5972 GB, free: 9.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009421/0.8821, allocations: 0.7669 MB / 0.598 GB, free: 9.113 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.01605/0.8981, allocations: 3.312 MB / 0.6012 GB, free: 8.414 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.8982, allocations: 3.188 kB / 0.6012 GB, free: 8.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001994/0.9002, allocations: 1.215 MB / 0.6024 GB, free: 8.324 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.9002, allocations: 14.66 kB / 0.6024 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.9003, allocations: 19.88 kB / 0.6024 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/0.9011, allocations: 273.9 kB / 0.6027 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.9017, allocations: 209.7 kB / 0.6029 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009915/0.9027, allocations: 0.9045 MB / 0.6038 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.9034, allocations: 41.28 kB / 0.6038 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9035, allocations: 98.48 kB / 0.6039 GB, free: 7.789 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.0004855/0.904, allocations: 300.2 kB / 0.6042 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.9042, allocations: 81.69 kB / 0.6043 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.9068, allocations: 1.204 MB / 0.6054 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.9068, allocations: 6.188 kB / 0.6054 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.9069, allocations: 4 kB / 0.6055 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.9069, allocations: 4.375 kB / 0.6055 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.9099, allocations: 1.987 MB / 0.6074 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9099, allocations: 0 / 0.6074 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.9102, allocations: 92.08 kB / 0.6075 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.9117, allocations: 295.3 kB / 0.6078 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.9118, allocations: 28.27 kB / 0.6078 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.9128, allocations: 0.8361 MB / 0.6086 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9128, allocations: 3.188 kB / 0.6086 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.9149, allocations: 1.123 MB / 0.6097 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.9154, allocations: 224.2 kB / 0.6099 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.9155, allocations: 15.52 kB / 0.6099 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.916, allocations: 25.03 kB / 0.61 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.9161, allocations: 55.03 kB / 0.61 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.9162, allocations: 61.17 kB / 0.6101 GB, free: 5.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006554/0.9168, allocations: 472.3 kB / 0.6105 GB, free: 5.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9168, allocations: 0 / 0.6105 GB, free: 5.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001298/0.9181, allocations: 349.6 kB / 0.6109 GB, free: 5.688 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.003385/0.9215, allocations: 1.96 MB / 0.6128 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.9233, allocations: 0.8491 MB / 0.6136 GB, free: 4.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.9233, allocations: 3.859 kB / 0.6136 GB, free: 4.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.924, allocations: 335.8 kB / 0.6139 GB, free: 4.812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.9261, allocations: 425.7 kB / 0.6143 GB, free: 4.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.9387, allocations: 7.768 MB / 0.6219 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.9395, allocations: 0.9946 MB / 0.6229 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001839/0.9413, allocations: 0.5798 MB / 0.6235 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/0.9419, allocations: 342.6 kB / 0.6238 GB, free: 12.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.9419, allocations: 0 / 0.6238 GB, free: 12.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06795/1.01, allocations: 28.65 MB / 0.6518 GB, free: 8 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.36, allocations: 8.219 kB / 0.6518 GB, free: 0 / 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)