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.001912/0.001912, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.002869/0.002869, allocations: 0.5663 MB / 291 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 59.91 kB / 351.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09977, allocations: 49.6 MB / 401.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.5932/0.693, allocations: 179.3 MB / 0.567 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.6981, allocations: 3.176 MB / 0.5701 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.6989, allocations: 22.88 kB / 0.5701 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009355/0.6998, allocations: 407.1 kB / 0.5705 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.7035, allocations: 1.588 MB / 0.572 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.7061, allocations: 1.107 MB / 0.5731 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.7089, allocations: 2.419 MB / 0.5755 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009288/0.7098, allocations: 0.5957 MB / 0.5761 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.7118, allocations: 0.9894 MB / 0.577 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.713, allocations: 0.7356 MB / 0.5777 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.7131, allocations: 80.53 kB / 0.5778 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.7157, allocations: 0.9781 MB / 0.5788 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.716, allocations: 319.5 kB / 0.5791 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.7166, allocations: 498.3 kB / 0.5796 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.7188, allocations: 1.726 MB / 0.5812 GB, free: 1.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7189, allocations: 0 / 0.5812 GB, free: 1.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.7189, allocations: 0.8438 kB / 0.5812 GB, free: 1.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.7189, allocations: 0 / 0.5812 GB, free: 1.234 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.002349/0.7212, allocations: 1.305 MB / 0.5825 GB, free: 16.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.7213, allocations: 10.22 kB / 0.5825 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.7214, allocations: 123.5 kB / 0.5826 GB, free: 16.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.7224, allocations: 166.5 kB / 0.5828 GB, free: 16.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.7233, allocations: 0.5618 MB / 0.5834 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.7234, allocations: 181.5 kB / 0.5835 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7235, allocations: 70.23 kB / 0.5836 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7249, allocations: 1.095 MB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.7249, allocations: 6.25 kB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.473e-05/0.725, allocations: 38.92 kB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.7251, allocations: 34.19 kB / 0.5847 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.7263, allocations: 0.7811 MB / 0.5855 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.005916/0.7322, allocations: 5.73 MB / 0.5911 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.7329, allocations: 392.7 kB / 0.5915 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.7332, allocations: 226.7 kB / 0.5917 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.7335, allocations: 265.6 kB / 0.5919 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.7335, allocations: 44.03 kB / 0.592 GB, free: 11.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.7335, allocations: 0 / 0.592 GB, free: 11.44 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.009864/0.7434, allocations: 2.996 MB / 0.5949 GB, free: 10.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.7435, allocations: 112.4 kB / 0.595 GB, free: 10.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/0.7442, allocations: 0.6769 MB / 0.5957 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.7443, allocations: 37.61 kB / 0.5957 GB, free: 10.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.7446, allocations: 468.6 kB / 0.5962 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.7448, allocations: 199.2 kB / 0.5964 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.745, allocations: 234.9 kB / 0.5966 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.7453, allocations: 386.2 kB / 0.5969 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.7457, allocations: 282.1 kB / 0.5972 GB, free: 9.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008416/0.7465, allocations: 0.7673 MB / 0.598 GB, free: 9.129 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.01555/0.7621, allocations: 3.312 MB / 0.6012 GB, free: 8.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.7621, allocations: 6.859 kB / 0.6012 GB, free: 8.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001867/0.764, allocations: 1.213 MB / 0.6024 GB, free: 8.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.764, allocations: 14.81 kB / 0.6024 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.7641, allocations: 17.31 kB / 0.6024 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008707/0.7649, allocations: 273.7 kB / 0.6027 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.7655, allocations: 209.6 kB / 0.6029 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009051/0.7664, allocations: 0.9043 MB / 0.6038 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.7671, allocations: 41.84 kB / 0.6038 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.7673, allocations: 94.75 kB / 0.6039 GB, free: 7.805 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.0005003/0.7678, allocations: 292.1 kB / 0.6042 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.7679, allocations: 87.77 kB / 0.6043 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.7705, allocations: 1.204 MB / 0.6054 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.7705, allocations: 6.281 kB / 0.6054 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7706, allocations: 2.906 kB / 0.6054 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.7706, allocations: 3.047 kB / 0.6054 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.7736, allocations: 1.986 MB / 0.6074 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7736, allocations: 0 / 0.6074 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.7739, allocations: 98.05 kB / 0.6075 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.7753, allocations: 292.4 kB / 0.6078 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.7753, allocations: 29.95 kB / 0.6078 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009736/0.7763, allocations: 0.8288 MB / 0.6086 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7763, allocations: 10.19 kB / 0.6086 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.7781, allocations: 1.122 MB / 0.6097 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.7785, allocations: 225.6 kB / 0.6099 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.7786, allocations: 11.88 kB / 0.6099 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.779, allocations: 26.3 kB / 0.6099 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.7791, allocations: 52.27 kB / 0.61 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.7792, allocations: 66.36 kB / 0.6101 GB, free: 5.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006374/0.7799, allocations: 472.6 kB / 0.6105 GB, free: 5.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7799, allocations: 3.938 kB / 0.6105 GB, free: 5.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001197/0.7811, allocations: 350.1 kB / 0.6109 GB, free: 5.703 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.003375/0.7845, allocations: 1.964 MB / 0.6128 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.7862, allocations: 0.8472 MB / 0.6136 GB, free: 4.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.7862, allocations: 6.891 kB / 0.6136 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.7869, allocations: 334.9 kB / 0.6139 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.7889, allocations: 417.7 kB / 0.6143 GB, free: 4.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.8001, allocations: 7.77 MB / 0.6219 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.8008, allocations: 0.9913 MB / 0.6229 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001767/0.8025, allocations: 0.5795 MB / 0.6234 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006448/0.8032, allocations: 347.9 kB / 0.6238 GB, free: 12.26 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.8032, allocations: 0 / 0.6238 GB, free: 12.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06792/0.8711, allocations: 28.65 MB / 0.6518 GB, free: 52 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.16, allocations: 13.31 kB / 0.6518 GB, free: 40 kB / 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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)