Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 90.91 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002591/0.002591, allocations: 0.5525 MB / 337 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.275e-05, allocations: 0 / 395.6 MB, free: 70.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 50.58 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4987/0.6171, allocations: 75.26 MB / 0.5092 GB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.6174, allocations: 64.69 kB / 0.5092 GB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00286/0.6203, allocations: 1.002 MB / 0.5102 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.6203, allocations: 0 / 0.5102 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.6203, allocations: 3.938 kB / 0.5102 GB, free: 11.51 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000439/0.6208, allocations: 359.8 kB / 0.5106 GB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.6208, allocations: 8.031 kB / 0.5106 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.6209, allocations: 41.36 kB / 0.5106 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.6209, allocations: 4 kB / 0.5106 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.6211, allocations: 177.6 kB / 0.5108 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.6211, allocations: 4 kB / 0.5108 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.6212, allocations: 11.62 kB / 0.5108 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.6213, allocations: 67.8 kB / 0.5109 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6213, allocations: 7.938 kB / 0.5109 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6213, allocations: 352 / 0.5109 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6214, allocations: 3.953 kB / 0.5109 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.6214, allocations: 34.62 kB / 0.5109 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.622, allocations: 302.9 kB / 0.5112 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.6223, allocations: 120.9 kB / 0.5113 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.6224, allocations: 35.61 kB / 0.5114 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.6224, allocations: 3.984 kB / 0.5114 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.6224, allocations: 34.52 kB / 0.5114 GB, free: 10.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.6225, allocations: 0 / 0.5114 GB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002649/0.6251, allocations: 0.7664 MB / 0.5121 GB, free: 9.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.6252, allocations: 55.41 kB / 0.5122 GB, free: 9.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.6252, allocations: 100.5 kB / 0.5123 GB, free: 9.355 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.6253, allocations: 33.64 kB / 0.5123 GB, free: 9.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.6254, allocations: 84.41 kB / 0.5124 GB, free: 9.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.6254, allocations: 61.11 kB / 0.5125 GB, free: 9.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.6254, allocations: 3.875 kB / 0.5125 GB, free: 9.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6256, allocations: 326.5 kB / 0.5128 GB, free: 8.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.6257, allocations: 37.25 kB / 0.5128 GB, free: 8.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.55e-05/0.6258, allocations: 67.62 kB / 0.5129 GB, free: 8.781 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.6283, allocations: 464.3 kB / 0.5133 GB, free: 8.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6283, allocations: 4 kB / 0.5133 GB, free: 8.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001618/0.6299, allocations: 364.8 kB / 0.5137 GB, free: 8.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.63, allocations: 4 kB / 0.5137 GB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.63, allocations: 0 / 0.5137 GB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.6318, allocations: 298.4 kB / 0.514 GB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.6319, allocations: 15.92 kB / 0.514 GB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/0.6359, allocations: 2.127 MB / 0.5161 GB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.636, allocations: 3.125 kB / 0.5161 GB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.6361, allocations: 4 kB / 0.5161 GB, free: 5.734 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.p1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.6362, allocations: 116.1 kB / 0.5162 GB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.6363, allocations: 7.906 kB / 0.5162 GB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.6363, allocations: 23.62 kB / 0.5162 GB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.6364, allocations: 7.984 kB / 0.5162 GB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6364, allocations: 0 / 0.5162 GB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6364, allocations: 0 / 0.5162 GB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.6377, allocations: 0.5683 MB / 0.5168 GB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6378, allocations: 0 / 0.5168 GB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.6378, allocations: 15.92 kB / 0.5168 GB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/0.6398, allocations: 282.2 kB / 0.517 GB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.6398, allocations: 7.984 kB / 0.5171 GB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.6425, allocations: 1.786 MB / 0.5188 GB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.6425, allocations: 3.953 kB / 0.5188 GB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.6436, allocations: 436.2 kB / 0.5192 GB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.6437, allocations: 85.02 kB / 0.5193 GB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.6437, allocations: 11.2 kB / 0.5193 GB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6438, allocations: 3.688 kB / 0.5193 GB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.6439, allocations: 20.83 kB / 0.5193 GB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.6439, allocations: 7.562 kB / 0.5193 GB, free: 2.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.644, allocations: 79.59 kB / 0.5194 GB, free: 2.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.644, allocations: 3.938 kB / 0.5194 GB, free: 2.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.6444, allocations: 42.75 kB / 0.5195 GB, free: 2.332 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/0.6458, allocations: 1.038 MB / 0.5205 GB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.6465, allocations: 307 kB / 0.5208 GB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6466, allocations: 0 / 0.5208 GB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.6472, allocations: 248.2 kB / 0.521 GB, free: 0.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.6473, allocations: 15.75 kB / 0.521 GB, free: 0.8242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.6479, allocations: 242.6 kB / 0.5213 GB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.6483, allocations: 0.701 MB / 0.5219 GB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.338e-05/0.6483, allocations: 8.875 kB / 0.5219 GB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.6484, allocations: 27.3 kB / 0.522 GB, free: 15.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6484, allocations: 4 kB / 0.522 GB, free: 15.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.6686, allocations: 3.504 MB / 0.5254 GB, free: 12.56 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.669, allocations: 269.2 kB / 0.5257 GB, free: 12.22 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.433, allocations: 0 / 0.5257 GB, free: 12.22 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)