Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",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.001875/0.001875, 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.002101/0.002101, allocations: 196 kB / 16.53 MB, free: 6.699 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.002891/0.002891, allocations: 0.5663 MB / 291 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.88 kB / 351.7 MB, free: 2.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 49.6 MB / 401.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.5756/0.6786, allocations: 179.3 MB / 0.567 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006582/0.6853, allocations: 3.169 MB / 0.5701 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.6868, allocations: 23.97 kB / 0.5701 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.688, allocations: 403.1 kB / 0.5705 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.693, allocations: 1.588 MB / 0.572 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.6962, allocations: 1.111 MB / 0.5731 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.6999, allocations: 2.391 MB / 0.5754 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.701, allocations: 0.5963 MB / 0.576 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002554/0.7036, allocations: 0.9808 MB / 0.577 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.7053, allocations: 0.7441 MB / 0.5777 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.7055, allocations: 83.25 kB / 0.5778 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.7084, allocations: 0.972 MB / 0.5787 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.7087, allocations: 319.4 kB / 0.579 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006893/0.7094, allocations: 496.1 kB / 0.5795 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.7123, allocations: 1.726 MB / 0.5812 GB, free: 1.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7123, allocations: 4.656 kB / 0.5812 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7123, allocations: 0 / 0.5812 GB, free: 1.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.7123, allocations: 0.875 kB / 0.5812 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.002573/0.7149, allocations: 1.304 MB / 0.5825 GB, free: 16.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.715, allocations: 14.02 kB / 0.5825 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.7151, allocations: 124.2 kB / 0.5826 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/0.7161, allocations: 166.1 kB / 0.5828 GB, free: 16.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.7169, allocations: 0.5571 MB / 0.5833 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.7171, allocations: 183.3 kB / 0.5835 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.7173, allocations: 73.98 kB / 0.5836 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.7187, allocations: 1.098 MB / 0.5846 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.7187, allocations: 4.156 kB / 0.5846 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.7188, allocations: 34.56 kB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.7189, allocations: 31.27 kB / 0.5847 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.7199, allocations: 0.7881 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.006024/0.726, allocations: 5.718 MB / 0.5911 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.7266, allocations: 387.8 kB / 0.5914 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.7269, allocations: 220.1 kB / 0.5916 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.7272, allocations: 266 kB / 0.5919 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.7273, allocations: 44.12 kB / 0.5919 GB, free: 11.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 4.008e-06/0.7273, allocations: 0.8438 kB / 0.5919 GB, free: 11.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.007025/0.7343, allocations: 2.254 MB / 0.5941 GB, free: 10.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.7344, allocations: 109.4 kB / 0.5942 GB, free: 10.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007545/0.7352, allocations: 0.6774 MB / 0.5949 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.7353, allocations: 37.61 kB / 0.5949 GB, free: 10.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.7356, allocations: 466.3 kB / 0.5954 GB, free: 10.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.7358, allocations: 204.8 kB / 0.5956 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.7361, allocations: 232.1 kB / 0.5958 GB, free: 10.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.7363, allocations: 390.1 kB / 0.5962 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.7367, allocations: 280.4 kB / 0.5964 GB, free: 9.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/0.7375, allocations: 0.7673 MB / 0.5972 GB, free: 9.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/0.7527, allocations: 3.114 MB / 0.6002 GB, free: 8.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.21e-05/0.7528, allocations: 8.406 kB / 0.6002 GB, free: 8.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002314/0.7551, allocations: 1.266 MB / 0.6015 GB, free: 8.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7552, allocations: 14.22 kB / 0.6015 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.7552, allocations: 15.84 kB / 0.6015 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.757, allocations: 464.2 kB / 0.6019 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.7575, allocations: 189.1 kB / 0.6021 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.759, allocations: 1.116 MB / 0.6032 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.7597, allocations: 43.64 kB / 0.6033 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.7598, allocations: 98.69 kB / 0.6034 GB, free: 7.891 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: $DER.V2.medium.p = 0.0. 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 (101): * Single equations (assignments): 100 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005137/0.7604, allocations: 292.6 kB / 0.6036 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.7606, allocations: 82 kB / 0.6037 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.763, allocations: 1.207 MB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.7631, allocations: 6.344 kB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7631, allocations: 0.875 kB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7631, allocations: 4.266 kB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.7664, allocations: 1.98 MB / 0.6068 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.7665, allocations: 9.594 kB / 0.6068 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.7668, allocations: 94.88 kB / 0.6069 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.7682, allocations: 277.1 kB / 0.6072 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.7683, allocations: 36.39 kB / 0.6072 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/0.7693, allocations: 0.8472 MB / 0.6081 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.7693, allocations: 0 / 0.6081 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.7713, allocations: 1.132 MB / 0.6092 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.7717, allocations: 218.7 kB / 0.6094 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.7719, allocations: 12.12 kB / 0.6094 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.7724, allocations: 23 kB / 0.6094 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/0.7725, allocations: 55.94 kB / 0.6095 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-05/0.7726, allocations: 61.66 kB / 0.6095 GB, free: 5.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006233/0.7733, allocations: 471.8 kB / 0.61 GB, free: 5.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7733, allocations: 0 / 0.61 GB, free: 5.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001332/0.7746, allocations: 348.4 kB / 0.6103 GB, free: 5.824 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.0034/0.778, allocations: 1.951 MB / 0.6122 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.7797, allocations: 0.8434 MB / 0.613 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.7798, allocations: 3.859 kB / 0.613 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.7806, allocations: 344.1 kB / 0.6134 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.7827, allocations: 418 kB / 0.6138 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.7951, allocations: 7.87 MB / 0.6214 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.7959, allocations: 0.985 MB / 0.6224 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001892/0.7978, allocations: 0.5725 MB / 0.623 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.7985, allocations: 345.5 kB / 0.6233 GB, free: 12.72 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7985, allocations: 3.094 kB / 0.6233 GB, free: 12.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07291/0.8714, allocations: 29.43 MB / 0.652 GB, free: 15.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.31, allocations: 13.56 kB / 0.6521 GB, free: 15.71 MB / 494.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature_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_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)