Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",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.001644/0.001645, allocations: 174.6 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.667/1.667, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0009924/0.0009925, allocations: 83.25 kB / 285.6 MB, free: 12.98 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.002822/0.002822, allocations: 0.5564 MB / 337 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.866e-05/4.868e-05, allocations: 4 kB / 395.6 MB, free: 70.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 50.57 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5491, allocations: 75.27 MB / 0.5092 GB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5494, allocations: 64.28 kB / 0.5092 GB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002876/0.5523, allocations: 1.005 MB / 0.5102 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5523, allocations: 0 / 0.5102 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.5523, allocations: 4 kB / 0.5102 GB, free: 11.52 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.0004221/0.5527, allocations: 359 kB / 0.5106 GB, free: 11.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.5528, allocations: 12.03 kB / 0.5106 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.5529, allocations: 37.23 kB / 0.5106 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.5529, allocations: 4 kB / 0.5106 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.5531, allocations: 170.9 kB / 0.5108 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5531, allocations: 14.5 kB / 0.5108 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.5531, allocations: 7.062 kB / 0.5108 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5533, allocations: 69.11 kB / 0.5109 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5533, allocations: 0 / 0.5109 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.5533, allocations: 7.844 kB / 0.5109 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.5533, allocations: 7.953 kB / 0.5109 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.5534, allocations: 31.56 kB / 0.5109 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.554, allocations: 301.1 kB / 0.5112 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.5543, allocations: 103.1 kB / 0.5113 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.5543, allocations: 32.61 kB / 0.5113 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.5543, allocations: 7.938 kB / 0.5113 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5544, allocations: 38.52 kB / 0.5114 GB, free: 10.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.5544, allocations: 0 / 0.5114 GB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.003231/0.5576, allocations: 0.8337 MB / 0.5122 GB, free: 9.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.5577, allocations: 51.41 kB / 0.5122 GB, free: 9.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.5578, allocations: 103.7 kB / 0.5123 GB, free: 9.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.5578, allocations: 29.7 kB / 0.5124 GB, free: 9.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.5579, allocations: 91.78 kB / 0.5125 GB, free: 9.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.5579, allocations: 62.12 kB / 0.5125 GB, free: 9.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.5579, allocations: 3.625 kB / 0.5125 GB, free: 9.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5581, allocations: 322.3 kB / 0.5128 GB, free: 8.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.5582, allocations: 38.88 kB / 0.5129 GB, free: 8.773 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.5583, allocations: 56.94 kB / 0.5129 GB, free: 8.73 MB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.5606, allocations: 375.4 kB / 0.5133 GB, free: 8.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5606, allocations: 0 / 0.5133 GB, free: 8.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001399/0.562, allocations: 335 kB / 0.5136 GB, free: 8.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.562, allocations: 8 kB / 0.5136 GB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.562, allocations: 0 / 0.5136 GB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/0.5638, allocations: 270 kB / 0.5139 GB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.5639, allocations: 27.42 kB / 0.5139 GB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.5673, allocations: 1.901 MB / 0.5157 GB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.5674, allocations: 7.125 kB / 0.5158 GB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.5674, allocations: 7.984 kB / 0.5158 GB, free: 5.941 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.M2 = 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 (10): * Single equations (assignments): 9 * 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 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.5676, allocations: 106.2 kB / 0.5159 GB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.5676, allocations: 11.86 kB / 0.5159 GB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.5677, allocations: 23.23 kB / 0.5159 GB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.5677, allocations: 288 / 0.5159 GB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5677, allocations: 4 kB / 0.5159 GB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5677, allocations: 4 kB / 0.5159 GB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.568, allocations: 203.2 kB / 0.5161 GB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.568, allocations: 0 / 0.5161 GB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.568, allocations: 8 kB / 0.5161 GB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.5698, allocations: 271.7 kB / 0.5164 GB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.5699, allocations: 11.7 kB / 0.5164 GB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.5722, allocations: 1.742 MB / 0.5181 GB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5722, allocations: 4 kB / 0.5181 GB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5732, allocations: 406.9 kB / 0.5185 GB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.5733, allocations: 81.06 kB / 0.5185 GB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.5733, allocations: 4 kB / 0.5186 GB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5734, allocations: 11.34 kB / 0.5186 GB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.5735, allocations: 7.984 kB / 0.5186 GB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.5735, allocations: 7.375 kB / 0.5186 GB, free: 3.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.112e-05/0.5736, allocations: 90.64 kB / 0.5187 GB, free: 3.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5736, allocations: 0 / 0.5187 GB, free: 3.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.574, allocations: 35.06 kB / 0.5187 GB, free: 2.984 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.5753, allocations: 0.9344 MB / 0.5196 GB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008226/0.5761, allocations: 310.8 kB / 0.5199 GB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5761, allocations: 0 / 0.5199 GB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.5765, allocations: 211 kB / 0.5201 GB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.5767, allocations: 10.3 kB / 0.5201 GB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.5771, allocations: 241.4 kB / 0.5203 GB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.5775, allocations: 0.7053 MB / 0.521 GB, free: 0.6328 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.5775, allocations: 8.547 kB / 0.521 GB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.5776, allocations: 21.94 kB / 0.5211 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5776, allocations: 0 / 0.5211 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.5951, allocations: 3.181 MB / 0.5242 GB, free: 13.7 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003565/0.5955, allocations: 271.6 kB / 0.5244 GB, free: 13.35 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.428, allocations: 2.062 kB / 0.5244 GB, free: 13.35 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)