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.001305/0.001305, allocations: 108 kB / 15.6 MB, free: 132 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.001319/0.001319, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.258 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.002952/0.002952, allocations: 0.5585 MB / 291 MB, free: 1.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 351.7 MB, free: 2.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1216, allocations: 49.59 MB / 401.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.6386/0.7603, allocations: 179.3 MB / 0.567 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006118/0.7665, allocations: 3.18 MB / 0.5701 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.7677, allocations: 23.09 kB / 0.5701 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.769, allocations: 407.2 kB / 0.5705 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.7742, allocations: 1.58 MB / 0.572 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.7774, allocations: 1.116 MB / 0.5731 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004323/0.7818, allocations: 2.395 MB / 0.5755 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.7832, allocations: 0.5959 MB / 0.576 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.7862, allocations: 0.984 MB / 0.577 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.7883, allocations: 0.7335 MB / 0.5777 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.7886, allocations: 80.91 kB / 0.5778 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.7924, allocations: 0.9749 MB / 0.5787 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.7929, allocations: 319.4 kB / 0.5791 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.794, allocations: 493.8 kB / 0.5795 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.7973, allocations: 1.722 MB / 0.5812 GB, free: 1.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7974, allocations: 2.688 kB / 0.5812 GB, free: 1.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.7974, allocations: 0.9688 kB / 0.5812 GB, free: 1.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.7974, allocations: 0 / 0.5812 GB, free: 1.258 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.003009/0.8004, allocations: 1.305 MB / 0.5825 GB, free: 16.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8005, allocations: 14.64 kB / 0.5825 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.8006, allocations: 126.2 kB / 0.5826 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.8017, allocations: 167.2 kB / 0.5828 GB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.8027, allocations: 0.5629 MB / 0.5833 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.8029, allocations: 175.5 kB / 0.5835 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.803, allocations: 74 kB / 0.5836 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.8045, allocations: 1.096 MB / 0.5846 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.8045, allocations: 6.469 kB / 0.5846 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.8046, allocations: 31.19 kB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.8047, allocations: 39.33 kB / 0.5847 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.8058, allocations: 0.7798 MB / 0.5855 GB, free: 15.8 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.007137/0.8129, allocations: 5.725 MB / 0.5911 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.8138, allocations: 392.5 kB / 0.5914 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.8142, allocations: 223 kB / 0.5916 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.8145, allocations: 266.7 kB / 0.5919 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.8146, allocations: 39.55 kB / 0.5919 GB, free: 11.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.8146, allocations: 2.594 kB / 0.5919 GB, free: 11.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.008691/0.8233, allocations: 2.255 MB / 0.5941 GB, free: 10.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.8234, allocations: 111.1 kB / 0.5942 GB, free: 10.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009942/0.8244, allocations: 0.6804 MB / 0.5949 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-05/0.8245, allocations: 41.64 kB / 0.595 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.8249, allocations: 460.6 kB / 0.5954 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.8251, allocations: 205.8 kB / 0.5956 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.8254, allocations: 228.1 kB / 0.5958 GB, free: 10.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.8257, allocations: 392.3 kB / 0.5962 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.8261, allocations: 284.6 kB / 0.5965 GB, free: 9.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009739/0.8271, allocations: 0.7664 MB / 0.5972 GB, free: 9.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/0.843, allocations: 3.109 MB / 0.6002 GB, free: 8.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.8431, allocations: 6.188 kB / 0.6002 GB, free: 8.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002065/0.8452, allocations: 1.269 MB / 0.6015 GB, free: 8.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.8452, allocations: 11.03 kB / 0.6015 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.8452, allocations: 18.53 kB / 0.6015 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.8471, allocations: 462.2 kB / 0.602 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.8476, allocations: 189.9 kB / 0.6021 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.849, allocations: 1.117 MB / 0.6032 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007577/0.8498, allocations: 40.52 kB / 0.6033 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.8499, allocations: 102 kB / 0.6034 GB, free: 7.902 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.0005522/0.8505, allocations: 295 kB / 0.6036 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.8506, allocations: 80.78 kB / 0.6037 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.8532, allocations: 1.206 MB / 0.6049 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.8532, allocations: 7.25 kB / 0.6049 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8532, allocations: 0 / 0.6049 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.8532, allocations: 6 kB / 0.6049 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.8565, allocations: 1.982 MB / 0.6068 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8566, allocations: 4.375 kB / 0.6068 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.8569, allocations: 94.89 kB / 0.6069 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.8583, allocations: 279.2 kB / 0.6072 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.8583, allocations: 33.41 kB / 0.6072 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009892/0.8593, allocations: 0.8364 MB / 0.6081 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8594, allocations: 6.25 kB / 0.6081 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.8614, allocations: 1.138 MB / 0.6092 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.862, allocations: 216.7 kB / 0.6094 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.8621, allocations: 12 kB / 0.6094 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.8626, allocations: 21.48 kB / 0.6094 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.8627, allocations: 53.48 kB / 0.6095 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.8628, allocations: 66.36 kB / 0.6095 GB, free: 5.949 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007018/0.8635, allocations: 471.8 kB / 0.61 GB, free: 5.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.8635, allocations: 0 / 0.61 GB, free: 5.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001639/0.8652, allocations: 343.7 kB / 0.6103 GB, free: 5.836 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.003787/0.869, allocations: 1.961 MB / 0.6122 GB, free: 5.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.8709, allocations: 0.8446 MB / 0.613 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.8709, allocations: 3.859 kB / 0.613 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.8718, allocations: 338.4 kB / 0.6134 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.874, allocations: 417.7 kB / 0.6138 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.8863, allocations: 7.865 MB / 0.6214 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.887, allocations: 0.9937 MB / 0.6224 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001765/0.8888, allocations: 0.5631 MB / 0.623 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005931/0.8894, allocations: 339.6 kB / 0.6233 GB, free: 12.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.8894, allocations: 0 / 0.6233 GB, free: 12.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07331/0.9627, allocations: 29.44 MB / 0.652 GB, free: 15.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.37, allocations: 25.56 kB / 0.6521 GB, free: 15.72 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)