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.001538/0.001537, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002011/0.002011, allocations: 191.3 kB / 16.25 MB, free: 6.625 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.002469/0.002469, allocations: 0.57 MB / 290.6 MB, free: 1.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.91 kB / 351.2 MB, free: 2.562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09208, allocations: 49.6 MB / 400.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.5692/0.6613, allocations: 177.6 MB / 0.5648 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005736/0.6671, allocations: 3.297 MB / 0.5681 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.6682, allocations: 30.31 kB / 0.5681 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.6694, allocations: 358 kB / 0.5684 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.6738, allocations: 1.468 MB / 0.5699 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.677, allocations: 1.025 MB / 0.5709 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003683/0.6807, allocations: 2.43 MB / 0.5732 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.6818, allocations: 0.5932 MB / 0.5738 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.6843, allocations: 1.002 MB / 0.5748 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.6855, allocations: 0.7848 MB / 0.5756 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.6857, allocations: 80.47 kB / 0.5756 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.6884, allocations: 1.002 MB / 0.5766 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.6888, allocations: 326.2 kB / 0.5769 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007007/0.6895, allocations: 0.4905 MB / 0.5774 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.692, allocations: 1.742 MB / 0.5791 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.692, allocations: 0 / 0.5791 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6921, allocations: 0.9062 kB / 0.5791 GB, free: 1.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.6921, allocations: 0 / 0.5791 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.002466/0.6945, allocations: 1.299 MB / 0.5804 GB, free: 16.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6946, allocations: 10.88 kB / 0.5804 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.6948, allocations: 128.2 kB / 0.5805 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000982/0.6957, allocations: 171.5 kB / 0.5807 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.6965, allocations: 0.5568 MB / 0.5812 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.6967, allocations: 178.3 kB / 0.5814 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.6968, allocations: 74.09 kB / 0.5815 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.6982, allocations: 1.102 MB / 0.5825 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.6982, allocations: 7.656 kB / 0.5825 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/0.6983, allocations: 32.28 kB / 0.5826 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.6984, allocations: 39.83 kB / 0.5826 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6995, allocations: 0.7832 MB / 0.5834 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.005465/0.7049, allocations: 5.713 MB / 0.589 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.7056, allocations: 391.4 kB / 0.5893 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.7059, allocations: 222.2 kB / 0.5895 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.7061, allocations: 259.3 kB / 0.5898 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.7062, allocations: 44.75 kB / 0.5898 GB, free: 11.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.7062, allocations: 0.9062 kB / 0.5898 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.009478/0.7157, allocations: 2.996 MB / 0.5928 GB, free: 10.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.7158, allocations: 109.5 kB / 0.5929 GB, free: 10.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.7165, allocations: 0.6787 MB / 0.5935 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.7166, allocations: 38.39 kB / 0.5936 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7169, allocations: 463.2 kB / 0.594 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.717, allocations: 202 kB / 0.5942 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.7173, allocations: 230.6 kB / 0.5944 GB, free: 10.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7175, allocations: 389.9 kB / 0.5948 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.7179, allocations: 282.5 kB / 0.5951 GB, free: 9.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.7186, allocations: 0.7697 MB / 0.5958 GB, free: 9.152 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.01494/0.7336, allocations: 3.305 MB / 0.599 GB, free: 8.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.7336, allocations: 4.906 kB / 0.599 GB, free: 8.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001859/0.7355, allocations: 1.219 MB / 0.6002 GB, free: 8.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7355, allocations: 14.47 kB / 0.6002 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.7355, allocations: 15.22 kB / 0.6003 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008354/0.7364, allocations: 276 kB / 0.6005 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.737, allocations: 214.2 kB / 0.6007 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008704/0.7378, allocations: 0.9039 MB / 0.6016 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/0.7386, allocations: 71.16 kB / 0.6017 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.7387, allocations: 96 kB / 0.6018 GB, free: 7.816 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.0004643/0.7392, allocations: 290.1 kB / 0.602 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.7394, allocations: 89.61 kB / 0.6021 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.7416, allocations: 1.198 MB / 0.6033 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.7416, allocations: 6.844 kB / 0.6033 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.7416, allocations: 0 / 0.6033 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.7416, allocations: 4 kB / 0.6033 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.7447, allocations: 1.995 MB / 0.6053 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7447, allocations: 1.25 kB / 0.6053 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.745, allocations: 96.56 kB / 0.6053 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.7464, allocations: 286.8 kB / 0.6056 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/0.7464, allocations: 32.77 kB / 0.6057 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008591/0.7473, allocations: 0.8386 MB / 0.6065 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7473, allocations: 2.844 kB / 0.6065 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.7491, allocations: 1.13 MB / 0.6076 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.7494, allocations: 211.2 kB / 0.6078 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.7495, allocations: 19.88 kB / 0.6078 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.75, allocations: 40.56 kB / 0.6078 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.7501, allocations: 55.94 kB / 0.6079 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.7502, allocations: 63.19 kB / 0.608 GB, free: 5.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005212/0.7507, allocations: 478.8 kB / 0.6084 GB, free: 5.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7508, allocations: 0 / 0.6084 GB, free: 5.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001236/0.752, allocations: 352.1 kB / 0.6087 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.003028/0.755, allocations: 1.959 MB / 0.6107 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.7569, allocations: 0.8398 MB / 0.6115 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.7569, allocations: 4 kB / 0.6115 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.7576, allocations: 341.3 kB / 0.6118 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.7595, allocations: 418.4 kB / 0.6122 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.7699, allocations: 8.047 MB / 0.6201 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.7705, allocations: 0.9879 MB / 0.621 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001641/0.7721, allocations: 0.5809 MB / 0.6216 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.7727, allocations: 344 kB / 0.6219 GB, free: 13.14 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7727, allocations: 0 / 0.6219 GB, free: 13.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.8218, allocations: 28.5 MB / 0.6498 GB, free: 1.117 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.8221, allocations: 328.8 kB / 0.6501 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.404, allocations: 0 / 0.6501 GB, free: 0.7344 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)