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.001434/0.001434, 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.001805/0.001805, allocations: 194.9 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.002698/0.002698, allocations: 0.5612 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 351.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0798/0.08102, allocations: 49.6 MB / 401.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4786/0.5597, allocations: 179.3 MB / 0.567 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.5643, allocations: 3.178 MB / 0.5701 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.5649, allocations: 24.34 kB / 0.5701 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.5657, allocations: 403.8 kB / 0.5705 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.5691, allocations: 1.583 MB / 0.572 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.5717, allocations: 1.116 MB / 0.5731 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.5741, allocations: 2.391 MB / 0.5755 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000793/0.5749, allocations: 0.5961 MB / 0.576 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.5766, allocations: 0.981 MB / 0.577 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009276/0.5776, allocations: 0.7404 MB / 0.5777 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.5777, allocations: 82.66 kB / 0.5778 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.5798, allocations: 0.9792 MB / 0.5788 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.5801, allocations: 315.5 kB / 0.5791 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.5806, allocations: 493 kB / 0.5795 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.5825, allocations: 1.727 MB / 0.5812 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5825, allocations: 0 / 0.5812 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5825, allocations: 0 / 0.5812 GB, free: 1.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5825, allocations: 1.031 kB / 0.5812 GB, free: 1.211 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.00222/0.5847, allocations: 1.303 MB / 0.5825 GB, free: 16.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.5848, allocations: 15.58 kB / 0.5825 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.5849, allocations: 123.6 kB / 0.5826 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.586, allocations: 167.1 kB / 0.5828 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.5867, allocations: 0.5602 MB / 0.5833 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.5868, allocations: 180.3 kB / 0.5835 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.587, allocations: 74.19 kB / 0.5836 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.5883, allocations: 1.096 MB / 0.5846 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.5883, allocations: 6.688 kB / 0.5846 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.5884, allocations: 35.31 kB / 0.5847 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.5884, allocations: 32.44 kB / 0.5847 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.5895, allocations: 0.7871 MB / 0.5855 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.00509/0.5946, allocations: 5.717 MB / 0.5911 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.5952, allocations: 393 kB / 0.5914 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.5955, allocations: 221.6 kB / 0.5916 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.5957, allocations: 261 kB / 0.5919 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5958, allocations: 46.39 kB / 0.5919 GB, free: 11.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.574e-06/0.5958, allocations: 0 / 0.5919 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006736/0.6025, allocations: 2.253 MB / 0.5941 GB, free: 10.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.6026, allocations: 109.1 kB / 0.5942 GB, free: 10.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/0.6033, allocations: 0.6766 MB / 0.5949 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.6033, allocations: 38.39 kB / 0.5949 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.6036, allocations: 467.7 kB / 0.5954 GB, free: 10.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.6038, allocations: 203.8 kB / 0.5956 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.604, allocations: 228.1 kB / 0.5958 GB, free: 10.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6042, allocations: 393.4 kB / 0.5962 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.6046, allocations: 282.6 kB / 0.5964 GB, free: 9.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.6053, allocations: 0.7692 MB / 0.5972 GB, free: 9.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/0.6208, allocations: 3.11 MB / 0.6002 GB, free: 8.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.6209, allocations: 5.594 kB / 0.6002 GB, free: 8.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001876/0.6227, allocations: 1.266 MB / 0.6015 GB, free: 8.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6228, allocations: 15.27 kB / 0.6015 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.6228, allocations: 18.44 kB / 0.6015 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.6246, allocations: 468.1 kB / 0.6019 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.6251, allocations: 189 kB / 0.6021 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.6263, allocations: 1.118 MB / 0.6032 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.627, allocations: 39.5 kB / 0.6033 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6271, allocations: 99.02 kB / 0.6034 GB, free: 7.863 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.0004321/0.6276, allocations: 292.5 kB / 0.6036 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.6277, allocations: 81.3 kB / 0.6037 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.63, allocations: 1.204 MB / 0.6049 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.63, allocations: 5.312 kB / 0.6049 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.63, allocations: 1.438 kB / 0.6049 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.63, allocations: 3.984 kB / 0.6049 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.6328, allocations: 1.986 MB / 0.6068 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6328, allocations: 0 / 0.6068 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.6331, allocations: 96.08 kB / 0.6069 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.6346, allocations: 280.7 kB / 0.6072 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.6346, allocations: 35.22 kB / 0.6072 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008329/0.6355, allocations: 0.8398 MB / 0.608 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6355, allocations: 6.953 kB / 0.6081 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.6373, allocations: 1.137 MB / 0.6092 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.6376, allocations: 216.3 kB / 0.6094 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.6377, allocations: 12.53 kB / 0.6094 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.6382, allocations: 25.7 kB / 0.6094 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.6383, allocations: 54.12 kB / 0.6095 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.6384, allocations: 62.97 kB / 0.6095 GB, free: 5.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005028/0.6389, allocations: 474.2 kB / 0.61 GB, free: 5.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6389, allocations: 1.094 kB / 0.61 GB, free: 5.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001189/0.6401, allocations: 342.6 kB / 0.6103 GB, free: 5.797 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.003015/0.6431, allocations: 1.956 MB / 0.6122 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.6447, allocations: 0.8389 MB / 0.613 GB, free: 4.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.6447, allocations: 6.953 kB / 0.613 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.6454, allocations: 345.8 kB / 0.6134 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.6473, allocations: 408.2 kB / 0.6138 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009515/0.6568, allocations: 7.875 MB / 0.6214 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.6574, allocations: 0.9904 MB / 0.6224 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001534/0.6589, allocations: 0.561 MB / 0.623 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.6595, allocations: 341.3 kB / 0.6233 GB, free: 12.7 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6595, allocations: 3.094 kB / 0.6233 GB, free: 12.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05439/0.7139, allocations: 29.44 MB / 0.652 GB, free: 15.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.17, allocations: 13.39 kB / 0.6521 GB, free: 15.67 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)