Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.006555/0.006555, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.62/1.62, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.005028/0.005028, allocations: 0.5617 MB / 292 MB, free: 1.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004332, allocations: 8 kB / 353.3 MB, free: 2.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4592, allocations: 50.56 MB / 403.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001041/0.4603, allocations: 312.6 kB / 404.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002436/0.4606, allocations: 45.86 kB / 404.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.4606, allocations: 0 / 404.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.4607, allocations: 7.938 kB / 404.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.4608, allocations: 2.344 kB / 404.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.4609, allocations: 17.92 kB / 404.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.461, allocations: 49.39 kB / 404.3 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.4611, allocations: 3.266 kB / 404.3 MB, free: 10 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.4611, allocations: 23.66 kB / 404.3 MB, free: 10 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.4612, allocations: 31.52 kB / 404.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.4613, allocations: 4 kB / 404.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.4613, allocations: 3.062 kB / 404.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.4613, allocations: 9.344 kB / 404.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.4614, allocations: 55.22 kB / 404.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.4615, allocations: 26.48 kB / 404.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4615, allocations: 0.9375 kB / 404.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4615, allocations: 0 / 404.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.4615, allocations: 0 / 404.4 MB, free: 9.941 MB / 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.0004381/0.4619, allocations: 366.3 kB / 404.8 MB, free: 9.578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.462, allocations: 14.09 kB / 404.8 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.462, allocations: 8.875 kB / 404.8 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4622, allocations: 170.5 kB / 405 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.4622, allocations: 15.09 kB / 405 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.4622, allocations: 12.38 kB / 405 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.4624, allocations: 63.98 kB / 405.1 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4624, allocations: 0.7031 kB / 405.1 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4624, allocations: 8.312 kB / 405.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4625, allocations: 1.406 kB / 405.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.4626, allocations: 41.75 kB / 405.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.4632, allocations: 312.3 kB / 405.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.4636, allocations: 121.6 kB / 405.5 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4637, allocations: 40.09 kB / 405.6 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.4637, allocations: 5.375 kB / 405.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4638, allocations: 32.22 kB / 405.6 MB, free: 8.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.4638, allocations: 1 kB / 405.6 MB, free: 8.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.004402/0.4682, allocations: 0.934 MB / 406.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.4683, allocations: 58.06 kB / 406.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4684, allocations: 114.3 kB / 406.7 MB, free: 8.496 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.4685, allocations: 28.14 kB / 406.8 MB, free: 8.465 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.4685, allocations: 90.03 kB / 406.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.4686, allocations: 61.56 kB / 406.9 MB, free: 8.336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.4687, allocations: 23.17 kB / 406.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4688, allocations: 324.9 kB / 407.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4689, allocations: 40.81 kB / 407.3 MB, free: 8.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4691, allocations: 67.09 kB / 407.3 MB, free: 7.988 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.4723, allocations: 0.5876 MB / 407.9 MB, free: 7.855 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4723, allocations: 4 kB / 407.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001047/0.4733, allocations: 280.2 kB / 408.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4734, allocations: 10.22 kB / 408.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4734, allocations: 1.062 kB / 408.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4746, allocations: 187.5 kB / 408.4 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.4747, allocations: 18.23 kB / 408.4 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.4772, allocations: 1.817 MB / 410.2 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.4773, allocations: 6.828 kB / 410.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.4773, allocations: 7.594 kB / 410.3 MB, free: 6.344 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 sytem: p1 = 100000.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 (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0001564/0.4775, allocations: 122.6 kB / 410.4 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.4775, allocations: 11.66 kB / 410.4 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.4776, allocations: 23.45 kB / 410.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4776, allocations: 3.25 kB / 410.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.4776, allocations: 1.469 kB / 410.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4776, allocations: 1.406 kB / 410.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.4789, allocations: 0.5694 MB / 411 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4789, allocations: 1.406 kB / 411 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.479, allocations: 15.77 kB / 411 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/0.4812, allocations: 310.9 kB / 411.3 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4813, allocations: 2.75 kB / 411.3 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.4836, allocations: 1.816 MB / 413.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4836, allocations: 1.062 kB / 413.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4848, allocations: 436.3 kB / 413.5 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.4848, allocations: 88.11 kB / 413.6 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.4848, allocations: 5.656 kB / 413.6 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4849, allocations: 10.92 kB / 413.7 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.485, allocations: 11.84 kB / 413.7 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.485, allocations: 5.094 kB / 413.7 MB, free: 3.859 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.552e-05/0.4851, allocations: 88.05 kB / 413.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.4851, allocations: 0 / 413.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.4855, allocations: 39.5 kB / 413.8 MB, free: 3.77 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 0.0001264/0.4856, allocations: 96.7 kB / 413.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007775/0.4864, allocations: 315.9 kB / 414.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4864, allocations: 5.281 kB / 414.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.4869, allocations: 258.8 kB / 414.5 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.4872, allocations: 11.17 kB / 414.5 MB, free: 3.328 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.4876, allocations: 293.1 kB / 414.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.4878, allocations: 0.7031 MB / 415.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.4878, allocations: 10.16 kB / 415.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.4878, allocations: 10.47 kB / 415.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4878, allocations: 0 / 415.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of Templates: time 0.005555/0.4934, allocations: 1.722 MB / 417.2 MB, free: 2.305 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)