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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 104.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002821/0.002821, allocations: 0.579 MB / 309.4 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 430 MB, free: 18.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.1004, allocations: 53.49 MB / 483.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4218/0.5221, allocations: 182.9 MB / 0.6507 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005827/0.528, allocations: 3.155 MB / 0.6538 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.5286, allocations: 31.75 kB / 0.6539 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.5297, allocations: 421.4 kB / 0.6543 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004057/0.5337, allocations: 1.619 MB / 0.6558 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.5365, allocations: 1.091 MB / 0.6569 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.5395, allocations: 2.427 MB / 0.6593 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007961/0.5403, allocations: 0.5376 MB / 0.6598 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.5421, allocations: 1.024 MB / 0.6608 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.5432, allocations: 0.7784 MB / 0.6616 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.5433, allocations: 80 kB / 0.6616 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.5455, allocations: 1.055 MB / 0.6627 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.5459, allocations: 335 kB / 0.663 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.5464, allocations: 485.8 kB / 0.6634 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.5492, allocations: 1.748 MB / 0.6652 GB, free: 2.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5492, allocations: 4 kB / 0.6652 GB, free: 2.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5492, allocations: 0 / 0.6652 GB, free: 2.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.5492, allocations: 7.938 kB / 0.6652 GB, free: 2.562 MB / 494.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.002826/0.552, allocations: 1.312 MB / 0.6664 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5521, allocations: 12.03 kB / 0.6665 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.5522, allocations: 126.5 kB / 0.6666 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5533, allocations: 171.3 kB / 0.6667 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009594/0.5543, allocations: 0.5902 MB / 0.6673 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.5545, allocations: 188.7 kB / 0.6675 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.5546, allocations: 64.05 kB / 0.6676 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.5564, allocations: 1.098 MB / 0.6686 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.5564, allocations: 3.938 kB / 0.6686 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5565, allocations: 35.98 kB / 0.6687 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.5565, allocations: 33.31 kB / 0.6687 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.558, allocations: 0.7854 MB / 0.6695 GB, free: 13.92 MB / 0.4981 GB 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.006469/0.5644, allocations: 5.657 MB / 0.675 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.5653, allocations: 374.5 kB / 0.6753 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.5657, allocations: 212.6 kB / 0.6756 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.566, allocations: 263.3 kB / 0.6758 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.566, allocations: 38.56 kB / 0.6758 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 4.338e-06/0.566, allocations: 3.984 kB / 0.6758 GB, free: 6.938 MB / 0.4981 GB 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.0105/0.5766, allocations: 3.012 MB / 0.6788 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.5766, allocations: 111.4 kB / 0.6789 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/0.5775, allocations: 0.6798 MB / 0.6796 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.5775, allocations: 37.7 kB / 0.6796 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.5779, allocations: 479.5 kB / 0.68 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.5781, allocations: 210.2 kB / 0.6802 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.5784, allocations: 230.8 kB / 0.6805 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.5786, allocations: 386.8 kB / 0.6808 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.5791, allocations: 282.5 kB / 0.6811 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.58, allocations: 0.7668 MB / 0.6819 GB, free: 412 kB / 0.4981 GB 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.01618/0.5962, allocations: 3.311 MB / 0.6851 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.5962, allocations: 8 kB / 0.6851 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002168/0.5984, allocations: 1.218 MB / 0.6863 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.5984, allocations: 14.19 kB / 0.6863 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.5985, allocations: 16 kB / 0.6863 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.5994, allocations: 273.2 kB / 0.6866 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.6, allocations: 207.7 kB / 0.6868 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.601, allocations: 0.9027 MB / 0.6877 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.6017, allocations: 43.94 kB / 0.6877 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.6018, allocations: 104 kB / 0.6878 GB, free: 10.04 MB / 0.5137 GB 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.0004622/0.6023, allocations: 292.5 kB / 0.6881 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6024, allocations: 83.48 kB / 0.6882 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.6049, allocations: 1.196 MB / 0.6893 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.6049, allocations: 11.94 kB / 0.6893 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6049, allocations: 3.938 kB / 0.6893 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6049, allocations: 3.984 kB / 0.6893 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.6081, allocations: 1.978 MB / 0.6913 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6081, allocations: 0 / 0.6913 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.6084, allocations: 95.89 kB / 0.6914 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.61, allocations: 280.6 kB / 0.6916 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.61, allocations: 35.97 kB / 0.6917 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.611, allocations: 0.8444 MB / 0.6925 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.611, allocations: 4 kB / 0.6925 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.6131, allocations: 1.124 MB / 0.6936 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.6135, allocations: 220.5 kB / 0.6938 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6136, allocations: 16 kB / 0.6938 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.614, allocations: 23.92 kB / 0.6938 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.6141, allocations: 52.45 kB / 0.6939 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.6142, allocations: 67.97 kB / 0.694 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006249/0.6149, allocations: 474.9 kB / 0.6944 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6149, allocations: 0 / 0.6944 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001249/0.6161, allocations: 347.5 kB / 0.6947 GB, free: 2.684 MB / 0.5137 GB 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.003233/0.6194, allocations: 1.938 MB / 0.6966 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.621, allocations: 0.7553 MB / 0.6974 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.621, allocations: 4 kB / 0.6974 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.6218, allocations: 319 kB / 0.6977 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.6237, allocations: 419 kB / 0.6981 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.6343, allocations: 7.513 MB / 0.7054 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.635, allocations: 0.9868 MB / 0.7064 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001268/0.6363, allocations: 0.5773 MB / 0.7069 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.6368, allocations: 351.3 kB / 0.7073 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.6368, allocations: 3.938 kB / 0.7073 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2404/0.8772, allocations: 28.99 MB / 0.7356 GB, free: 214 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.87, allocations: 1.406 kB / 0.7356 GB, free: 214 MB / 0.545 GB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.397621538009844] Failed to read output from testmodel.py, exit status != 0: 13.976642406996689 13.988454042 13.4370079 Calling exit ...