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.001261/0.001261, allocations: 105.6 kB / 15.98 MB, free: 5.895 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.00131/0.00131, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 4.504 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.002566/0.002566, allocations: 0.5659 MB / 291.3 MB, free: 1.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 351.7 MB, free: 2.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09455, allocations: 49.59 MB / 401.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001895/0.09649, allocations: 0.6518 MB / 402 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002004/0.09673, allocations: 45.89 kB / 402 MB, free: 296 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.09678, allocations: 4 kB / 402 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.0968, allocations: 3.938 kB / 402 MB, free: 288 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.71e-05/0.09688, allocations: 7.984 kB / 402 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.557e-05/0.09699, allocations: 11.98 kB / 402 MB, free: 268 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.09707, allocations: 55.83 kB / 402.1 MB, free: 212 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.09714, allocations: 4 kB / 402.1 MB, free: 208 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.09718, allocations: 19.92 kB / 402.1 MB, free: 188 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.09727, allocations: 27.84 kB / 402.1 MB, free: 160 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.09729, allocations: 3.938 kB / 402.1 MB, free: 156 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.09731, allocations: 4 kB / 402.1 MB, free: 152 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.09733, allocations: 15.98 kB / 402.2 MB, free: 136 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.09737, allocations: 27.8 kB / 402.2 MB, free: 108 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.615e-05/0.09744, allocations: 19.95 kB / 402.2 MB, free: 88 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09745, allocations: 0 / 402.2 MB, free: 88 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09745, allocations: 0 / 402.2 MB, free: 88 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.09747, allocations: 0 / 402.2 MB, free: 88 kB / 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.1669/0.2643, allocations: 370 kB / 402.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.2644, allocations: 13.77 kB / 402.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.2644, allocations: 11.47 kB / 402.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2646, allocations: 177.7 kB / 402.8 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2646, allocations: 5.312 kB / 402.8 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.2646, allocations: 8.094 kB / 402.8 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2647, allocations: 69.77 kB / 402.8 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2648, allocations: 192 / 402.8 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2648, allocations: 10.28 kB / 402.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2648, allocations: 1.969 kB / 402.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.036e-05/0.2649, allocations: 37.11 kB / 402.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.2653, allocations: 309.4 kB / 403.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.2657, allocations: 124.7 kB / 403.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.2657, allocations: 37.86 kB / 403.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2658, allocations: 0.7812 kB / 403.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2658, allocations: 39.94 kB / 403.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2658, allocations: 2.344 kB / 403.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003605/0.2694, allocations: 0.9254 MB / 404.3 MB, free: 9.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.2694, allocations: 57.75 kB / 404.4 MB, free: 9.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.2695, allocations: 106.6 kB / 404.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2696, allocations: 31.09 kB / 404.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.2696, allocations: 85.41 kB / 404.6 MB, free: 9.465 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.2696, allocations: 59.56 kB / 404.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.2697, allocations: 40.77 kB / 404.7 MB, free: 9.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.2698, allocations: 323.5 kB / 405 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.2698, allocations: 39.14 kB / 405 MB, free: 9.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.2699, allocations: 73.11 kB / 405.1 MB, free: 9.07 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.002748/0.2727, allocations: 0.5676 MB / 405.7 MB, free: 8.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2727, allocations: 5.938 kB / 405.7 MB, free: 8.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009782/0.2737, allocations: 275.8 kB / 406 MB, free: 8.832 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2737, allocations: 5.078 kB / 406 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2737, allocations: 5.125 kB / 406 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009493/0.2747, allocations: 155.9 kB / 406.1 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.2748, allocations: 21.36 kB / 406.1 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.2771, allocations: 1.981 MB / 408.1 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.2772, allocations: 4.969 kB / 408.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.2773, allocations: 6.859 kB / 408.1 MB, free: 7.078 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.000127/0.2774, allocations: 132 kB / 408.3 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2774, allocations: 7.031 kB / 408.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.2775, allocations: 18.59 kB / 408.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2775, allocations: 2.125 kB / 408.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.2775, allocations: 3.078 kB / 408.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2775, allocations: 0.6094 kB / 408.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.2788, allocations: 0.5655 MB / 408.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2788, allocations: 1.188 kB / 408.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.2789, allocations: 12.09 kB / 408.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.281, allocations: 292.8 kB / 409.2 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.281, allocations: 6.422 kB / 409.2 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.2833, allocations: 1.974 MB / 411.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2833, allocations: 3.938 kB / 411.1 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.2844, allocations: 443.1 kB / 411.6 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.2844, allocations: 84.64 kB / 411.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2845, allocations: 2.094 kB / 411.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2846, allocations: 6.328 kB / 411.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.2846, allocations: 23.61 kB / 411.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2847, allocations: 5.406 kB / 411.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.715e-05/0.2847, allocations: 87.81 kB / 411.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2847, allocations: 0 / 411.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000366/0.2851, allocations: 31.12 kB / 411.8 MB, free: 4.336 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 7.931e-05/0.2852, allocations: 105.6 kB / 411.9 MB, free: 4.234 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007966/0.286, allocations: 315.1 kB / 412.2 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.286, allocations: 0 / 412.2 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.2866, allocations: 261.1 kB / 412.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2868, allocations: 6.25 kB / 412.5 MB, free: 3.891 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.2873, allocations: 310.3 kB / 412.8 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2874, allocations: 0.7025 MB / 413.5 MB, free: 2.949 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.2875, allocations: 12.44 kB / 413.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2875, allocations: 0 / 413.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of Templates: time 0.003893/0.2914, allocations: 1.614 MB / 415.1 MB, free: 2.875 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)