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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009411/0.0009411, allocations: 172.8 kB / 16.12 MB, free: 5.691 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.33/1.33, allocations: 223.3 MB / 240.1 MB, free: 9.973 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.0008155/0.0008155, allocations: 99.42 kB / 291.3 MB, free: 10.57 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.002249/0.002249, allocations: 0.543 MB / 343 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 12 kB / 404.2 MB, free: 65.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07609/0.07645, allocations: 50.57 MB / 454.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/0.3472, allocations: 75.35 MB / 0.5177 GB, free: 6.738 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.3474, allocations: 64.53 kB / 0.5178 GB, free: 6.703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002634/0.3501, allocations: 1.01 MB / 0.5187 GB, free: 5.816 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3501, allocations: 0 / 0.5187 GB, free: 5.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3501, allocations: 0 / 0.5187 GB, free: 5.816 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.0003801/0.3505, allocations: 367.5 kB / 0.5191 GB, free: 5.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3505, allocations: 12.03 kB / 0.5191 GB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.3506, allocations: 4.844 kB / 0.5191 GB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3507, allocations: 171.5 kB / 0.5193 GB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3507, allocations: 4.375 kB / 0.5193 GB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3508, allocations: 15.58 kB / 0.5193 GB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3509, allocations: 68.48 kB / 0.5194 GB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3509, allocations: 4.125 kB / 0.5194 GB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3509, allocations: 3.938 kB / 0.5194 GB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3509, allocations: 8 kB / 0.5194 GB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.351, allocations: 42.34 kB / 0.5194 GB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.3515, allocations: 309.2 kB / 0.5197 GB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.3518, allocations: 122 kB / 0.5198 GB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.3518, allocations: 42.44 kB / 0.5199 GB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3518, allocations: 3.938 kB / 0.5199 GB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3519, allocations: 34.56 kB / 0.5199 GB, free: 4.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.3519, allocations: 0 / 0.5199 GB, free: 4.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002617/0.3545, allocations: 0.7907 MB / 0.5207 GB, free: 3.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3546, allocations: 59.39 kB / 0.5207 GB, free: 3.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.3546, allocations: 109.5 kB / 0.5208 GB, free: 3.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3547, allocations: 29.7 kB / 0.5209 GB, free: 3.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.3547, allocations: 87.81 kB / 0.5209 GB, free: 3.527 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.3548, allocations: 65.09 kB / 0.521 GB, free: 3.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.3548, allocations: 3.75 kB / 0.521 GB, free: 3.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3549, allocations: 330 kB / 0.5213 GB, free: 3.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.355, allocations: 36.98 kB / 0.5214 GB, free: 3.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.3551, allocations: 64.75 kB / 0.5214 GB, free: 3.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.3579, allocations: 0.5906 MB / 0.522 GB, free: 2.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3579, allocations: 0 / 0.522 GB, free: 2.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001526/0.3595, allocations: 370.3 kB / 0.5224 GB, free: 2.215 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3595, allocations: 8 kB / 0.5224 GB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3595, allocations: 0 / 0.5224 GB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.3613, allocations: 293.6 kB / 0.5226 GB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.3614, allocations: 8 kB / 0.5226 GB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.3649, allocations: 2.141 MB / 0.5247 GB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.365, allocations: 3.875 kB / 0.5247 GB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.365, allocations: 4 kB / 0.5247 GB, free: 15.92 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.p2 = 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 () * Number of clocked 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.0001467/0.3651, allocations: 120.6 kB / 0.5249 GB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3652, allocations: 7.906 kB / 0.5249 GB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.3652, allocations: 27.44 kB / 0.5249 GB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3652, allocations: 4 kB / 0.5249 GB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3653, allocations: 96 / 0.5249 GB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3653, allocations: 3.984 kB / 0.5249 GB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3665, allocations: 0.5694 MB / 0.5255 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3666, allocations: 1.812 kB / 0.5255 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.3666, allocations: 15.98 kB / 0.5255 GB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.3688, allocations: 324.1 kB / 0.5258 GB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3688, allocations: 3 kB / 0.5258 GB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.3712, allocations: 1.799 MB / 0.5275 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3712, allocations: 48 / 0.5275 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3722, allocations: 433.8 kB / 0.528 GB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.3723, allocations: 93.05 kB / 0.528 GB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3723, allocations: 8.062 kB / 0.5281 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3724, allocations: 7.812 kB / 0.5281 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3725, allocations: 11.92 kB / 0.5281 GB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3725, allocations: 11.67 kB / 0.5281 GB, free: 12.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.215e-05/0.3726, allocations: 88.05 kB / 0.5282 GB, free: 12.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3726, allocations: 0 / 0.5282 GB, free: 12.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.3729, allocations: 42 kB / 0.5282 GB, free: 12.48 MB / 346.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 () * Number of clocked 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.0001104/0.373, allocations: 107.2 kB / 0.5283 GB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005965/0.3736, allocations: 300.4 kB / 0.5286 GB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3737, allocations: 4 kB / 0.5286 GB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.3742, allocations: 252.6 kB / 0.5288 GB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3744, allocations: 7.625 kB / 0.5289 GB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.3748, allocations: 292.1 kB / 0.5291 GB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3751, allocations: 0.705 MB / 0.5298 GB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.999e-05/0.3751, allocations: 9.078 kB / 0.5298 GB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.3751, allocations: 11.44 kB / 0.5298 GB, free: 10.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3751, allocations: 3.938 kB / 0.5298 GB, free: 10.83 MB / 346.7 MB Notification: Performance of Templates: time 0.004641/0.3798, allocations: 2.327 MB / 0.5321 GB, free: 8.562 MB / 346.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)