Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001392, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.003507/0.003507, allocations: 0.5699 MB / 290.9 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.83 kB / 351.5 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1225, allocations: 49.59 MB / 401.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001912/0.1245, allocations: 0.5953 MB / 401.7 MB, free: 96 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.1247, allocations: 39.86 kB / 401.8 MB, free: 56 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.1248, allocations: 0 / 401.8 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.1248, allocations: 3.938 kB / 401.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.1249, allocations: 7.938 kB / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.125, allocations: 23.89 kB / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.2226/0.3476, allocations: 49.77 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3478, allocations: 3.703 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.3479, allocations: 20.67 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.348, allocations: 29.56 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.348, allocations: 3.344 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.3481, allocations: 2.625 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.3481, allocations: 16.27 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.3481, allocations: 25.83 kB / 402 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.3483, allocations: 25.81 kB / 402 MB, free: 10.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3483, allocations: 3.25 kB / 402 MB, free: 10.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3483, allocations: 0 / 402 MB, free: 10.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3483, allocations: 3.281 kB / 402 MB, free: 10.28 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.0005495/0.3489, allocations: 372.5 kB / 402.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3489, allocations: 13.48 kB / 402.4 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.349, allocations: 9.562 kB / 402.4 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3491, allocations: 182.9 kB / 402.5 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3492, allocations: 4.094 kB / 402.6 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.3492, allocations: 9.469 kB / 402.6 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3493, allocations: 70.75 kB / 402.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3494, allocations: 0.7188 kB / 402.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3494, allocations: 4.438 kB / 402.6 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3494, allocations: 2.344 kB / 402.6 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/0.3495, allocations: 37.08 kB / 402.7 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.35, allocations: 310.4 kB / 403 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.3504, allocations: 124.1 kB / 403.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.3504, allocations: 44.27 kB / 403.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3505, allocations: 4 kB / 403.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3505, allocations: 32.09 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3505, allocations: 3.938 kB / 403.2 MB, free: 9.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003575/0.3541, allocations: 0.9265 MB / 404.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.3541, allocations: 54.38 kB / 404.2 MB, free: 8.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.3542, allocations: 114.3 kB / 404.3 MB, free: 8.867 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3542, allocations: 26.77 kB / 404.3 MB, free: 8.836 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.3543, allocations: 90.39 kB / 404.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3543, allocations: 62.36 kB / 404.4 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.3544, allocations: 38.55 kB / 404.5 MB, free: 8.695 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.3545, allocations: 319.3 kB / 404.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.3545, allocations: 44.27 kB / 404.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.3546, allocations: 68.86 kB / 404.9 MB, free: 8.363 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.3574, allocations: 0.5681 MB / 405.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3574, allocations: 4 kB / 405.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009485/0.3584, allocations: 272.5 kB / 405.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3584, allocations: 4.531 kB / 405.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3584, allocations: 5.312 kB / 405.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009625/0.3594, allocations: 161.5 kB / 405.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.3595, allocations: 17.2 kB / 405.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.3621, allocations: 1.978 MB / 407.9 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.3622, allocations: 1.078 kB / 407.9 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3622, allocations: 13.72 kB / 407.9 MB, free: 6.426 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: 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.0001141/0.3623, allocations: 126.3 kB / 408 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.3624, allocations: 12.55 kB / 408.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.3624, allocations: 20.78 kB / 408.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3624, allocations: 3.5 kB / 408.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3625, allocations: 0.5156 kB / 408.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3625, allocations: 0.6562 kB / 408.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3637, allocations: 0.5664 MB / 408.6 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3637, allocations: 0 / 408.6 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.3638, allocations: 12.56 kB / 408.7 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/0.3658, allocations: 290.9 kB / 408.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3658, allocations: 8.312 kB / 409 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.3682, allocations: 1.975 MB / 410.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3683, allocations: 1.094 kB / 410.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.3694, allocations: 433.4 kB / 411.4 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.3695, allocations: 85.44 kB / 411.4 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3695, allocations: 6.078 kB / 411.4 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3696, allocations: 2.156 kB / 411.4 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.3697, allocations: 23 kB / 411.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3697, allocations: 9.547 kB / 411.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.3698, allocations: 86.88 kB / 411.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3698, allocations: 3.938 kB / 411.6 MB, free: 3.684 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.3702, allocations: 31.97 kB / 411.6 MB, free: 3.68 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.0001224/0.3703, allocations: 103.7 kB / 411.7 MB, free: 3.578 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008678/0.3712, allocations: 318.6 kB / 412 MB, free: 3.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3712, allocations: 0 / 412 MB, free: 3.398 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.3718, allocations: 262.4 kB / 412.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.372, allocations: 10.19 kB / 412.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.3726, allocations: 263.2 kB / 412.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3728, allocations: 0.7022 MB / 413.2 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.3729, allocations: 5.797 kB / 413.2 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3729, allocations: 10.72 kB / 413.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3729, allocations: 5.094 kB / 413.3 MB, free: 2.324 MB / 286.1 MB Notification: Performance of Templates: time 0.00624/0.3792, allocations: 1.748 MB / 415 MB, free: 2.238 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)