Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",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.0014/0.0014, allocations: 169 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.001269/0.00127, allocations: 82.08 kB / 280.5 MB, free: 5.312 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.002516/0.002516, allocations: 0.5603 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.446e-05, allocations: 8 kB / 388.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3604, allocations: 50.57 MB / 439.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.487, allocations: 74.57 MB / 0.5018 GB, free: 8.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.4874, allocations: 59.97 kB / 0.5019 GB, free: 8.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002876/0.4903, allocations: 0.9786 MB / 0.5028 GB, free: 7.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4903, allocations: 0 / 0.5028 GB, free: 7.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4904, allocations: 0 / 0.5028 GB, free: 7.531 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.0003988/0.4908, allocations: 362.4 kB / 0.5032 GB, free: 7.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4908, allocations: 11.98 kB / 0.5032 GB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.4909, allocations: 4 kB / 0.5032 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.4911, allocations: 174.9 kB / 0.5033 GB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4911, allocations: 0 / 0.5033 GB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4911, allocations: 4 kB / 0.5033 GB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.4912, allocations: 35.98 kB / 0.5034 GB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4914, allocations: 57.62 kB / 0.5034 GB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4914, allocations: 4.344 kB / 0.5034 GB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4914, allocations: 3.953 kB / 0.5034 GB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4914, allocations: 0 / 0.5034 GB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.4919, allocations: 277.4 kB / 0.5037 GB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.4922, allocations: 102.5 kB / 0.5038 GB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.4923, allocations: 32.86 kB / 0.5038 GB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.4923, allocations: 0 / 0.5038 GB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4923, allocations: 38.44 kB / 0.5039 GB, free: 6.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.4923, allocations: 4 kB / 0.5039 GB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002429/0.4948, allocations: 0.6896 MB / 0.5045 GB, free: 5.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.4948, allocations: 51.41 kB / 0.5046 GB, free: 5.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.4949, allocations: 105.4 kB / 0.5047 GB, free: 5.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4949, allocations: 29.7 kB / 0.5047 GB, free: 5.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.495, allocations: 91.94 kB / 0.5048 GB, free: 5.246 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.4951, allocations: 59.11 kB / 0.5049 GB, free: 5.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/0.4951, allocations: 0 / 0.5049 GB, free: 5.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4952, allocations: 318.8 kB / 0.5052 GB, free: 4.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.4953, allocations: 36 kB / 0.5052 GB, free: 4.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.4954, allocations: 59.94 kB / 0.5053 GB, free: 4.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.135e-05/0.4954, allocations: 37.55 kB / 0.5053 GB, free: 4.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4955, allocations: 0 / 0.5053 GB, free: 4.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001555/0.497, allocations: 337.8 kB / 0.5056 GB, free: 4.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4971, allocations: 5.719 kB / 0.5056 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4971, allocations: 0 / 0.5056 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.4991, allocations: 270.8 kB / 0.5059 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.4992, allocations: 12 kB / 0.5059 GB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.5032, allocations: 1.99 MB / 0.5078 GB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.5034, allocations: 4 kB / 0.5078 GB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.5034, allocations: 8 kB / 0.5078 GB, free: 1.996 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real 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 (7): * Single equations (assignments): 6 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.5036, allocations: 108.9 kB / 0.508 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00101/0.5046, allocations: 236.2 kB / 0.5082 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.5046, allocations: 7.953 kB / 0.5082 GB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.5047, allocations: 20.73 kB / 0.5082 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5047, allocations: 0 / 0.5082 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5047, allocations: 4 kB / 0.5082 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5047, allocations: 0 / 0.5082 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.5049, allocations: 166.2 kB / 0.5084 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5049, allocations: 4 kB / 0.5084 GB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.505, allocations: 8 kB / 0.5084 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.5068, allocations: 272.4 kB / 0.5086 GB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.5068, allocations: 7.984 kB / 0.5086 GB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.5091, allocations: 1.693 MB / 0.5103 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5091, allocations: 0 / 0.5103 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.5101, allocations: 387.9 kB / 0.5107 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.5102, allocations: 77.11 kB / 0.5107 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.5102, allocations: 4 kB / 0.5107 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5103, allocations: 3.953 kB / 0.5108 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.5104, allocations: 20.02 kB / 0.5108 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.5104, allocations: 4 kB / 0.5108 GB, free: 14.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.06e-05/0.5105, allocations: 87.22 kB / 0.5109 GB, free: 14.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5105, allocations: 3.938 kB / 0.5109 GB, free: 14.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000385/0.5109, allocations: 32 kB / 0.5109 GB, free: 14.66 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.001433/0.5123, allocations: 0.9211 MB / 0.5118 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006746/0.513, allocations: 273.7 kB / 0.5121 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.513, allocations: 0 / 0.5121 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.5133, allocations: 209.4 kB / 0.5123 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.5135, allocations: 11.95 kB / 0.5123 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.514, allocations: 212.1 kB / 0.5125 GB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.5144, allocations: 0.7048 MB / 0.5132 GB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.5145, allocations: 4.562 kB / 0.5132 GB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.5145, allocations: 27.42 kB / 0.5132 GB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5145, allocations: 0 / 0.5132 GB, free: 12.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.5431, allocations: 2.891 MB / 0.516 GB, free: 9.359 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005312/0.5437, allocations: 235.8 kB / 0.5162 GB, free: 9.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.259, allocations: 0 / 0.5162 GB, free: 9.074 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)