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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001278/0.001278, allocations: 193 kB / 16.13 MB, free: 6.656 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.002789/0.002789, allocations: 0.562 MB / 290.5 MB, free: 1.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 55.91 kB / 351 MB, free: 2.672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08101/0.08211, allocations: 49.6 MB / 400.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4694/0.5515, allocations: 177.6 MB / 0.5647 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.5561, allocations: 3.353 MB / 0.568 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.557, allocations: 29.56 kB / 0.568 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009104/0.5579, allocations: 350.6 kB / 0.5683 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.5612, allocations: 1.448 MB / 0.5697 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.5635, allocations: 0.9993 MB / 0.5707 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.5666, allocations: 3.429 MB / 0.5741 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008169/0.5674, allocations: 0.5259 MB / 0.5746 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.5692, allocations: 0.8802 MB / 0.5754 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.5704, allocations: 0.7818 MB / 0.5762 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.5707, allocations: 44.94 kB / 0.5762 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.5726, allocations: 0.9108 MB / 0.5771 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.5729, allocations: 285.3 kB / 0.5774 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.5735, allocations: 468.2 kB / 0.5778 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.5755, allocations: 1.714 MB / 0.5795 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5755, allocations: 2.406 kB / 0.5795 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5755, allocations: 0 / 0.5795 GB, free: 1.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.5755, allocations: 1.203 kB / 0.5795 GB, free: 1.113 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.002327/0.5778, allocations: 1.292 MB / 0.5808 GB, free: 16.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.5779, allocations: 10.78 kB / 0.5808 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.578, allocations: 123.3 kB / 0.5809 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009857/0.579, allocations: 174.4 kB / 0.5811 GB, free: 16.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.5798, allocations: 0.5566 MB / 0.5816 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.5799, allocations: 181 kB / 0.5818 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.58, allocations: 70.19 kB / 0.5819 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.5813, allocations: 1.105 MB / 0.5829 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5813, allocations: 2.906 kB / 0.5829 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5814, allocations: 37.97 kB / 0.583 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.5815, allocations: 35.86 kB / 0.583 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.5825, allocations: 0.7798 MB / 0.5838 GB, free: 15.64 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.00491/0.5874, allocations: 5.717 MB / 0.5894 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.588, allocations: 393.3 kB / 0.5897 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.5883, allocations: 222.7 kB / 0.5899 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.5885, allocations: 260.4 kB / 0.5902 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5886, allocations: 48.16 kB / 0.5902 GB, free: 11.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 1.502e-06/0.5886, allocations: 2.406 kB / 0.5902 GB, free: 11.28 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.008939/0.5975, allocations: 2.984 MB / 0.5932 GB, free: 10.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.5976, allocations: 110.8 kB / 0.5933 GB, free: 10.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.5983, allocations: 0.6871 MB / 0.5939 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.5984, allocations: 35.69 kB / 0.594 GB, free: 10.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.5986, allocations: 453.6 kB / 0.5944 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.5988, allocations: 211.2 kB / 0.5946 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.599, allocations: 230.4 kB / 0.5948 GB, free: 9.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5992, allocations: 388.7 kB / 0.5952 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.5996, allocations: 281.8 kB / 0.5955 GB, free: 9.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000783/0.6004, allocations: 0.7687 MB / 0.5962 GB, free: 8.934 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.01476/0.6152, allocations: 3.308 MB / 0.5994 GB, free: 8.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.6152, allocations: 5.5 kB / 0.5994 GB, free: 8.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0016/0.6168, allocations: 1.22 MB / 0.6006 GB, free: 8.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.6168, allocations: 15.59 kB / 0.6006 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.6168, allocations: 16.3 kB / 0.6007 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007758/0.6176, allocations: 272.3 kB / 0.6009 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.6181, allocations: 212.4 kB / 0.6011 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008165/0.619, allocations: 0.9025 MB / 0.602 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.6196, allocations: 74.31 kB / 0.6021 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6197, allocations: 94.91 kB / 0.6022 GB, free: 7.504 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.0004366/0.6202, allocations: 288.8 kB / 0.6024 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6204, allocations: 86.75 kB / 0.6025 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.6226, allocations: 1.203 MB / 0.6037 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.6226, allocations: 7.391 kB / 0.6037 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6227, allocations: 3 kB / 0.6037 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6227, allocations: 2.672 kB / 0.6037 GB, free: 7.184 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.002682/0.6253, allocations: 1.987 MB / 0.6057 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6254, allocations: 4.734 kB / 0.6057 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.6257, allocations: 93.34 kB / 0.6057 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.627, allocations: 288.1 kB / 0.606 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.6271, allocations: 31.25 kB / 0.6061 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/0.6279, allocations: 0.841 MB / 0.6069 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6279, allocations: 6 kB / 0.6069 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.6296, allocations: 1.126 MB / 0.608 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.6299, allocations: 212.1 kB / 0.6082 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.6301, allocations: 21.44 kB / 0.6082 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.6305, allocations: 41.25 kB / 0.6082 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.6306, allocations: 55.61 kB / 0.6083 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.6307, allocations: 59.09 kB / 0.6084 GB, free: 5.492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004636/0.6312, allocations: 477.4 kB / 0.6088 GB, free: 5.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6312, allocations: 4 kB / 0.6088 GB, free: 5.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001075/0.6323, allocations: 351.8 kB / 0.6091 GB, free: 5.305 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.002824/0.6351, allocations: 1.963 MB / 0.6111 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.6365, allocations: 0.784 MB / 0.6118 GB, free: 4.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6365, allocations: 0 / 0.6118 GB, free: 4.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007215/0.6372, allocations: 342.4 kB / 0.6122 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6389, allocations: 393 kB / 0.6125 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009519/0.6485, allocations: 8.05 MB / 0.6204 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.649, allocations: 0.9933 MB / 0.6214 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001491/0.6505, allocations: 0.5775 MB / 0.6219 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.6511, allocations: 343 kB / 0.6223 GB, free: 11.28 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6511, allocations: 0 / 0.6223 GB, free: 11.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.227/0.8781, allocations: 27.86 MB / 0.6495 GB, free: 15.88 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/0.8784, allocations: 346.1 kB / 0.6498 GB, free: 15.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.448, allocations: 4 kB / 0.6498 GB, free: 15.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)