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.0007992/0.0007995, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005232/0.005232, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.003344/0.003344, allocations: 0.5429 MB / 292 MB, free: 1.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004439, allocations: 11.98 kB / 353.4 MB, free: 2.352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3664, allocations: 50.57 MB / 404 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.5804/0.9469, allocations: 175.3 MB / 0.5657 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007683/0.9546, allocations: 3.317 MB / 0.5689 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.9559, allocations: 30.22 kB / 0.569 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.9573, allocations: 349.2 kB / 0.5693 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00568/0.963, allocations: 1.453 MB / 0.5707 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.9666, allocations: 0.9916 MB / 0.5717 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006094/0.9727, allocations: 3.436 MB / 0.575 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.974, allocations: 0.511 MB / 0.5755 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.9772, allocations: 0.8909 MB / 0.5764 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.9793, allocations: 0.7623 MB / 0.5771 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.9795, allocations: 42.92 kB / 0.5772 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.983, allocations: 0.9072 MB / 0.5781 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004501/0.9835, allocations: 297.1 kB / 0.5784 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.9846, allocations: 491.5 kB / 0.5788 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.9886, allocations: 1.687 MB / 0.5805 GB, free: 17.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9886, allocations: 2.125 kB / 0.5805 GB, free: 17.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9886, allocations: 0 / 0.5805 GB, free: 17.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.9886, allocations: 0 / 0.5805 GB, free: 17.25 MB / 446.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.002559/0.9912, allocations: 1.108 MB / 0.5816 GB, free: 16.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.9913, allocations: 8.812 kB / 0.5816 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.9914, allocations: 123.6 kB / 0.5817 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.9925, allocations: 168 kB / 0.5818 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008769/0.9934, allocations: 0.5588 MB / 0.5824 GB, free: 16.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.9935, allocations: 182.2 kB / 0.5826 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.9937, allocations: 69.02 kB / 0.5826 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.9952, allocations: 1.097 MB / 0.5837 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.9953, allocations: 12.44 kB / 0.5837 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.9954, allocations: 30.91 kB / 0.5837 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.9954, allocations: 30.84 kB / 0.5838 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.9967, allocations: 0.7834 MB / 0.5845 GB, free: 15.8 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.006679/1.003, allocations: 5.724 MB / 0.5901 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/1.004, allocations: 396.8 kB / 0.5905 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/1.005, allocations: 217.3 kB / 0.5907 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/1.005, allocations: 264.4 kB / 0.591 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.005, allocations: 41.06 kB / 0.591 GB, free: 11.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 3.667e-06/1.005, allocations: 0 / 0.591 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.01032/1.015, allocations: 3.032 MB / 0.594 GB, free: 10.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.109e-05/1.015, allocations: 108.4 kB / 0.5941 GB, free: 10.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/1.017, allocations: 0.6824 MB / 0.5947 GB, free: 10.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/1.017, allocations: 39.58 kB / 0.5948 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/1.017, allocations: 461.1 kB / 0.5952 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/1.017, allocations: 206.7 kB / 0.5954 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.018, allocations: 92.12 kB / 0.5955 GB, free: 10.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/1.018, allocations: 388.4 kB / 0.5959 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/1.018, allocations: 277.8 kB / 0.5961 GB, free: 9.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009989/1.019, allocations: 0.7735 MB / 0.5969 GB, free: 9.094 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.01683/1.036, allocations: 3.635 MB / 0.6004 GB, free: 8.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-05/1.036, allocations: 5.812 kB / 0.6004 GB, free: 8.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002538/1.039, allocations: 1.218 MB / 0.6016 GB, free: 8.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/1.039, allocations: 11.59 kB / 0.6016 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/1.039, allocations: 21.34 kB / 0.6017 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.04, allocations: 286.8 kB / 0.6019 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/1.041, allocations: 211.6 kB / 0.6021 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/1.042, allocations: 0.9243 MB / 0.603 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.043, allocations: 58.34 kB / 0.6031 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.043, allocations: 109.5 kB / 0.6032 GB, free: 7.621 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 sytem: 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.0006665/1.044, allocations: 290.4 kB / 0.6035 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/1.044, allocations: 83.56 kB / 0.6036 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/1.046, allocations: 1.194 MB / 0.6047 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.047, allocations: 5.844 kB / 0.6047 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.047, allocations: 0 / 0.6047 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.047, allocations: 3.375 kB / 0.6047 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/1.05, allocations: 1.986 MB / 0.6067 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.05, allocations: 0 / 0.6067 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/1.05, allocations: 93.73 kB / 0.6068 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1.052, allocations: 299.3 kB / 0.607 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/1.052, allocations: 35.83 kB / 0.6071 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/1.053, allocations: 0.8449 MB / 0.6079 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.053, allocations: 5.844 kB / 0.6079 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/1.055, allocations: 1.127 MB / 0.609 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/1.056, allocations: 232.4 kB / 0.6092 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.056, allocations: 14.92 kB / 0.6093 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/1.057, allocations: 41.73 kB / 0.6093 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/1.057, allocations: 49.94 kB / 0.6093 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/1.057, allocations: 61.06 kB / 0.6094 GB, free: 5.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007318/1.058, allocations: 475.3 kB / 0.6098 GB, free: 4.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.058, allocations: 0.9062 kB / 0.6098 GB, free: 4.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001882/1.06, allocations: 352.3 kB / 0.6102 GB, free: 4.949 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 {(4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00387/1.064, allocations: 1.972 MB / 0.6121 GB, free: 3.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/1.065, allocations: 0.7769 MB / 0.6129 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.065, allocations: 4 kB / 0.6129 GB, free: 3.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000798/1.066, allocations: 343.2 kB / 0.6132 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.069, allocations: 393.2 kB / 0.6136 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.083, allocations: 8.146 MB / 0.6215 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/1.084, allocations: 0.9896 MB / 0.6225 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001984/1.086, allocations: 0.5856 MB / 0.6231 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008217/1.086, allocations: 338.3 kB / 0.6234 GB, free: 12.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.512e-06/1.086, allocations: 0 / 0.6234 GB, free: 12.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7524/1.839, allocations: 27.47 MB / 0.6502 GB, free: 1.773 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003794/1.839, allocations: 326.4 kB / 0.6505 GB, free: 1.395 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/4.584, allocations: 0 / 0.6505 GB, free: 1.395 MB / 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)