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.0008519/0.0008519, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008641/0.0008641, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.34 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.002344/0.002344, allocations: 0.5621 MB / 291.5 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 11.98 kB / 352.6 MB, free: 2.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09212, allocations: 50.57 MB / 403.1 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.1385/0.2307, allocations: 303.3 kB / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001606/0.2309, allocations: 47.77 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.2309, allocations: 0.7188 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.2309, allocations: 4.969 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.231, allocations: 10.7 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.742e-05/0.2311, allocations: 10.91 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.648e-05/0.2312, allocations: 32.47 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.2312, allocations: 3.703 kB / 403.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.2312, allocations: 19.34 kB / 403.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.2313, allocations: 30.8 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2313, allocations: 6.719 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.2313, allocations: 3.375 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.2314, allocations: 12.72 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.2314, allocations: 38.61 kB / 403.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.092e-05/0.2314, allocations: 19.33 kB / 403.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2314, allocations: 0 / 403.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2314, allocations: 4.625 kB / 403.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.2315, allocations: 0 / 403.7 MB, free: 9.75 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.0003559/0.2318, allocations: 364 kB / 404 MB, free: 9.391 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.2319, allocations: 8.969 kB / 404 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.2319, allocations: 6.875 kB / 404.1 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.232, allocations: 171.8 kB / 404.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.232, allocations: 3.062 kB / 404.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.232, allocations: 12.55 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2321, allocations: 73.55 kB / 404.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2322, allocations: 1.719 kB / 404.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2322, allocations: 1.75 kB / 404.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2322, allocations: 2.031 kB / 404.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.2323, allocations: 36.86 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2327, allocations: 306.4 kB / 404.6 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.2329, allocations: 128.5 kB / 404.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.233, allocations: 1.25 kB / 404.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.233, allocations: 33.59 kB / 404.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.233, allocations: 0 / 404.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003214/0.2362, allocations: 0.9393 MB / 405.7 MB, free: 8.492 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.2362, allocations: 54.08 kB / 405.8 MB, free: 8.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.2363, allocations: 111.1 kB / 405.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.2363, allocations: 30.08 kB / 405.9 MB, free: 8.301 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.2363, allocations: 94.05 kB / 406 MB, free: 8.207 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2364, allocations: 63.72 kB / 406.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.2364, allocations: 4.969 kB / 406.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.2364, allocations: 327.1 kB / 406.4 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.2365, allocations: 42.52 kB / 406.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.2366, allocations: 69.66 kB / 406.5 MB, free: 7.828 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.002638/0.2392, allocations: 489.9 kB / 407 MB, free: 7.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2392, allocations: 0 / 407 MB, free: 7.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009096/0.2402, allocations: 282.6 kB / 407.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2402, allocations: 5.75 kB / 407.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2402, allocations: 2.578 kB / 407.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.2413, allocations: 190.2 kB / 407.5 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.2414, allocations: 18.36 kB / 407.5 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.2437, allocations: 1.815 MB / 409.3 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.2437, allocations: 11.89 kB / 409.3 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2438, allocations: 6.484 kB / 409.3 MB, free: 6.254 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 (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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/0.2439, allocations: 117.4 kB / 409.4 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.2439, allocations: 8.188 kB / 409.4 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.2439, allocations: 19.94 kB / 409.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2439, allocations: 1.406 kB / 409.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.244, allocations: 1.469 kB / 409.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.244, allocations: 2.828 kB / 409.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.2453, allocations: 0.5783 MB / 410.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2453, allocations: 4.188 kB / 410.1 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.2453, allocations: 16.59 kB / 410.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.2474, allocations: 308.5 kB / 410.4 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2475, allocations: 5.047 kB / 410.4 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.2496, allocations: 1.826 MB / 412.2 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2496, allocations: 5.156 kB / 412.2 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.2506, allocations: 445.5 kB / 412.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.2506, allocations: 84.25 kB / 412.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2506, allocations: 5.609 kB / 412.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2507, allocations: 6.312 kB / 412.7 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2508, allocations: 17.33 kB / 412.8 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.2508, allocations: 4.328 kB / 412.8 MB, free: 3.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.784e-05/0.2508, allocations: 92 kB / 412.9 MB, free: 3.816 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2508, allocations: 0 / 412.9 MB, free: 3.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.2512, allocations: 35.94 kB / 412.9 MB, free: 3.809 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 (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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.787e-05/0.2513, allocations: 92.11 kB / 413 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.252, allocations: 315.8 kB / 413.3 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.252, allocations: 1.188 kB / 413.3 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.2525, allocations: 261.7 kB / 413.5 MB, free: 3.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2526, allocations: 11.14 kB / 413.6 MB, free: 3.367 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.253, allocations: 281.2 kB / 413.8 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2531, allocations: 0.7053 MB / 414.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.2532, allocations: 6.688 kB / 414.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.2532, allocations: 11.03 kB / 414.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2532, allocations: 0 / 414.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of Templates: time 0.003854/0.2571, allocations: 1.665 MB / 416.2 MB, free: 2.355 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: