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.001554/0.001554, allocations: 108 kB / 15.61 MB, free: 152 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.001125/0.001125, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.0035/0.0035, allocations: 0.5702 MB / 291 MB, free: 1.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.91 kB / 351.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09567, allocations: 49.59 MB / 401.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.5425/0.6382, allocations: 179.3 MB / 0.567 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.6431, allocations: 3.176 MB / 0.5701 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005949/0.6437, allocations: 23.47 kB / 0.5701 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.6446, allocations: 400.8 kB / 0.5705 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.6489, allocations: 1.587 MB / 0.572 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.6518, allocations: 1.112 MB / 0.5731 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002891/0.6547, allocations: 2.418 MB / 0.5755 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008552/0.6555, allocations: 0.5974 MB / 0.5761 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.6577, allocations: 0.9889 MB / 0.577 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.659, allocations: 0.7377 MB / 0.5778 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.6592, allocations: 80.56 kB / 0.5778 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.6621, allocations: 0.9782 MB / 0.5788 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.6625, allocations: 314.7 kB / 0.5791 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007745/0.6633, allocations: 0.4897 MB / 0.5796 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.6661, allocations: 1.723 MB / 0.5813 GB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6661, allocations: 0 / 0.5813 GB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6662, allocations: 3.922 kB / 0.5813 GB, free: 1.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.6662, allocations: 0.9688 kB / 0.5813 GB, free: 1.227 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.002692/0.6689, allocations: 1.3 MB / 0.5825 GB, free: 16.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6689, allocations: 18.3 kB / 0.5825 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.6691, allocations: 125.8 kB / 0.5827 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.6701, allocations: 166.9 kB / 0.5828 GB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.671, allocations: 0.5603 MB / 0.5834 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.6711, allocations: 179 kB / 0.5835 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6712, allocations: 75.34 kB / 0.5836 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.6727, allocations: 1.094 MB / 0.5847 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.6727, allocations: 6 kB / 0.5847 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.6729, allocations: 36.66 kB / 0.5847 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.6729, allocations: 34.56 kB / 0.5848 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.6741, allocations: 0.7816 MB / 0.5855 GB, free: 15.77 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.006152/0.6803, allocations: 5.73 MB / 0.5911 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.6809, allocations: 396.6 kB / 0.5915 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.6813, allocations: 221.6 kB / 0.5917 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.6816, allocations: 262.7 kB / 0.592 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.6816, allocations: 46.88 kB / 0.592 GB, free: 11.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/0.6816, allocations: 0 / 0.592 GB, free: 11.43 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.01002/0.6917, allocations: 2.99 MB / 0.5949 GB, free: 10.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.6918, allocations: 112 kB / 0.595 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.6925, allocations: 0.6784 MB / 0.5957 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.6926, allocations: 37.83 kB / 0.5957 GB, free: 10.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.6929, allocations: 464.6 kB / 0.5962 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.693, allocations: 203.7 kB / 0.5964 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.6934, allocations: 227.8 kB / 0.5966 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.6936, allocations: 392.6 kB / 0.597 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.6941, allocations: 280.5 kB / 0.5972 GB, free: 9.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.6948, allocations: 0.7735 MB / 0.598 GB, free: 9.125 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.01515/0.71, allocations: 3.305 MB / 0.6012 GB, free: 8.422 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.71, allocations: 6.906 kB / 0.6012 GB, free: 8.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001829/0.7119, allocations: 1.216 MB / 0.6024 GB, free: 8.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.7119, allocations: 14.58 kB / 0.6024 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.7119, allocations: 21.92 kB / 0.6024 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/0.7128, allocations: 270.9 kB / 0.6027 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.7133, allocations: 215.2 kB / 0.6029 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008215/0.7142, allocations: 0.8994 MB / 0.6038 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.7148, allocations: 42.16 kB / 0.6038 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.7149, allocations: 99.02 kB / 0.6039 GB, free: 7.797 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.0005067/0.7154, allocations: 293.4 kB / 0.6042 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.7156, allocations: 83.78 kB / 0.6043 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.7181, allocations: 1.211 MB / 0.6055 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7182, allocations: 7.266 kB / 0.6055 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7182, allocations: 2.359 kB / 0.6055 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7182, allocations: 2.766 kB / 0.6055 GB, free: 7.5 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.002966/0.7212, allocations: 1.991 MB / 0.6074 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.7212, allocations: 0 / 0.6074 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.7215, allocations: 93.75 kB / 0.6075 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.7229, allocations: 287.3 kB / 0.6078 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.723, allocations: 33.77 kB / 0.6078 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008712/0.7238, allocations: 0.8266 MB / 0.6086 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7239, allocations: 8.391 kB / 0.6086 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.7257, allocations: 1.13 MB / 0.6097 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.726, allocations: 222.8 kB / 0.6099 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.7262, allocations: 13.78 kB / 0.6099 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.7266, allocations: 25.94 kB / 0.61 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.7267, allocations: 54.2 kB / 0.61 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.7268, allocations: 65.03 kB / 0.6101 GB, free: 5.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005707/0.7274, allocations: 474 kB / 0.6105 GB, free: 5.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7274, allocations: 0 / 0.6105 GB, free: 5.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001297/0.7287, allocations: 345 kB / 0.6109 GB, free: 5.699 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.003486/0.7322, allocations: 1.954 MB / 0.6128 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.7339, allocations: 0.838 MB / 0.6136 GB, free: 4.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.734, allocations: 13.2 kB / 0.6136 GB, free: 4.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.7347, allocations: 340.4 kB / 0.6139 GB, free: 4.812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.7367, allocations: 422.4 kB / 0.6143 GB, free: 4.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009903/0.7466, allocations: 7.772 MB / 0.6219 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.7472, allocations: 0.9876 MB / 0.6229 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001601/0.7488, allocations: 0.5829 MB / 0.6235 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.7494, allocations: 345.7 kB / 0.6238 GB, free: 12.23 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.7494, allocations: 3.094 kB / 0.6238 GB, free: 12.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.8028, allocations: 28.69 MB / 0.6518 GB, free: 15.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.92, allocations: 20.64 kB / 0.6518 GB, free: 15.97 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)