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: 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.000865/0.0008653, allocations: 172.7 kB / 16.11 MB, free: 5.695 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.279/1.279, allocations: 223.3 MB / 240.1 MB, free: 9.957 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.0007722/0.0007721, allocations: 98.42 kB / 291.3 MB, free: 10.56 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.002274/0.002274, allocations: 0.5624 MB / 343 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 9.75 kB / 404.2 MB, free: 65.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.0803, allocations: 50.57 MB / 454.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2629/0.3432, allocations: 75.35 MB / 0.5177 GB, free: 6.754 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3435, allocations: 65.66 kB / 0.5178 GB, free: 6.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002706/0.3462, allocations: 1.002 MB / 0.5187 GB, free: 5.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.3463, allocations: 4 kB / 0.5187 GB, free: 5.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3463, allocations: 3.938 kB / 0.5187 GB, free: 5.832 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.0004138/0.3467, allocations: 363.1 kB / 0.5191 GB, free: 5.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3467, allocations: 12.03 kB / 0.5191 GB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.3468, allocations: 4.844 kB / 0.5191 GB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3469, allocations: 172 kB / 0.5193 GB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.347, allocations: 9.812 kB / 0.5193 GB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.347, allocations: 7.5 kB / 0.5193 GB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.3471, allocations: 67.3 kB / 0.5193 GB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3471, allocations: 192 / 0.5193 GB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3471, allocations: 3.938 kB / 0.5194 GB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3472, allocations: 4 kB / 0.5194 GB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.3472, allocations: 43.47 kB / 0.5194 GB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.3477, allocations: 309.3 kB / 0.5197 GB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.348, allocations: 114.7 kB / 0.5198 GB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.348, allocations: 38.69 kB / 0.5198 GB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3481, allocations: 3.938 kB / 0.5198 GB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3481, allocations: 38.5 kB / 0.5199 GB, free: 4.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3481, allocations: 0 / 0.5199 GB, free: 4.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.003047/0.3511, allocations: 0.8562 MB / 0.5207 GB, free: 3.785 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3512, allocations: 55.41 kB / 0.5208 GB, free: 3.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.3513, allocations: 108.7 kB / 0.5209 GB, free: 3.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3513, allocations: 33.64 kB / 0.5209 GB, free: 3.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.3514, allocations: 95.92 kB / 0.521 GB, free: 3.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.3514, allocations: 50.39 kB / 0.521 GB, free: 3.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.3514, allocations: 7.5 kB / 0.521 GB, free: 3.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3516, allocations: 322.5 kB / 0.5214 GB, free: 3.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.3516, allocations: 46.11 kB / 0.5214 GB, free: 3.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.3517, allocations: 55.8 kB / 0.5215 GB, free: 3.035 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.002654/0.3544, allocations: 0.4886 MB / 0.5219 GB, free: 2.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3544, allocations: 0 / 0.5219 GB, free: 2.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001776/0.3562, allocations: 398.5 kB / 0.5223 GB, free: 2.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3562, allocations: 6.344 kB / 0.5223 GB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3562, allocations: 3.984 kB / 0.5223 GB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.3586, allocations: 373.1 kB / 0.5227 GB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.3587, allocations: 8 kB / 0.5227 GB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.3627, allocations: 2.133 MB / 0.5248 GB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.3628, allocations: 7.375 kB / 0.5248 GB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3628, allocations: 14.81 kB / 0.5248 GB, free: 15.86 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.M1 = 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 (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 {6 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.3629, allocations: 114.7 kB / 0.5249 GB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.363, allocations: 7.906 kB / 0.5249 GB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.363, allocations: 16.56 kB / 0.5249 GB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.363, allocations: 3.938 kB / 0.5249 GB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3631, allocations: 8 kB / 0.5249 GB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3631, allocations: 3.984 kB / 0.5249 GB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3633, allocations: 190.3 kB / 0.5251 GB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3633, allocations: 0 / 0.5251 GB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.3634, allocations: 8 kB / 0.5251 GB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/0.3653, allocations: 306.9 kB / 0.5254 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3653, allocations: 3.125 kB / 0.5254 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3675, allocations: 1.747 MB / 0.5271 GB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3675, allocations: 0 / 0.5271 GB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3685, allocations: 426.3 kB / 0.5275 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3686, allocations: 85.02 kB / 0.5276 GB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3686, allocations: 0 / 0.5276 GB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.3687, allocations: 3.562 kB / 0.5276 GB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3688, allocations: 20.02 kB / 0.5276 GB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3688, allocations: 7.312 kB / 0.5276 GB, free: 12.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.3688, allocations: 90.95 kB / 0.5277 GB, free: 12.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3688, allocations: 0 / 0.5277 GB, free: 12.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.3692, allocations: 39 kB / 0.5278 GB, free: 12.87 MB / 346.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 () * Number of clocked 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.000132/0.3694, allocations: 91.25 kB / 0.5279 GB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.3702, allocations: 350.4 kB / 0.5282 GB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3703, allocations: 4 kB / 0.5282 GB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.3706, allocations: 225.3 kB / 0.5284 GB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3708, allocations: 10.27 kB / 0.5284 GB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.3713, allocations: 272.4 kB / 0.5287 GB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3716, allocations: 0.6971 MB / 0.5294 GB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.601e-05/0.3716, allocations: 8.547 kB / 0.5294 GB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.3717, allocations: 11.44 kB / 0.5294 GB, free: 11.23 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3717, allocations: 0 / 0.5294 GB, free: 11.23 MB / 346.7 MB Notification: Performance of Templates: time 0.005114/0.3768, allocations: 2.271 MB / 0.5316 GB, free: 9.023 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)