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.002364/0.002363, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.317/2.317, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 82.06 kB / 280.4 MB, free: 5.32 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.004366/0.004367, allocations: 0.5506 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.572e-05, allocations: 0 / 388.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3044, allocations: 50.56 MB / 439.3 MB, free: 19.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4297, allocations: 74.61 MB / 0.5018 GB, free: 8.625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/0.4302, allocations: 67.89 kB / 0.5019 GB, free: 8.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003628/0.4339, allocations: 1.002 MB / 0.5029 GB, free: 7.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4339, allocations: 0 / 0.5029 GB, free: 7.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.434, allocations: 4 kB / 0.5029 GB, free: 7.555 MB / 346.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.000524/0.4345, allocations: 354.4 kB / 0.5032 GB, free: 7.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.4346, allocations: 15.97 kB / 0.5032 GB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.4346, allocations: 8 kB / 0.5032 GB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.4349, allocations: 174.9 kB / 0.5034 GB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4349, allocations: 0 / 0.5034 GB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.4349, allocations: 4 kB / 0.5034 GB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/0.435, allocations: 32 kB / 0.5034 GB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.4352, allocations: 57.67 kB / 0.5035 GB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4352, allocations: 352 / 0.5035 GB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.4352, allocations: 3.953 kB / 0.5035 GB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.4352, allocations: 15.86 kB / 0.5035 GB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.4358, allocations: 273.5 kB / 0.5038 GB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.4361, allocations: 94.56 kB / 0.5039 GB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.4362, allocations: 32.86 kB / 0.5039 GB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4362, allocations: 0 / 0.5039 GB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4362, allocations: 30.56 kB / 0.5039 GB, free: 6.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.4363, allocations: 0 / 0.5039 GB, free: 6.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002678/0.4389, allocations: 0.7155 MB / 0.5046 GB, free: 5.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.439, allocations: 51.41 kB / 0.5047 GB, free: 5.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4391, allocations: 97 kB / 0.5048 GB, free: 5.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4392, allocations: 25.7 kB / 0.5048 GB, free: 5.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.4393, allocations: 96 kB / 0.5049 GB, free: 5.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.4393, allocations: 59.09 kB / 0.5049 GB, free: 5.211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.4393, allocations: 0 / 0.5049 GB, free: 5.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4395, allocations: 318.8 kB / 0.5052 GB, free: 4.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.4396, allocations: 40 kB / 0.5053 GB, free: 4.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.4397, allocations: 45.72 kB / 0.5053 GB, free: 4.801 MB / 346.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.002305/0.442, allocations: 373.8 kB / 0.5057 GB, free: 4.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.442, allocations: 4 kB / 0.5057 GB, free: 4.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001408/0.4434, allocations: 307.3 kB / 0.506 GB, free: 4.125 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4435, allocations: 8 kB / 0.506 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4435, allocations: 0 / 0.506 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.4452, allocations: 272.5 kB / 0.5062 GB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4453, allocations: 19.98 kB / 0.5063 GB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.4489, allocations: 1.845 MB / 0.5081 GB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.449, allocations: 0 / 0.5081 GB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.449, allocations: 4 kB / 0.5081 GB, free: 1.863 MB / 346.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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real 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.0002255/0.4493, allocations: 117.5 kB / 0.5082 GB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008899/0.4502, allocations: 238.1 kB / 0.5084 GB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.4502, allocations: 7.906 kB / 0.5084 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.4503, allocations: 12.75 kB / 0.5084 GB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.4503, allocations: 7.953 kB / 0.5084 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/0.4503, allocations: 4 kB / 0.5084 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4503, allocations: 3.984 kB / 0.5084 GB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.4506, allocations: 170.2 kB / 0.5086 GB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4506, allocations: 0 / 0.5086 GB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.4507, allocations: 12 kB / 0.5086 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.4524, allocations: 272.5 kB / 0.5089 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4525, allocations: 7.984 kB / 0.5089 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.4547, allocations: 1.693 MB / 0.5105 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4547, allocations: 0 / 0.5105 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4557, allocations: 391.9 kB / 0.5109 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.4558, allocations: 77.11 kB / 0.511 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4558, allocations: 0 / 0.511 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4559, allocations: 4 kB / 0.511 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.456, allocations: 19.91 kB / 0.511 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.456, allocations: 4 kB / 0.511 GB, free: 14.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.456, allocations: 83.28 kB / 0.5111 GB, free: 14.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4561, allocations: 4 kB / 0.5111 GB, free: 14.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.4564, allocations: 28 kB / 0.5111 GB, free: 14.52 MB / 362.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.001354/0.4578, allocations: 0.92 MB / 0.512 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.4587, allocations: 285.5 kB / 0.5123 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4587, allocations: 0 / 0.5123 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.459, allocations: 207.3 kB / 0.5125 GB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.4592, allocations: 8 kB / 0.5125 GB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.4598, allocations: 213.4 kB / 0.5127 GB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.4602, allocations: 0.7087 MB / 0.5134 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.4602, allocations: 4.562 kB / 0.5134 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.4603, allocations: 23.62 kB / 0.5134 GB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4603, allocations: 3.938 kB / 0.5134 GB, free: 12.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.4908, allocations: 2.681 MB / 0.516 GB, free: 9.402 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005171/0.4914, allocations: 221.5 kB / 0.5162 GB, free: 9.117 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.25, allocations: 0 / 0.5162 GB, free: 9.117 MB / 362.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)