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.009984/0.009984, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01627/0.01627, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.102/2.102, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.002718/0.002718, allocations: 0.5656 MB / 292 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 12 kB / 353.4 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3102, allocations: 50.56 MB / 404 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4803/0.7906, allocations: 175.3 MB / 0.5657 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006309/0.7969, allocations: 3.315 MB / 0.5689 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.7981, allocations: 30.41 kB / 0.569 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.7993, allocations: 346.9 kB / 0.5693 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.8041, allocations: 1.458 MB / 0.5707 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.8072, allocations: 0.9882 MB / 0.5717 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004816/0.812, allocations: 3.439 MB / 0.575 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.8133, allocations: 0.5216 MB / 0.5756 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.8163, allocations: 0.879 MB / 0.5764 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.8185, allocations: 0.7659 MB / 0.5772 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004058/0.8189, allocations: 46.47 kB / 0.5772 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.8224, allocations: 0.9095 MB / 0.5781 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007176/0.8232, allocations: 286.9 kB / 0.5784 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.8255, allocations: 488.2 kB / 0.5788 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.8311, allocations: 1.697 MB / 0.5805 GB, free: 17.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8311, allocations: 2.188 kB / 0.5805 GB, free: 17.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.8312, allocations: 1.75 kB / 0.5805 GB, free: 17.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.944e-05/0.8312, allocations: 0 / 0.5805 GB, free: 17.29 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.004029/0.8353, allocations: 1.099 MB / 0.5816 GB, free: 16.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.8353, allocations: 15.34 kB / 0.5816 GB, free: 16.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004358/0.8358, allocations: 122.4 kB / 0.5817 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.837, allocations: 166.6 kB / 0.5819 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.838, allocations: 0.5574 MB / 0.5824 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.8382, allocations: 183.2 kB / 0.5826 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.8383, allocations: 69.88 kB / 0.5826 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.8399, allocations: 1.099 MB / 0.5837 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.8399, allocations: 6.812 kB / 0.5837 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.84, allocations: 38.77 kB / 0.5838 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.84, allocations: 33.92 kB / 0.5838 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.8412, allocations: 0.7807 MB / 0.5846 GB, free: 15.84 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.005383/0.8465, allocations: 5.719 MB / 0.5901 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.8472, allocations: 388.7 kB / 0.5905 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.8475, allocations: 225 kB / 0.5907 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.8478, allocations: 267.2 kB / 0.591 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.8478, allocations: 36.09 kB / 0.591 GB, free: 11.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.214e-06/0.8478, allocations: 0 / 0.591 GB, free: 11.48 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.009779/0.8576, allocations: 3.029 MB / 0.594 GB, free: 10.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.8577, allocations: 112.1 kB / 0.5941 GB, free: 10.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.8587, allocations: 0.6874 MB / 0.5948 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.8588, allocations: 39.45 kB / 0.5948 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.8592, allocations: 456.9 kB / 0.5952 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.8594, allocations: 207 kB / 0.5954 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.8596, allocations: 89.66 kB / 0.5955 GB, free: 10.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.8598, allocations: 396.5 kB / 0.5959 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.8603, allocations: 283.6 kB / 0.5962 GB, free: 9.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.8611, allocations: 0.7594 MB / 0.5969 GB, free: 9.137 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.02398/0.8851, allocations: 3.633 MB / 0.6004 GB, free: 8.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.8851, allocations: 10.22 kB / 0.6005 GB, free: 8.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00276/0.8879, allocations: 1.224 MB / 0.6016 GB, free: 8.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.888, allocations: 11.12 kB / 0.6017 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.888, allocations: 14.94 kB / 0.6017 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.8891, allocations: 282.6 kB / 0.6019 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.8897, allocations: 208.3 kB / 0.6021 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.8908, allocations: 0.921 MB / 0.603 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.8918, allocations: 68.95 kB / 0.6031 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.892, allocations: 101.1 kB / 0.6032 GB, free: 7.668 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.0005705/0.8926, allocations: 296.2 kB / 0.6035 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.8928, allocations: 83.5 kB / 0.6036 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.8951, allocations: 1.207 MB / 0.6047 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.8952, allocations: 4.875 kB / 0.6047 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8952, allocations: 0 / 0.6047 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.8952, allocations: 3.75 kB / 0.6048 GB, free: 7.34 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.002935/0.8981, allocations: 1.983 MB / 0.6067 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.8981, allocations: 0 / 0.6067 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.8984, allocations: 94.02 kB / 0.6068 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.9, allocations: 305.8 kB / 0.6071 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.9001, allocations: 33.02 kB / 0.6071 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009908/0.9011, allocations: 0.8499 MB / 0.6079 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9011, allocations: 0 / 0.6079 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.9031, allocations: 1.134 MB / 0.609 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.9036, allocations: 224.4 kB / 0.6093 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9037, allocations: 14.39 kB / 0.6093 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.9042, allocations: 46.34 kB / 0.6093 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.9043, allocations: 50.94 kB / 0.6094 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.9045, allocations: 64.56 kB / 0.6094 GB, free: 5.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007232/0.9052, allocations: 475 kB / 0.6099 GB, free: 5.035 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9052, allocations: 0 / 0.6099 GB, free: 5.035 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001702/0.9069, allocations: 345 kB / 0.6102 GB, free: 5.008 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.02734/0.9343, allocations: 1.964 MB / 0.6121 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.9363, allocations: 0.7773 MB / 0.6129 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.9363, allocations: 2.812 kB / 0.6129 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.9371, allocations: 344.4 kB / 0.6132 GB, free: 3.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.9395, allocations: 395.7 kB / 0.6136 GB, free: 3.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.9508, allocations: 8.152 MB / 0.6215 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.9514, allocations: 0.9912 MB / 0.6225 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001721/0.9531, allocations: 0.5818 MB / 0.6231 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/0.9537, allocations: 340.7 kB / 0.6234 GB, free: 12.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.333e-06/0.9537, allocations: 4 kB / 0.6234 GB, free: 12.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/1.129, allocations: 27.51 MB / 0.6503 GB, free: 1.848 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003492/1.129, allocations: 337.4 kB / 0.6506 GB, free: 1.473 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/4.561, allocations: 2.984 kB / 0.6506 GB, free: 1.473 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)