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.01003/0.01003, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001815/0.001815, allocations: 201.6 kB / 16.68 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.003249/0.003249, allocations: 0.5663 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1499/0.1499, allocations: 52.39 kB / 401.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.2479, allocations: 49.6 MB / 451.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.441/0.6889, allocations: 179.4 MB / 0.6161 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00537/0.6943, allocations: 3.171 MB / 0.6192 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007464/0.6951, allocations: 22.97 kB / 0.6192 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.6963, allocations: 404.1 kB / 0.6196 GB, free: 9.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.7008, allocations: 1.603 MB / 0.6212 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.7039, allocations: 1.111 MB / 0.6223 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002996/0.7069, allocations: 2.426 MB / 0.6246 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008943/0.7078, allocations: 0.6029 MB / 0.6252 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.7097, allocations: 1.013 MB / 0.6262 GB, free: 6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.7107, allocations: 0.7359 MB / 0.6269 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.7108, allocations: 80.59 kB / 0.627 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.7131, allocations: 1.02 MB / 0.628 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.7134, allocations: 324.5 kB / 0.6283 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005163/0.7139, allocations: 487 kB / 0.6288 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.7164, allocations: 1.746 MB / 0.6305 GB, free: 3.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7164, allocations: 3.938 kB / 0.6305 GB, free: 3.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7164, allocations: 0 / 0.6305 GB, free: 3.676 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.7165, allocations: 4 kB / 0.6305 GB, free: 3.672 MB / 446.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.00248/0.7189, allocations: 1.329 MB / 0.6318 GB, free: 2.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.719, allocations: 10.06 kB / 0.6318 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.7192, allocations: 125.8 kB / 0.6319 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.7202, allocations: 174.1 kB / 0.6321 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.7212, allocations: 0.5918 MB / 0.6327 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.7213, allocations: 183.6 kB / 0.6328 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.7214, allocations: 74.02 kB / 0.6329 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.723, allocations: 1.088 MB / 0.634 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.723, allocations: 6.625 kB / 0.634 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.7231, allocations: 34.03 kB / 0.634 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.7232, allocations: 32.94 kB / 0.634 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.7244, allocations: 0.786 MB / 0.6348 GB, free: 264 kB / 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.005618/0.73, allocations: 5.718 MB / 0.6404 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.7307, allocations: 395.3 kB / 0.6408 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.7311, allocations: 224.8 kB / 0.641 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.7313, allocations: 268.4 kB / 0.6412 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.7314, allocations: 42.59 kB / 0.6413 GB, free: 9.207 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 1.663e-06/0.7314, allocations: 0 / 0.6413 GB, free: 9.207 MB / 462.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.009768/0.7412, allocations: 3.003 MB / 0.6442 GB, free: 6.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.7413, allocations: 115.4 kB / 0.6443 GB, free: 5.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.7421, allocations: 0.6721 MB / 0.645 GB, free: 5.301 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.7421, allocations: 37.7 kB / 0.645 GB, free: 5.258 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.7425, allocations: 484.1 kB / 0.6455 GB, free: 4.789 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.7426, allocations: 210.3 kB / 0.6457 GB, free: 4.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.7429, allocations: 226.8 kB / 0.6459 GB, free: 4.359 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7431, allocations: 386.8 kB / 0.6463 GB, free: 3.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.7436, allocations: 282.5 kB / 0.6465 GB, free: 3.695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/0.7445, allocations: 0.7669 MB / 0.6473 GB, free: 2.695 MB / 462.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.01508/0.7596, allocations: 3.311 MB / 0.6505 GB, free: 15.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.7596, allocations: 4 kB / 0.6505 GB, free: 15.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001925/0.7615, allocations: 1.222 MB / 0.6517 GB, free: 13.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.7616, allocations: 12 kB / 0.6517 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.7616, allocations: 16 kB / 0.6517 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00084/0.7624, allocations: 277.1 kB / 0.652 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.763, allocations: 211.6 kB / 0.6522 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009124/0.7639, allocations: 0.9072 MB / 0.6531 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.7646, allocations: 43.97 kB / 0.6531 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.7647, allocations: 95.98 kB / 0.6532 GB, free: 12.32 MB / 478.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.0004487/0.7652, allocations: 297.3 kB / 0.6535 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7653, allocations: 87.31 kB / 0.6536 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.7675, allocations: 1.213 MB / 0.6548 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.7675, allocations: 7.938 kB / 0.6548 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7675, allocations: 4 kB / 0.6548 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.7676, allocations: 3.984 kB / 0.6548 GB, free: 10.7 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 postOpt removeSimpleEquations (simulation): time 0.003014/0.7706, allocations: 1.978 MB / 0.6567 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.7706, allocations: 3.938 kB / 0.6567 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.7709, allocations: 95.89 kB / 0.6568 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.7723, allocations: 288.6 kB / 0.6571 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.7723, allocations: 27.98 kB / 0.6571 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009112/0.7733, allocations: 0.8393 MB / 0.6579 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7733, allocations: 7.938 kB / 0.6579 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.7751, allocations: 1.128 MB / 0.659 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.7755, allocations: 224.5 kB / 0.6593 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7756, allocations: 12.19 kB / 0.6593 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.7761, allocations: 23.98 kB / 0.6593 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.7762, allocations: 60.44 kB / 0.6593 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.7763, allocations: 59.97 kB / 0.6594 GB, free: 5.754 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005242/0.7768, allocations: 478.9 kB / 0.6599 GB, free: 5.293 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7768, allocations: 0 / 0.6599 GB, free: 5.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001139/0.7779, allocations: 355.5 kB / 0.6602 GB, free: 4.945 MB / 478.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.003003/0.7809, allocations: 1.963 MB / 0.6621 GB, free: 2.965 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.7825, allocations: 0.7905 MB / 0.6629 GB, free: 2.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7825, allocations: 7.859 kB / 0.6629 GB, free: 2.172 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.7833, allocations: 342.9 kB / 0.6632 GB, free: 1.836 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.7851, allocations: 407.4 kB / 0.6636 GB, free: 1.441 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/0.7945, allocations: 7.528 MB / 0.671 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.7951, allocations: 0.9908 MB / 0.6719 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.7964, allocations: 0.5839 MB / 0.6725 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.7969, allocations: 339.3 kB / 0.6728 GB, free: 7.371 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7969, allocations: 0 / 0.6728 GB, free: 7.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06457/0.8615, allocations: 29 MB / 0.7011 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.37, allocations: 8.766 kB / 0.7012 GB, free: 10.72 MB / 0.5137 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)