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.00173/0.00173, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001691/0.001691, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.599/1.599, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003436/0.003436, allocations: 0.5677 MB / 291.6 MB, free: 14.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 352.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2547, allocations: 49.59 MB / 401.8 MB, free: 36.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001968/0.2568, allocations: 0.5883 MB / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.257, allocations: 51.8 kB / 402.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.257, allocations: 0 / 402.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.2571, allocations: 3.938 kB / 402.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.465e-05/0.2571, allocations: 7.922 kB / 402.5 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.2573, allocations: 13.7 kB / 402.5 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.2573, allocations: 43.84 kB / 402.5 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.2574, allocations: 7.984 kB / 402.5 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.2574, allocations: 23.92 kB / 402.6 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.2575, allocations: 31.83 kB / 402.6 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2575, allocations: 8 kB / 402.6 MB, free: 35.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.2576, allocations: 4 kB / 402.6 MB, free: 35.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.2576, allocations: 11.98 kB / 402.6 MB, free: 35.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.2576, allocations: 19.88 kB / 402.6 MB, free: 35.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.349e-05/0.2577, allocations: 31.81 kB / 402.7 MB, free: 35.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2577, allocations: 0 / 402.7 MB, free: 35.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2577, allocations: 0 / 402.7 MB, free: 35.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.2577, allocations: 0 / 402.7 MB, free: 35.19 MB / 302.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.0004821/0.2582, allocations: 381.4 kB / 403 MB, free: 34.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2583, allocations: 11.89 kB / 403 MB, free: 34.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.2583, allocations: 8.844 kB / 403 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2584, allocations: 180.2 kB / 403.2 MB, free: 34.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2585, allocations: 4.375 kB / 403.2 MB, free: 34.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2585, allocations: 8.375 kB / 403.2 MB, free: 34.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2586, allocations: 66.98 kB / 403.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2586, allocations: 192 / 403.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2587, allocations: 7.938 kB / 403.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2587, allocations: 4 kB / 403.3 MB, free: 34.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.2587, allocations: 43.92 kB / 403.4 MB, free: 34.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.2592, allocations: 312.8 kB / 403.7 MB, free: 34.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2595, allocations: 130.6 kB / 403.8 MB, free: 33.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.2595, allocations: 40.84 kB / 403.8 MB, free: 33.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2595, allocations: 0 / 403.8 MB, free: 33.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2596, allocations: 34.56 kB / 403.9 MB, free: 33.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.2596, allocations: 0 / 403.9 MB, free: 33.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003228/0.2628, allocations: 0.9239 MB / 404.8 MB, free: 32.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.2628, allocations: 55.41 kB / 404.8 MB, free: 32.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.2629, allocations: 109.8 kB / 404.9 MB, free: 32.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.2629, allocations: 29.7 kB / 405 MB, free: 32.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.263, allocations: 92.41 kB / 405.1 MB, free: 32.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.263, allocations: 67.08 kB / 405.1 MB, free: 32.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.2631, allocations: 37.66 kB / 405.2 MB, free: 32.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.2631, allocations: 318.8 kB / 405.5 MB, free: 32.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.2632, allocations: 39.98 kB / 405.5 MB, free: 32.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.2633, allocations: 62.44 kB / 405.6 MB, free: 31.99 MB / 302.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.002625/0.2659, allocations: 0.5764 MB / 406.2 MB, free: 31.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2659, allocations: 0 / 406.2 MB, free: 31.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008569/0.2668, allocations: 282 kB / 406.4 MB, free: 31.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2668, allocations: 4 kB / 406.4 MB, free: 31.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2668, allocations: 4 kB / 406.4 MB, free: 31.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008776/0.2677, allocations: 152.7 kB / 406.6 MB, free: 30.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.2678, allocations: 27.92 kB / 406.6 MB, free: 30.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.27, allocations: 1.967 MB / 408.6 MB, free: 28.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.2701, allocations: 11.94 kB / 408.6 MB, free: 28.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.2701, allocations: 4 kB / 408.6 MB, free: 28.8 MB / 302.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 8.635e-05/0.2702, allocations: 125.8 kB / 408.7 MB, free: 28.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.2702, allocations: 7.906 kB / 408.7 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.2703, allocations: 20.97 kB / 408.8 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2703, allocations: 8 kB / 408.8 MB, free: 28.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2703, allocations: 3.938 kB / 408.8 MB, free: 28.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2703, allocations: 4.031 kB / 408.8 MB, free: 28.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.2714, allocations: 0.5623 MB / 409.3 MB, free: 28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2715, allocations: 4.062 kB / 409.3 MB, free: 27.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.2715, allocations: 15.98 kB / 409.3 MB, free: 27.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/0.2734, allocations: 284.5 kB / 409.6 MB, free: 27.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2734, allocations: 4 kB / 409.6 MB, free: 27.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.2755, allocations: 1.983 MB / 411.6 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2755, allocations: 4 kB / 411.6 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009534/0.2765, allocations: 434.9 kB / 412 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.2765, allocations: 81.02 kB / 412.1 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2765, allocations: 4 kB / 412.1 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2766, allocations: 8.031 kB / 412.1 MB, free: 25.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.2767, allocations: 15.92 kB / 412.1 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2767, allocations: 4 kB / 412.2 MB, free: 24.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.2767, allocations: 95.25 kB / 412.2 MB, free: 24.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.2767, allocations: 0 / 412.2 MB, free: 24.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.2771, allocations: 39.94 kB / 412.3 MB, free: 24.86 MB / 302.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 7.975e-05/0.2772, allocations: 99.19 kB / 412.4 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007243/0.2779, allocations: 318.8 kB / 412.7 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2779, allocations: 0 / 412.7 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.2784, allocations: 270.4 kB / 413 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.2787, allocations: 4.703 kB / 413 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.2791, allocations: 282.7 kB / 413.2 MB, free: 23.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.2792, allocations: 0.7007 MB / 413.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.2792, allocations: 11.44 kB / 413.9 MB, free: 23.1 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2792, allocations: 0 / 413.9 MB, free: 23.1 MB / 302.1 MB Notification: Performance of Templates: time 0.002783/0.282, allocations: 1.617 MB / 415.6 MB, free: 21.49 MB / 302.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)