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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 182.9 kB / 15.98 MB, free: 5.77 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.253/1.253, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.0009443/0.0009444, allocations: 103.2 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002681/0.002681, allocations: 0.5527 MB / 340.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009906/0.0009907, allocations: 54.27 kB / 400.9 MB, free: 66.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06819/0.0692, allocations: 49.61 MB / 450.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001399/0.07062, allocations: 0.6362 MB / 451.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.0708, allocations: 51.8 kB / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.07083, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.07086, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.07093, allocations: 3.938 kB / 451.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.803e-05/0.07102, allocations: 15.92 kB / 451.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.07108, allocations: 43.91 kB / 451.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.07113, allocations: 4 kB / 451.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.07116, allocations: 27.91 kB / 451.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.07122, allocations: 31.84 kB / 451.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.07125, allocations: 4 kB / 451.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.07126, allocations: 4 kB / 451.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.07129, allocations: 7.984 kB / 451.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.07132, allocations: 35.73 kB / 451.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.852e-05/0.07137, allocations: 23.88 kB / 451.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.07138, allocations: 0 / 451.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.07139, allocations: 0 / 451.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.07139, allocations: 7.938 kB / 451.4 MB, free: 15.59 MB / 298.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.000374/0.07177, allocations: 379.6 kB / 451.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.07181, allocations: 8.031 kB / 451.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.07184, allocations: 4.938 kB / 451.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.02e-05/0.07193, allocations: 172.2 kB / 452 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.07195, allocations: 8.375 kB / 452 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.07197, allocations: 4.375 kB / 452 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.07208, allocations: 70.22 kB / 452.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.07209, allocations: 8.062 kB / 452.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.07211, allocations: 11.94 kB / 452.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.07211, allocations: 4 kB / 452.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.07218, allocations: 31.98 kB / 452.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.07254, allocations: 320.7 kB / 452.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.07279, allocations: 126.6 kB / 452.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.07286, allocations: 36.84 kB / 452.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.07288, allocations: 4 kB / 452.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.062e-05/0.0729, allocations: 30.56 kB / 452.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.0729, allocations: 0 / 452.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.003169/0.07608, allocations: 0.9229 MB / 453.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.07611, allocations: 51.41 kB / 453.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/0.07617, allocations: 113.8 kB / 453.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.07619, allocations: 29.7 kB / 453.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.07622, allocations: 88.47 kB / 453.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.07626, allocations: 63.09 kB / 453.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.07631, allocations: 41.64 kB / 453.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.07635, allocations: 322.8 kB / 454.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.07642, allocations: 35.98 kB / 454.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.0765, allocations: 69.62 kB / 454.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.07903, allocations: 0.5662 MB / 454.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.07904, allocations: 0 / 454.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008626/0.07991, allocations: 282 kB / 455.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.07994, allocations: 4 kB / 455.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.07995, allocations: 4 kB / 455.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/0.08082, allocations: 160.6 kB / 455.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.08092, allocations: 31.88 kB / 455.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.08299, allocations: 1.784 MB / 457.2 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.08308, allocations: 8 kB / 457.2 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.0831, allocations: 4 kB / 457.2 MB, free: 9.398 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0001348/0.08324, allocations: 124.8 kB / 457.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.08328, allocations: 15.84 kB / 457.3 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.08333, allocations: 16.84 kB / 457.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.08333, allocations: 4 kB / 457.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.08334, allocations: 0 / 457.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.08335, allocations: 4.031 kB / 457.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.08449, allocations: 0.5614 MB / 457.9 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.08451, allocations: 0 / 457.9 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.08457, allocations: 15.98 kB / 457.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/0.08651, allocations: 292.4 kB / 458.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.08654, allocations: 7.984 kB / 458.2 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.0885, allocations: 1.78 MB / 460 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.08852, allocations: 4 kB / 460 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008964/0.09749, allocations: 4.285 MB / 464.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.09754, allocations: 85.05 kB / 464.4 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.09756, allocations: 8 kB / 464.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.09769, allocations: 0 / 464.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.09774, allocations: 27.86 kB / 464.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.09776, allocations: 7.984 kB / 464.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.757e-05/0.09779, allocations: 83.28 kB / 464.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0978, allocations: 0 / 464.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004476/0.09825, allocations: 52 kB / 464.5 MB, free: 1.531 MB / 298.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 (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 7.838e-05/0.09834, allocations: 95.25 kB / 464.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.09903, allocations: 320.8 kB / 465 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.09905, allocations: 0 / 465 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.09955, allocations: 254.5 kB / 465.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.09977, allocations: 10.84 kB / 465.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.1004, allocations: 0.6111 MB / 465.8 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1007, allocations: 0.7128 MB / 466.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.1007, allocations: 4.891 kB / 466.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1008, allocations: 11.44 kB / 466.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1008, allocations: 0 / 466.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of Templates: time 0.005254/0.106, allocations: 2.96 MB / 469.5 MB, free: 12.5 MB / 314.7 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)