Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",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.007534/0.007534, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001659/0.001659, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.002878/0.002878, allocations: 0.5596 MB / 291.1 MB, free: 14.15 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.84 kB / 401.9 MB, free: 32.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.09038, allocations: 49.59 MB / 451.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4433/0.5337, allocations: 179.4 MB / 0.6161 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.5393, allocations: 3.17 MB / 0.6192 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007674/0.5401, allocations: 23.81 kB / 0.6192 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.5414, allocations: 409.5 kB / 0.6196 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.5457, allocations: 1.604 MB / 0.6212 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.5485, allocations: 1.107 MB / 0.6223 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002934/0.5515, allocations: 2.423 MB / 0.6246 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.5526, allocations: 0.5957 MB / 0.6252 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.5552, allocations: 1.02 MB / 0.6262 GB, free: 4.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.5567, allocations: 0.7317 MB / 0.6269 GB, free: 4.098 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.5571, allocations: 80 kB / 0.627 GB, free: 4.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.5599, allocations: 1.014 MB / 0.628 GB, free: 3.004 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.5604, allocations: 327.1 kB / 0.6283 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008525/0.5613, allocations: 493.8 kB / 0.6288 GB, free: 2.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.5645, allocations: 1.744 MB / 0.6305 GB, free: 460 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5646, allocations: 3.938 kB / 0.6305 GB, free: 456 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5646, allocations: 0 / 0.6305 GB, free: 456 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.5646, allocations: 4 kB / 0.6305 GB, free: 452 kB / 462.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.002935/0.5676, allocations: 1.32 MB / 0.6318 GB, free: 15.06 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.5676, allocations: 8.031 kB / 0.6318 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.5678, allocations: 130.5 kB / 0.6319 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.569, allocations: 171.1 kB / 0.6321 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.57, allocations: 0.5941 MB / 0.6326 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.5702, allocations: 181.6 kB / 0.6328 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.5704, allocations: 75.89 kB / 0.6329 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.5721, allocations: 1.083 MB / 0.6339 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.5722, allocations: 7.938 kB / 0.634 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.92e-05/0.5723, allocations: 36 kB / 0.634 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/0.5723, allocations: 41.23 kB / 0.634 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.5737, allocations: 0.7855 MB / 0.6348 GB, free: 11.79 MB / 478.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.005933/0.5796, allocations: 5.722 MB / 0.6404 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.5804, allocations: 404.6 kB / 0.6408 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.5807, allocations: 223.2 kB / 0.641 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.581, allocations: 263.3 kB / 0.6412 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.581, allocations: 38.56 kB / 0.6413 GB, free: 4.699 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.581, allocations: 0 / 0.6413 GB, free: 4.699 MB / 478.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.01027/0.5913, allocations: 3.011 MB / 0.6442 GB, free: 1.609 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.5914, allocations: 111.4 kB / 0.6443 GB, free: 1.477 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.5925, allocations: 0.6799 MB / 0.645 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.5926, allocations: 41.69 kB / 0.645 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.5929, allocations: 475.5 kB / 0.6455 GB, free: 280 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.5931, allocations: 206.3 kB / 0.6457 GB, free: 72 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.5935, allocations: 235 kB / 0.6459 GB, free: 15.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5937, allocations: 382.8 kB / 0.6463 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.5942, allocations: 282.5 kB / 0.6465 GB, free: 15.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.5953, allocations: 0.7707 MB / 0.6473 GB, free: 14.17 MB / 494.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.01491/0.6102, allocations: 3.323 MB / 0.6505 GB, free: 10.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.6102, allocations: 4 kB / 0.6505 GB, free: 10.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002193/0.6124, allocations: 1.222 MB / 0.6517 GB, free: 9.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6125, allocations: 12 kB / 0.6517 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.6125, allocations: 19.94 kB / 0.6518 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.6135, allocations: 273 kB / 0.652 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.6141, allocations: 207.7 kB / 0.6522 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009703/0.6151, allocations: 0.906 MB / 0.6531 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.6158, allocations: 40 kB / 0.6531 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.616, allocations: 96.03 kB / 0.6532 GB, free: 7.801 MB / 494.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.0005002/0.6165, allocations: 301.3 kB / 0.6535 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.6167, allocations: 83.48 kB / 0.6536 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.619, allocations: 1.199 MB / 0.6548 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.619, allocations: 8 kB / 0.6548 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.619, allocations: 0 / 0.6548 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.619, allocations: 3.984 kB / 0.6548 GB, free: 6.188 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.003161/0.6222, allocations: 1.982 MB / 0.6567 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6222, allocations: 4 kB / 0.6567 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.6225, allocations: 91.89 kB / 0.6568 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.6239, allocations: 288.6 kB / 0.6571 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.624, allocations: 27.98 kB / 0.6571 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.625, allocations: 0.848 MB / 0.6579 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.625, allocations: 7.875 kB / 0.6579 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.627, allocations: 1.139 MB / 0.6591 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.6274, allocations: 216.6 kB / 0.6593 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.6276, allocations: 15.95 kB / 0.6593 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.6281, allocations: 19.98 kB / 0.6593 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.6282, allocations: 60.44 kB / 0.6594 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.7e-05/0.6283, allocations: 67.97 kB / 0.6594 GB, free: 1.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006305/0.6289, allocations: 471 kB / 0.6599 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.6289, allocations: 0 / 0.6599 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001219/0.6302, allocations: 355.5 kB / 0.6602 GB, free: 420 kB / 494.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.003541/0.6337, allocations: 1.963 MB / 0.6621 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.6356, allocations: 0.7905 MB / 0.6629 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.6356, allocations: 3.859 kB / 0.6629 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.6365, allocations: 339 kB / 0.6632 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.6386, allocations: 422.2 kB / 0.6636 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6496, allocations: 7.515 MB / 0.671 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.6502, allocations: 0.9907 MB / 0.6719 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001276/0.6515, allocations: 0.5774 MB / 0.6725 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.6521, allocations: 347.3 kB / 0.6728 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.6521, allocations: 0 / 0.6728 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06116/0.7133, allocations: 28.99 MB / 0.7011 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.42, allocations: 12.7 kB / 0.7011 GB, free: 6.266 MB / 0.5294 GB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent_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_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)