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.001514/0.001514, 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.002336/0.002336, allocations: 193 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.003603/0.003603, allocations: 0.566 MB / 291 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 351.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 49.6 MB / 401.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.7791/0.8958, allocations: 179.3 MB / 0.567 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005846/0.9017, allocations: 3.173 MB / 0.5701 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.9022, allocations: 24.19 kB / 0.5701 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.9034, allocations: 401.9 kB / 0.5705 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.9089, allocations: 1.587 MB / 0.572 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.9118, allocations: 1.115 MB / 0.5731 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.9151, allocations: 2.419 MB / 0.5755 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009589/0.9161, allocations: 0.6033 MB / 0.5761 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.918, allocations: 0.9858 MB / 0.577 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.9191, allocations: 0.7341 MB / 0.5778 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.9194, allocations: 80 kB / 0.5778 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.9231, allocations: 0.981 MB / 0.5788 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004238/0.9235, allocations: 320.7 kB / 0.5791 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007398/0.9243, allocations: 494.7 kB / 0.5796 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.9271, allocations: 1.724 MB / 0.5813 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9271, allocations: 0 / 0.5813 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.9271, allocations: 0 / 0.5813 GB, free: 1.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.9271, allocations: 3.906 kB / 0.5813 GB, free: 1.242 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.00257/0.9297, allocations: 1.301 MB / 0.5825 GB, free: 16.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.9298, allocations: 10.38 kB / 0.5825 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.93, allocations: 128.9 kB / 0.5827 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.931, allocations: 165 kB / 0.5828 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.9319, allocations: 0.5634 MB / 0.5834 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.9321, allocations: 176.1 kB / 0.5835 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.9322, allocations: 74.09 kB / 0.5836 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.9337, allocations: 1.1 MB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.9337, allocations: 7.906 kB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.204e-05/0.9338, allocations: 35.48 kB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.9339, allocations: 37.02 kB / 0.5848 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.935, allocations: 0.7816 MB / 0.5855 GB, free: 15.78 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.006042/0.941, allocations: 5.727 MB / 0.5911 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/0.9417, allocations: 395 kB / 0.5915 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.9421, allocations: 218.6 kB / 0.5917 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.9424, allocations: 264.8 kB / 0.592 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.9424, allocations: 42.5 kB / 0.592 GB, free: 11.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.9424, allocations: 0.75 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.009311/0.9518, allocations: 2.998 MB / 0.5949 GB, free: 10.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.9518, allocations: 113 kB / 0.595 GB, free: 10.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.9526, allocations: 0.6727 MB / 0.5957 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.9527, allocations: 40.16 kB / 0.5957 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.9531, allocations: 465.9 kB / 0.5962 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.9533, allocations: 201.4 kB / 0.5964 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.9535, allocations: 229.2 kB / 0.5966 GB, free: 10.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.9537, allocations: 389.2 kB / 0.5969 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.9542, allocations: 282.4 kB / 0.5972 GB, free: 9.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009099/0.9552, allocations: 0.7762 MB / 0.598 GB, free: 9.137 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.0156/0.9708, allocations: 3.307 MB / 0.6012 GB, free: 8.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.9708, allocations: 6.344 kB / 0.6012 GB, free: 8.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002206/0.973, allocations: 1.216 MB / 0.6024 GB, free: 8.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.9731, allocations: 10.25 kB / 0.6024 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.9731, allocations: 19.5 kB / 0.6024 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/0.974, allocations: 280.9 kB / 0.6027 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.9745, allocations: 212.9 kB / 0.6029 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000994/0.9755, allocations: 0.9037 MB / 0.6038 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.9762, allocations: 39.47 kB / 0.6038 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.9763, allocations: 102.4 kB / 0.6039 GB, free: 7.809 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.0005709/0.9769, allocations: 289.8 kB / 0.6042 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.9771, allocations: 83.84 kB / 0.6043 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.9798, allocations: 1.21 MB / 0.6055 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.9798, allocations: 6.906 kB / 0.6055 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9798, allocations: 0 / 0.6055 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.9798, allocations: 3.047 kB / 0.6055 GB, free: 7.516 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.003204/0.983, allocations: 1.988 MB / 0.6074 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.983, allocations: 0 / 0.6074 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.9833, allocations: 96.02 kB / 0.6075 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.9847, allocations: 288.9 kB / 0.6078 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.9848, allocations: 29.52 kB / 0.6078 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008904/0.9857, allocations: 0.8276 MB / 0.6086 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.9857, allocations: 9.625 kB / 0.6086 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.9878, allocations: 1.128 MB / 0.6097 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.9882, allocations: 220.5 kB / 0.6099 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.9883, allocations: 15.28 kB / 0.6099 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.9888, allocations: 23.81 kB / 0.61 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.9889, allocations: 54.36 kB / 0.61 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.967e-05/0.989, allocations: 62.42 kB / 0.6101 GB, free: 5.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007307/0.9897, allocations: 474.2 kB / 0.6105 GB, free: 5.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9897, allocations: 0 / 0.6105 GB, free: 5.742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001517/0.9913, allocations: 350.3 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.003327/0.9946, allocations: 1.958 MB / 0.6128 GB, free: 4.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.9963, allocations: 0.8436 MB / 0.6136 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.9963, allocations: 7.922 kB / 0.6136 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.997, allocations: 335.1 kB / 0.6139 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.9989, allocations: 422.4 kB / 0.6143 GB, free: 4.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.009, allocations: 7.776 MB / 0.6219 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/1.01, allocations: 0.9845 MB / 0.6229 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001646/1.011, allocations: 0.5854 MB / 0.6235 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/1.012, allocations: 338.7 kB / 0.6238 GB, free: 12.29 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/1.012, allocations: 1.094 kB / 0.6238 GB, free: 12.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07053/1.083, allocations: 28.69 MB / 0.6518 GB, free: 56 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/18.99, allocations: 16.7 kB / 0.6518 GB, free: 40 kB / 478.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)