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.001267/0.001267, 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.001356/0.001356, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.003629/0.003628, allocations: 0.5698 MB / 291 MB, free: 1.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.89 kB / 351.7 MB, free: 2.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1169, allocations: 49.6 MB / 401.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.6008/0.7178, allocations: 179.3 MB / 0.567 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004755/0.7226, allocations: 3.172 MB / 0.5701 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.7234, allocations: 24.44 kB / 0.5701 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.7245, allocations: 406.5 kB / 0.5705 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.7283, allocations: 1.588 MB / 0.572 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.731, allocations: 1.109 MB / 0.5731 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.7342, allocations: 2.417 MB / 0.5755 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009373/0.7352, allocations: 0.6018 MB / 0.5761 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.7375, allocations: 0.9892 MB / 0.577 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.7387, allocations: 0.7391 MB / 0.5778 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.7389, allocations: 81.61 kB / 0.5778 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.7413, allocations: 0.9753 MB / 0.5788 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.7416, allocations: 318.9 kB / 0.5791 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.7422, allocations: 498.1 kB / 0.5796 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.7443, allocations: 1.724 MB / 0.5813 GB, free: 1.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7443, allocations: 0 / 0.5813 GB, free: 1.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7443, allocations: 0.8438 kB / 0.5813 GB, free: 1.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.7443, allocations: 0 / 0.5813 GB, free: 1.25 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.002781/0.7471, allocations: 1.307 MB / 0.5825 GB, free: 16.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.7472, allocations: 7.688 kB / 0.5825 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.7474, allocations: 127.1 kB / 0.5827 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.7484, allocations: 166.3 kB / 0.5828 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.7494, allocations: 0.5595 MB / 0.5834 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.7496, allocations: 180.2 kB / 0.5835 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.7497, allocations: 77.14 kB / 0.5836 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.7512, allocations: 1.091 MB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.7512, allocations: 5.312 kB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.7513, allocations: 32.69 kB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.7514, allocations: 37.61 kB / 0.5848 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.7524, allocations: 0.784 MB / 0.5855 GB, free: 15.79 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.006622/0.759, allocations: 5.729 MB / 0.5911 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.7597, allocations: 393.6 kB / 0.5915 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.76, allocations: 218.5 kB / 0.5917 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.7603, allocations: 265.9 kB / 0.5919 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.7603, allocations: 40.69 kB / 0.592 GB, free: 11.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 6.692e-06/0.7603, allocations: 3.984 kB / 0.592 GB, free: 11.45 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.009414/0.7698, allocations: 2.991 MB / 0.5949 GB, free: 10.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.7699, allocations: 113.4 kB / 0.595 GB, free: 10.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.7706, allocations: 0.6752 MB / 0.5957 GB, free: 10.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.7707, allocations: 41.83 kB / 0.5957 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.7711, allocations: 461.7 kB / 0.5962 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.7713, allocations: 203.2 kB / 0.5964 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.7715, allocations: 229 kB / 0.5966 GB, free: 10.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.7717, allocations: 389.6 kB / 0.5969 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.7722, allocations: 285.2 kB / 0.5972 GB, free: 9.758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/0.773, allocations: 0.7672 MB / 0.598 GB, free: 9.152 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.0145/0.7875, allocations: 3.317 MB / 0.6012 GB, free: 8.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.7875, allocations: 6.156 kB / 0.6012 GB, free: 8.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001718/0.7893, allocations: 1.216 MB / 0.6024 GB, free: 8.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7893, allocations: 14.31 kB / 0.6024 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7893, allocations: 15.66 kB / 0.6024 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007935/0.7901, allocations: 277.8 kB / 0.6027 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.7906, allocations: 211 kB / 0.6029 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008538/0.7915, allocations: 0.9065 MB / 0.6038 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.7921, allocations: 36.84 kB / 0.6038 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/0.7922, allocations: 100.5 kB / 0.6039 GB, free: 7.816 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.0004296/0.7926, allocations: 294.8 kB / 0.6042 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.7928, allocations: 84.89 kB / 0.6043 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.7951, allocations: 1.212 MB / 0.6055 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.7951, allocations: 6.344 kB / 0.6055 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.7951, allocations: 0 / 0.6055 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.7951, allocations: 2.578 kB / 0.6055 GB, free: 7.52 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 postOpt removeSimpleEquations (simulation): time 0.002743/0.7979, allocations: 1.985 MB / 0.6074 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7979, allocations: 2.969 kB / 0.6074 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.7982, allocations: 96.08 kB / 0.6075 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.7995, allocations: 285.9 kB / 0.6078 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.7996, allocations: 34.98 kB / 0.6078 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00086/0.8005, allocations: 0.8293 MB / 0.6086 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8005, allocations: 6.812 kB / 0.6086 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.8022, allocations: 1.125 MB / 0.6097 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.8025, allocations: 226.1 kB / 0.6099 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.8026, allocations: 13.97 kB / 0.6099 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.8031, allocations: 23.86 kB / 0.61 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.8032, allocations: 49.16 kB / 0.61 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.8033, allocations: 65.52 kB / 0.6101 GB, free: 5.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005359/0.8038, allocations: 476.7 kB / 0.6105 GB, free: 5.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8038, allocations: 0 / 0.6105 GB, free: 5.742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001132/0.8049, allocations: 346.6 kB / 0.6109 GB, free: 5.719 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.003062/0.808, allocations: 1.959 MB / 0.6128 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.8095, allocations: 0.845 MB / 0.6136 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8096, allocations: 10.95 kB / 0.6136 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007114/0.8103, allocations: 335.8 kB / 0.6139 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.8121, allocations: 415 kB / 0.6143 GB, free: 4.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.8234, allocations: 7.784 MB / 0.6219 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.8243, allocations: 0.9885 MB / 0.6229 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001882/0.8262, allocations: 0.5798 MB / 0.6235 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.8268, allocations: 346.7 kB / 0.6238 GB, free: 12.22 MB / 462.1 MB Notification: Performance of SimCode: time 2.284e-06/0.8268, allocations: 0 / 0.6238 GB, free: 12.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06789/0.8947, allocations: 28.68 MB / 0.6518 GB, free: 4 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.87, allocations: 19.75 kB / 0.6518 GB, free: 15.98 MB / 494.1 MB (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)