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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, 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.419/1.419, 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.000898/0.000898, allocations: 93.34 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-master/package.mo): time 0.002508/0.002508, allocations: 0.5537 MB / 337 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.757e-05, allocations: 7.922 kB / 395.5 MB, free: 70.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 50.57 MB / 446 MB, free: 19.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5905, allocations: 75.27 MB / 0.5091 GB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.5909, allocations: 68.33 kB / 0.5092 GB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003386/0.5944, allocations: 0.9955 MB / 0.5101 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5944, allocations: 0 / 0.5101 GB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.5944, allocations: 0 / 0.5101 GB, free: 11.66 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.0005465/0.595, allocations: 362.6 kB / 0.5105 GB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.23e-05/0.5951, allocations: 12.03 kB / 0.5105 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.5952, allocations: 7.984 kB / 0.5105 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.5955, allocations: 174.4 kB / 0.5107 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.5955, allocations: 7.281 kB / 0.5107 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.5955, allocations: 7.125 kB / 0.5107 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.5958, allocations: 67.55 kB / 0.5107 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5958, allocations: 0 / 0.5107 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.5958, allocations: 352 / 0.5107 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5958, allocations: 7.953 kB / 0.5107 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.596, allocations: 42.3 kB / 0.5108 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.5968, allocations: 302.6 kB / 0.5111 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.5971, allocations: 96.56 kB / 0.5112 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.5972, allocations: 36.23 kB / 0.5112 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5973, allocations: 0 / 0.5112 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.5973, allocations: 38.33 kB / 0.5112 GB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.787e-06/0.5973, allocations: 4 kB / 0.5112 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.003789/0.6011, allocations: 0.8441 MB / 0.5121 GB, free: 9.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.6012, allocations: 55.41 kB / 0.5121 GB, free: 9.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.6014, allocations: 97.08 kB / 0.5122 GB, free: 9.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.6015, allocations: 33.52 kB / 0.5122 GB, free: 9.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.6016, allocations: 87.98 kB / 0.5123 GB, free: 9.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.6016, allocations: 62.05 kB / 0.5124 GB, free: 9.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.6017, allocations: 0 / 0.5124 GB, free: 9.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.6019, allocations: 318.5 kB / 0.5127 GB, free: 8.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.602, allocations: 44.56 kB / 0.5127 GB, free: 8.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.6021, allocations: 60.91 kB / 0.5128 GB, free: 8.902 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.002387/0.6045, allocations: 378 kB / 0.5131 GB, free: 8.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6045, allocations: 0 / 0.5131 GB, free: 8.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001411/0.6059, allocations: 333.1 kB / 0.5135 GB, free: 8.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.606, allocations: 8 kB / 0.5135 GB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.606, allocations: 0 / 0.5135 GB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.6077, allocations: 263.6 kB / 0.5137 GB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.6078, allocations: 23.92 kB / 0.5137 GB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.6114, allocations: 1.911 MB / 0.5156 GB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.6115, allocations: 11.44 kB / 0.5156 GB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.6115, allocations: 4.281 kB / 0.5156 GB, free: 6.113 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.0001948/0.6117, allocations: 112.3 kB / 0.5157 GB, free: 6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.6117, allocations: 7.953 kB / 0.5157 GB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.6118, allocations: 26.56 kB / 0.5158 GB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.6118, allocations: 0 / 0.5158 GB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.6118, allocations: 0 / 0.5158 GB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6118, allocations: 0 / 0.5158 GB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.6121, allocations: 198.3 kB / 0.516 GB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6121, allocations: 4 kB / 0.516 GB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.6122, allocations: 8 kB / 0.516 GB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.614, allocations: 270.2 kB / 0.5162 GB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.614, allocations: 19.88 kB / 0.5162 GB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.6164, allocations: 1.725 MB / 0.5179 GB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6164, allocations: 4 kB / 0.5179 GB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.6175, allocations: 402.9 kB / 0.5183 GB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.6176, allocations: 93 kB / 0.5184 GB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.6176, allocations: 4 kB / 0.5184 GB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.6177, allocations: 7.375 kB / 0.5184 GB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.6177, allocations: 7.984 kB / 0.5184 GB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.6178, allocations: 11.42 kB / 0.5184 GB, free: 3.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.706e-05/0.6178, allocations: 90.83 kB / 0.5185 GB, free: 3.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6178, allocations: 0 / 0.5185 GB, free: 3.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.6182, allocations: 31.5 kB / 0.5186 GB, free: 3.168 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.0001842/0.6184, allocations: 102.8 kB / 0.5187 GB, free: 3.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008418/0.6192, allocations: 315.5 kB / 0.519 GB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6192, allocations: 0 / 0.519 GB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.6196, allocations: 217.9 kB / 0.5192 GB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.6198, allocations: 3.594 kB / 0.5192 GB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.6202, allocations: 186.4 kB / 0.5193 GB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.6206, allocations: 0.7053 MB / 0.52 GB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.6206, allocations: 12.48 kB / 0.52 GB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.6207, allocations: 11.44 kB / 0.5201 GB, free: 1.645 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6207, allocations: 0 / 0.5201 GB, free: 1.645 MB / 330.7 MB Notification: Performance of Templates: time 0.00516/0.6258, allocations: 2.004 MB / 0.522 GB, free: 15.7 MB / 346.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)