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.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.001306/0.001306, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001454/0.001454, allocations: 216.2 kB / 22.26 MB, free: 5.125 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.977 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.002784/0.002784, allocations: 0.5692 MB / 313 MB, free: 2.504 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.89 kB / 435.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.1006, allocations: 53.53 MB / 488.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4341/0.5347, allocations: 183.1 MB / 0.6561 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005995/0.5407, allocations: 3.176 MB / 0.6592 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.5414, allocations: 27.75 kB / 0.6592 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.5425, allocations: 409.4 kB / 0.6596 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.5468, allocations: 1.646 MB / 0.6612 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.5496, allocations: 1.13 MB / 0.6623 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.5529, allocations: 2.458 MB / 0.6647 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008582/0.5538, allocations: 0.5221 MB / 0.6652 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.5558, allocations: 1.02 MB / 0.6662 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.5569, allocations: 0.7862 MB / 0.667 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.5571, allocations: 80 kB / 0.6671 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.5595, allocations: 1.077 MB / 0.6681 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003458/0.5598, allocations: 334.9 kB / 0.6685 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.5604, allocations: 489.8 kB / 0.6689 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.5629, allocations: 1.741 MB / 0.6706 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.563, allocations: 0 / 0.6706 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.563, allocations: 0 / 0.6706 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.563, allocations: 4 kB / 0.6706 GB, free: 6.16 MB / 0.4981 GB 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.002624/0.5656, allocations: 1.245 MB / 0.6718 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.5656, allocations: 15.97 kB / 0.6719 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.5658, allocations: 126.5 kB / 0.672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5669, allocations: 171.3 kB / 0.6721 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.5679, allocations: 0.5285 MB / 0.6727 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.5681, allocations: 279.6 kB / 0.6729 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.5682, allocations: 75.97 kB / 0.673 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.5698, allocations: 1.074 MB / 0.674 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.5699, allocations: 3.938 kB / 0.6741 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/0.57, allocations: 39.98 kB / 0.6741 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.57, allocations: 37.3 kB / 0.6741 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.5713, allocations: 0.7893 MB / 0.6749 GB, free: 1.562 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.006099/0.5774, allocations: 5.609 MB / 0.6804 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.5781, allocations: 366.5 kB / 0.6807 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.5784, allocations: 218.8 kB / 0.6809 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.5786, allocations: 31.97 kB / 0.681 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.5786, allocations: 42.5 kB / 0.681 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.5786, allocations: 0 / 0.681 GB, free: 10.92 MB / 0.5137 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.009554/0.5882, allocations: 2.861 MB / 0.6838 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.5883, allocations: 115.2 kB / 0.6839 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008228/0.5891, allocations: 0.6838 MB / 0.6846 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.5891, allocations: 37.7 kB / 0.6846 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.5895, allocations: 475.5 kB / 0.6851 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.5897, allocations: 210.2 kB / 0.6853 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.59, allocations: 234.8 kB / 0.6855 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5902, allocations: 382.8 kB / 0.6859 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.5906, allocations: 282.5 kB / 0.6861 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.5915, allocations: 0.7707 MB / 0.6869 GB, free: 4.559 MB / 0.5137 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.01523/0.6067, allocations: 3.232 MB / 0.69 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.6067, allocations: 4 kB / 0.69 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002065/0.6088, allocations: 1.221 MB / 0.6912 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6088, allocations: 12 kB / 0.6912 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.6089, allocations: 16 kB / 0.6913 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008829/0.6097, allocations: 268.8 kB / 0.6915 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.6103, allocations: 207.7 kB / 0.6917 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009875/0.6113, allocations: 0.9025 MB / 0.6926 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.6119, allocations: 43.97 kB / 0.6926 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.612, allocations: 104 kB / 0.6927 GB, free: 14.3 MB / 0.5294 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.0004613/0.6125, allocations: 291.7 kB / 0.693 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.6126, allocations: 83.48 kB / 0.6931 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.6149, allocations: 1.191 MB / 0.6943 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.6149, allocations: 11.94 kB / 0.6943 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6149, allocations: 4 kB / 0.6943 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6149, allocations: 3.984 kB / 0.6943 GB, free: 12.7 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.002997/0.6179, allocations: 1.73 MB / 0.696 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6179, allocations: 0 / 0.696 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.6182, allocations: 87.91 kB / 0.696 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.6196, allocations: 287.7 kB / 0.6963 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.6197, allocations: 31.98 kB / 0.6963 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009554/0.6206, allocations: 0.8371 MB / 0.6972 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6206, allocations: 0 / 0.6972 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.6226, allocations: 1.134 MB / 0.6983 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.623, allocations: 143.4 kB / 0.6984 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.6231, allocations: 12 kB / 0.6984 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.6235, allocations: 19.94 kB / 0.6984 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.6235, allocations: 56.34 kB / 0.6985 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/0.6236, allocations: 67.98 kB / 0.6986 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005736/0.6242, allocations: 478.9 kB / 0.699 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6242, allocations: 0 / 0.699 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001185/0.6254, allocations: 351.6 kB / 0.6994 GB, free: 7.359 MB / 0.5294 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.003184/0.6286, allocations: 1.943 MB / 0.7012 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.6302, allocations: 0.7564 MB / 0.702 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6302, allocations: 1.5 kB / 0.702 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.631, allocations: 322.9 kB / 0.7023 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.6328, allocations: 413.4 kB / 0.7027 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2244/0.8572, allocations: 7.511 MB / 0.71 GB, free: 195.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.8577, allocations: 0.9891 MB / 0.711 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001371/0.859, allocations: 0.583 MB / 0.7116 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.8595, allocations: 342.7 kB / 0.7119 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.462e-06/0.8595, allocations: 0 / 0.7119 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0637/0.9232, allocations: 29.84 MB / 0.741 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.39, allocations: 18.72 kB / 0.741 GB, free: 178.8 MB / 0.5294 GB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.947737668000627] Failed to read output from testmodel.py, exit status != 0: 14.516922373997659 14.531649468 13.966489648 Calling exit ...