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.00103/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00114/0.00114, allocations: 197 kB / 16.14 MB, free: 6.688 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.002268/0.002268, allocations: 0.5546 MB / 290.5 MB, free: 1.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 63.89 kB / 351 MB, free: 2.672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07295/0.07405, allocations: 49.6 MB / 400.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4389/0.513, allocations: 177.6 MB / 0.5647 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.5174, allocations: 3.346 MB / 0.5679 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.5178, allocations: 32.38 kB / 0.568 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.5186, allocations: 353.7 kB / 0.5683 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.5213, allocations: 1.458 MB / 0.5697 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.5232, allocations: 0.9879 MB / 0.5707 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.5258, allocations: 3.436 MB / 0.574 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/0.5263, allocations: 0.5182 MB / 0.5746 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.5276, allocations: 0.8889 MB / 0.5754 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.5284, allocations: 0.7689 MB / 0.5762 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.5285, allocations: 44.69 kB / 0.5762 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.5302, allocations: 0.915 MB / 0.5771 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.5304, allocations: 290.5 kB / 0.5774 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.5309, allocations: 465.6 kB / 0.5778 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.5323, allocations: 1.714 MB / 0.5795 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.5323, allocations: 0 / 0.5795 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.5323, allocations: 0 / 0.5795 GB, free: 1.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5323, allocations: 0 / 0.5795 GB, free: 1.129 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.002083/0.5344, allocations: 1.297 MB / 0.5808 GB, free: 16.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.5345, allocations: 7.5 kB / 0.5808 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.5346, allocations: 121.6 kB / 0.5809 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.5356, allocations: 170.2 kB / 0.5811 GB, free: 16.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.5362, allocations: 0.5656 MB / 0.5816 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.5363, allocations: 180.3 kB / 0.5818 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/0.5364, allocations: 76.31 kB / 0.5819 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.5377, allocations: 1.1 MB / 0.5829 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.5377, allocations: 5.844 kB / 0.5829 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.5378, allocations: 33.52 kB / 0.583 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.5378, allocations: 33.86 kB / 0.583 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.5388, allocations: 0.7851 MB / 0.5838 GB, free: 15.65 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.004453/0.5433, allocations: 5.718 MB / 0.5893 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.5439, allocations: 391.2 kB / 0.5897 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.5442, allocations: 216.3 kB / 0.5899 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.5444, allocations: 265 kB / 0.5902 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5444, allocations: 38.05 kB / 0.5902 GB, free: 11.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 1.473e-06/0.5444, allocations: 0 / 0.5902 GB, free: 11.29 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.008411/0.5528, allocations: 2.994 MB / 0.5931 GB, free: 10.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.5529, allocations: 112.7 kB / 0.5932 GB, free: 10.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.5534, allocations: 0.6809 MB / 0.5939 GB, free: 10.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.5535, allocations: 37.45 kB / 0.5939 GB, free: 10.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.5537, allocations: 456.6 kB / 0.5944 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5539, allocations: 204.9 kB / 0.5946 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.5541, allocations: 230.9 kB / 0.5948 GB, free: 9.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5543, allocations: 394.6 kB / 0.5952 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.5547, allocations: 283.2 kB / 0.5954 GB, free: 9.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.5553, allocations: 0.7655 MB / 0.5962 GB, free: 8.949 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.01467/0.57, allocations: 3.309 MB / 0.5994 GB, free: 8.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.57, allocations: 7.125 kB / 0.5994 GB, free: 8.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001586/0.5716, allocations: 1.214 MB / 0.6006 GB, free: 8.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5716, allocations: 13.12 kB / 0.6006 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5716, allocations: 15.53 kB / 0.6006 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007828/0.5724, allocations: 276.3 kB / 0.6009 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.5729, allocations: 207.8 kB / 0.6011 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007541/0.5737, allocations: 0.9045 MB / 0.602 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.5743, allocations: 69.16 kB / 0.6021 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/0.5744, allocations: 96.47 kB / 0.6021 GB, free: 7.52 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.0003548/0.5748, allocations: 292.3 kB / 0.6024 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.575, allocations: 87.19 kB / 0.6025 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.5771, allocations: 1.203 MB / 0.6037 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.5771, allocations: 10.09 kB / 0.6037 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5771, allocations: 0 / 0.6037 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5771, allocations: 4.047 kB / 0.6037 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.5796, allocations: 1.993 MB / 0.6056 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5796, allocations: 7.094 kB / 0.6057 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.5799, allocations: 93.47 kB / 0.6057 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.5812, allocations: 282 kB / 0.606 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.5813, allocations: 34.17 kB / 0.606 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007484/0.582, allocations: 0.8386 MB / 0.6069 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.582, allocations: 5.531 kB / 0.6069 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5836, allocations: 1.132 MB / 0.608 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.5839, allocations: 214 kB / 0.6082 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.584, allocations: 18.27 kB / 0.6082 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.5845, allocations: 39.17 kB / 0.6082 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.5846, allocations: 53.92 kB / 0.6083 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.5847, allocations: 64.64 kB / 0.6083 GB, free: 5.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004195/0.5851, allocations: 471.1 kB / 0.6088 GB, free: 5.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5851, allocations: 3.594 kB / 0.6088 GB, free: 5.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00095/0.586, allocations: 346 kB / 0.6091 GB, free: 5.312 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.002598/0.5886, allocations: 1.966 MB / 0.611 GB, free: 4.312 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.5898, allocations: 0.7862 MB / 0.6118 GB, free: 4.195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5898, allocations: 0 / 0.6118 GB, free: 4.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.5905, allocations: 335.3 kB / 0.6121 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5922, allocations: 399.9 kB / 0.6125 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/0.6007, allocations: 8.05 MB / 0.6204 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.6012, allocations: 0.9885 MB / 0.6213 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001363/0.6026, allocations: 0.5866 MB / 0.6219 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.6031, allocations: 339.9 kB / 0.6222 GB, free: 11.26 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6031, allocations: 1.094 kB / 0.6222 GB, free: 11.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.997/6.6, allocations: 27.83 MB / 0.6494 GB, free: 15.88 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/6.6, allocations: 324.5 kB / 0.6497 GB, free: 15.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/9.235, allocations: 0 / 0.6497 GB, free: 15.5 MB / 494.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)