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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.00127, allocations: 191.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004569/0.004568, allocations: 0.5659 MB / 290.6 MB, free: 1.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.89 kB / 351.1 MB, free: 2.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 49.59 MB / 400.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.002425/0.152, allocations: 0.6404 MB / 401.3 MB, free: 380 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002845/0.1523, allocations: 47.86 kB / 401.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.1524, allocations: 0 / 401.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.1524, allocations: 7.875 kB / 401.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1525, allocations: 0 / 401.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.1527, allocations: 27.91 kB / 401.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.1528, allocations: 43.84 kB / 401.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.1529, allocations: 8 kB / 401.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.1529, allocations: 23.92 kB / 401.4 MB, free: 220 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.153, allocations: 27.83 kB / 401.5 MB, free: 192 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1531, allocations: 4 kB / 401.5 MB, free: 188 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.1531, allocations: 4 kB / 401.5 MB, free: 184 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.1531, allocations: 11.98 kB / 401.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.1532, allocations: 23.86 kB / 401.5 MB, free: 148 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.079e-05/0.1533, allocations: 31.81 kB / 401.5 MB, free: 116 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.1533, allocations: 4 kB / 401.5 MB, free: 112 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1533, allocations: 4 kB / 401.5 MB, free: 108 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1533, allocations: 4 kB / 401.6 MB, free: 104 kB / 286.1 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.3005/0.4538, allocations: 365.2 kB / 401.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.4539, allocations: 12.95 kB / 401.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.4539, allocations: 8.438 kB / 401.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4541, allocations: 175.2 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4541, allocations: 13.69 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.4542, allocations: 10.28 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.4544, allocations: 66.95 kB / 402.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4544, allocations: 192 / 402.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.4544, allocations: 5 kB / 402.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.4544, allocations: 1.547 kB / 402.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4545, allocations: 37.78 kB / 402.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.4551, allocations: 314.3 kB / 402.5 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.4555, allocations: 127.2 kB / 402.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.4556, allocations: 35.94 kB / 402.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.4556, allocations: 4.781 kB / 402.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.4557, allocations: 32.83 kB / 402.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.4557, allocations: 0 / 402.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003239/0.4589, allocations: 0.7849 MB / 403.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.459, allocations: 54.28 kB / 403.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4591, allocations: 110.8 kB / 403.7 MB, free: 9.633 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4591, allocations: 33.2 kB / 403.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.4592, allocations: 87.88 kB / 403.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.4593, allocations: 65.64 kB / 403.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.4593, allocations: 41.89 kB / 403.9 MB, free: 9.453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.4594, allocations: 323.3 kB / 404.2 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.4595, allocations: 43.25 kB / 404.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4597, allocations: 63.34 kB / 404.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.4626, allocations: 0.5615 MB / 404.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.4626, allocations: 1.922 kB / 404.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001694/0.4643, allocations: 383.9 kB / 405.3 MB, free: 8.867 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4643, allocations: 7.156 kB / 405.3 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4643, allocations: 1.406 kB / 405.3 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.4662, allocations: 285.2 kB / 405.5 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.4663, allocations: 14.61 kB / 405.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/0.4706, allocations: 2.376 MB / 407.9 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.803e-05/0.4707, allocations: 5.906 kB / 407.9 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4707, allocations: 9.812 kB / 408 MB, free: 6.957 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.4709, allocations: 121.3 kB / 408.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.471, allocations: 8.031 kB / 408.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.471, allocations: 21.45 kB / 408.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.471, allocations: 3.078 kB / 408.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.4711, allocations: 1.062 kB / 408.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4711, allocations: 2.219 kB / 408.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.4724, allocations: 0.57 MB / 408.7 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4724, allocations: 4.031 kB / 408.7 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.4725, allocations: 17.55 kB / 408.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.4745, allocations: 283.2 kB / 409 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4745, allocations: 10.41 kB / 409 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.4769, allocations: 1.97 MB / 411 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.477, allocations: 0 / 411 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.478, allocations: 434.4 kB / 411.4 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.4781, allocations: 85.08 kB / 411.5 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.4781, allocations: 5.375 kB / 411.5 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4782, allocations: 8.125 kB / 411.5 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4783, allocations: 18.88 kB / 411.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4783, allocations: 9.328 kB / 411.5 MB, free: 4.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.118e-05/0.4783, allocations: 93.27 kB / 411.6 MB, free: 4.219 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4783, allocations: 1.375 kB / 411.6 MB, free: 4.219 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.4787, allocations: 39.62 kB / 411.6 MB, free: 4.211 MB / 286.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.017e-05/0.4788, allocations: 100.8 kB / 411.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.4794, allocations: 318.8 kB / 412 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4795, allocations: 4.062 kB / 412 MB, free: 3.926 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.48, allocations: 254.6 kB / 412.3 MB, free: 3.766 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.4802, allocations: 12.75 kB / 412.3 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.4806, allocations: 285.6 kB / 412.6 MB, free: 3.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.4808, allocations: 0.7017 MB / 413.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.4809, allocations: 10.59 kB / 413.3 MB, free: 2.84 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.4809, allocations: 11.16 kB / 413.3 MB, free: 2.832 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.4809, allocations: 0 / 413.3 MB, free: 2.832 MB / 286.1 MB Notification: Performance of Templates: time 0.006354/0.4873, allocations: 2.578 MB / 415.9 MB, free: 2.695 MB / 286.1 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)