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.001069/0.001069, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001159/0.001159, allocations: 192.7 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.003454/0.003454, allocations: 0.5698 MB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 351.2 MB, free: 2.559 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 49.6 MB / 400.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.7256/0.8341, allocations: 177.6 MB / 0.5648 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006738/0.8409, allocations: 3.294 MB / 0.5681 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.8426, allocations: 30.09 kB / 0.5681 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.8443, allocations: 357.1 kB / 0.5684 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.8501, allocations: 1.467 MB / 0.5699 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.8539, allocations: 1.028 MB / 0.5709 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00447/0.8584, allocations: 2.428 MB / 0.5732 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.8596, allocations: 0.593 MB / 0.5738 GB, free: 1.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.8619, allocations: 1.003 MB / 0.5748 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.8631, allocations: 0.7856 MB / 0.5756 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.8632, allocations: 80.41 kB / 0.5756 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.8662, allocations: 1.001 MB / 0.5766 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.8666, allocations: 328.5 kB / 0.5769 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007823/0.8674, allocations: 0.4944 MB / 0.5774 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.8703, allocations: 1.742 MB / 0.5791 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8703, allocations: 0 / 0.5791 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.8703, allocations: 0 / 0.5791 GB, free: 1.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.8703, allocations: 0.9062 kB / 0.5791 GB, free: 1.215 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.002457/0.8728, allocations: 1.299 MB / 0.5804 GB, free: 16.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8728, allocations: 10.78 kB / 0.5804 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.873, allocations: 122.4 kB / 0.5805 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.874, allocations: 175.2 kB / 0.5807 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.8747, allocations: 0.5609 MB / 0.5812 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.8749, allocations: 176.1 kB / 0.5814 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.875, allocations: 76.77 kB / 0.5815 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.8764, allocations: 1.102 MB / 0.5826 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.8764, allocations: 10.58 kB / 0.5826 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.8765, allocations: 30.97 kB / 0.5826 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.8766, allocations: 31.72 kB / 0.5826 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.8776, allocations: 0.7912 MB / 0.5834 GB, free: 15.75 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.004929/0.8826, allocations: 5.708 MB / 0.589 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.8832, allocations: 393.2 kB / 0.5893 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.8835, allocations: 221.4 kB / 0.5896 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.8837, allocations: 262.2 kB / 0.5898 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.8837, allocations: 44.78 kB / 0.5898 GB, free: 11.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.8838, allocations: 0 / 0.5898 GB, free: 11.42 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.009189/0.8929, allocations: 2.991 MB / 0.5928 GB, free: 10.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.893, allocations: 110 kB / 0.5929 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.8938, allocations: 0.6783 MB / 0.5935 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.8938, allocations: 37.27 kB / 0.5936 GB, free: 10.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.8941, allocations: 465.1 kB / 0.594 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.8943, allocations: 203.7 kB / 0.5942 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.8946, allocations: 230.4 kB / 0.5944 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.8947, allocations: 389.2 kB / 0.5948 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.8951, allocations: 283.9 kB / 0.5951 GB, free: 9.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.8959, allocations: 0.7683 MB / 0.5958 GB, free: 9.121 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.01489/0.9108, allocations: 3.304 MB / 0.599 GB, free: 8.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.9108, allocations: 3.781 kB / 0.599 GB, free: 8.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002023/0.9128, allocations: 1.22 MB / 0.6002 GB, free: 8.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.9129, allocations: 14.94 kB / 0.6003 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.9129, allocations: 15.81 kB / 0.6003 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008749/0.9138, allocations: 270.2 kB / 0.6005 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.9144, allocations: 212.5 kB / 0.6007 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.9153, allocations: 0.9119 MB / 0.6016 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.9162, allocations: 70.72 kB / 0.6017 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.9163, allocations: 96.89 kB / 0.6018 GB, free: 7.785 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.0005291/0.9168, allocations: 291.2 kB / 0.6021 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.917, allocations: 82.44 kB / 0.6021 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.9193, allocations: 1.203 MB / 0.6033 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.9193, allocations: 6.188 kB / 0.6033 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9193, allocations: 2.062 kB / 0.6033 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.9194, allocations: 6.891 kB / 0.6033 GB, free: 7.508 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.00316/0.9225, allocations: 1.994 MB / 0.6053 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.9225, allocations: 5.109 kB / 0.6053 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.9229, allocations: 96.77 kB / 0.6054 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.9243, allocations: 285.3 kB / 0.6056 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.9243, allocations: 33.27 kB / 0.6057 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008498/0.9252, allocations: 0.8347 MB / 0.6065 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9252, allocations: 0 / 0.6065 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.927, allocations: 1.136 MB / 0.6076 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.9273, allocations: 213.7 kB / 0.6078 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.9274, allocations: 14.22 kB / 0.6078 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.928, allocations: 41.92 kB / 0.6079 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.928, allocations: 50.52 kB / 0.6079 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.457e-05/0.9281, allocations: 64.56 kB / 0.608 GB, free: 5.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005396/0.9287, allocations: 473.5 kB / 0.6084 GB, free: 5.727 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9287, allocations: 0 / 0.6084 GB, free: 5.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001426/0.9301, allocations: 353.7 kB / 0.6088 GB, free: 5.699 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.003118/0.9332, allocations: 1.962 MB / 0.6107 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.935, allocations: 0.8446 MB / 0.6115 GB, free: 4.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9351, allocations: 0.5625 kB / 0.6115 GB, free: 4.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.9358, allocations: 341.2 kB / 0.6118 GB, free: 4.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.9377, allocations: 414.6 kB / 0.6122 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.9488, allocations: 8.035 MB / 0.6201 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.9494, allocations: 0.9908 MB / 0.621 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001745/0.9512, allocations: 0.5903 MB / 0.6216 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.9518, allocations: 334.8 kB / 0.6219 GB, free: 13.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9518, allocations: 4 kB / 0.6219 GB, free: 13.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/1.007, allocations: 28.54 MB / 0.6498 GB, free: 1.051 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/1.007, allocations: 348.7 kB / 0.6501 GB, free: 0.668 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.629, allocations: 9.578 kB / 0.6501 GB, free: 0.6641 MB / 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)