Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.002547/0.002547, 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.002459/0.002459, allocations: 200.2 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 2.557/2.557, 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.006724/0.006724, allocations: 0.5737 MB / 291 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 67.89 kB / 351.7 MB, free: 2.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2294, allocations: 49.58 MB / 401.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 1.541/1.771, allocations: 179.3 MB / 0.567 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/1.784, allocations: 3.175 MB / 0.5701 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/1.786, allocations: 23.78 kB / 0.5701 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/1.789, allocations: 402.9 kB / 0.5705 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/1.799, allocations: 1.59 MB / 0.572 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007007/1.806, allocations: 1.106 MB / 0.5731 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00846/1.815, allocations: 2.421 MB / 0.5755 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/1.817, allocations: 0.5934 MB / 0.5761 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006329/1.824, allocations: 0.9912 MB / 0.577 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/1.827, allocations: 0.7374 MB / 0.5777 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007553/1.828, allocations: 80.47 kB / 0.5778 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006911/1.835, allocations: 0.9724 MB / 0.5788 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/1.836, allocations: 320.4 kB / 0.5791 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/1.838, allocations: 0.4891 MB / 0.5796 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007222/1.845, allocations: 1.722 MB / 0.5812 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.845, allocations: 2.078 kB / 0.5812 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.567e-06/1.845, allocations: 3.938 kB / 0.5812 GB, free: 1.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.021e-05/1.845, allocations: 0.9062 kB / 0.5812 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.005254/1.851, allocations: 1.304 MB / 0.5825 GB, free: 16.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.851, allocations: 10.44 kB / 0.5825 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/1.851, allocations: 122.7 kB / 0.5826 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.853, allocations: 166.1 kB / 0.5828 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/1.854, allocations: 0.5651 MB / 0.5834 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004691/1.855, allocations: 177.2 kB / 0.5835 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004358/1.855, allocations: 69.62 kB / 0.5836 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/1.858, allocations: 1.1 MB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/1.858, allocations: 5.938 kB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.858, allocations: 32.81 kB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-05/1.859, allocations: 35.55 kB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/1.861, allocations: 0.7877 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.01156/1.872, allocations: 5.728 MB / 0.5911 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.874, allocations: 393 kB / 0.5915 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006838/1.875, allocations: 227 kB / 0.5917 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/1.875, allocations: 263.7 kB / 0.5919 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.317e-05/1.875, allocations: 42.09 kB / 0.592 GB, free: 11.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 3.085e-06/1.875, allocations: 0 / 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.01574/1.891, allocations: 2.997 MB / 0.5949 GB, free: 10.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/1.891, allocations: 109.8 kB / 0.595 GB, free: 10.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.893, allocations: 0.6765 MB / 0.5957 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002243/1.893, allocations: 37.58 kB / 0.5957 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008766/1.894, allocations: 472 kB / 0.5962 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000506/1.894, allocations: 196.8 kB / 0.5963 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004839/1.895, allocations: 231.9 kB / 0.5966 GB, free: 10.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002448/1.895, allocations: 389.4 kB / 0.5969 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008646/1.896, allocations: 281.4 kB / 0.5972 GB, free: 9.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.898, allocations: 0.7684 MB / 0.598 GB, free: 9.148 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.0203/1.918, allocations: 3.312 MB / 0.6012 GB, free: 8.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.918, allocations: 4.812 kB / 0.6012 GB, free: 8.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003249/1.921, allocations: 1.216 MB / 0.6024 GB, free: 8.359 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/1.921, allocations: 13.53 kB / 0.6024 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-05/1.921, allocations: 15.41 kB / 0.6024 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/1.923, allocations: 278.2 kB / 0.6027 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/1.924, allocations: 208.7 kB / 0.6029 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/1.925, allocations: 0.9045 MB / 0.6038 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.927, allocations: 42.11 kB / 0.6038 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/1.927, allocations: 99.34 kB / 0.6039 GB, free: 7.82 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.0007439/1.928, allocations: 297.7 kB / 0.6042 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/1.928, allocations: 82.44 kB / 0.6043 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/1.933, allocations: 1.204 MB / 0.6054 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.933, allocations: 6.453 kB / 0.6054 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.933, allocations: 3.688 kB / 0.6054 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.933, allocations: 2.953 kB / 0.6054 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/1.938, allocations: 1.989 MB / 0.6074 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.938, allocations: 0 / 0.6074 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/1.939, allocations: 97.19 kB / 0.6075 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/1.941, allocations: 285.9 kB / 0.6078 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/1.941, allocations: 32.97 kB / 0.6078 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.943, allocations: 0.8359 MB / 0.6086 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.943, allocations: 4.062 kB / 0.6086 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/1.946, allocations: 1.123 MB / 0.6097 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/1.947, allocations: 228.2 kB / 0.6099 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/1.947, allocations: 18.84 kB / 0.6099 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/1.947, allocations: 26.53 kB / 0.61 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/1.948, allocations: 46.38 kB / 0.61 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.948, allocations: 60.7 kB / 0.6101 GB, free: 5.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001445/1.949, allocations: 473.4 kB / 0.6105 GB, free: 5.746 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.483e-06/1.949, allocations: 2.969 kB / 0.6105 GB, free: 5.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003306/1.953, allocations: 344.4 kB / 0.6108 GB, free: 5.723 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.005725/1.958, allocations: 1.961 MB / 0.6128 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003225/1.962, allocations: 0.8445 MB / 0.6136 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.528e-05/1.962, allocations: 3.859 kB / 0.6136 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.963, allocations: 339.7 kB / 0.6139 GB, free: 4.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.966, allocations: 421.6 kB / 0.6143 GB, free: 4.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.984, allocations: 7.774 MB / 0.6219 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.985, allocations: 0.9887 MB / 0.6229 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002518/1.988, allocations: 0.591 MB / 0.6235 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.989, allocations: 348.3 kB / 0.6238 GB, free: 12.24 MB / 462.1 MB Notification: Performance of SimCode: time 2.174e-06/1.989, allocations: 0 / 0.6238 GB, free: 12.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/2.094, allocations: 28.64 MB / 0.6517 GB, free: 32 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.79, allocations: 6.891 kB / 0.6518 GB, free: 28 kB / 478.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)