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.005165/0.005165, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001235/0.001235, allocations: 200.5 kB / 16.68 MB, free: 5.984 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.002695/0.002695, allocations: 0.5662 MB / 291.1 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.45 kB / 402.4 MB, free: 9.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.08814, allocations: 49.6 MB / 452 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001492/0.08967, allocations: 0.592 MB / 452.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.08988, allocations: 47.8 kB / 452.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.08992, allocations: 0 / 452.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.08995, allocations: 3.938 kB / 452.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.09003, allocations: 7.938 kB / 452.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.585e-05/0.09012, allocations: 7.984 kB / 452.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.09021, allocations: 51.83 kB / 452.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.09027, allocations: 4 kB / 452.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.09031, allocations: 23.92 kB / 452.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.09038, allocations: 35.83 kB / 452.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.09041, allocations: 0 / 452.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.09042, allocations: 4 kB / 452.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.09046, allocations: 11.98 kB / 452.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.0905, allocations: 31.73 kB / 452.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.137e-05/0.09058, allocations: 35.81 kB / 452.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09059, allocations: 0 / 452.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09059, allocations: 0 / 452.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.0906, allocations: 0 / 452.9 MB, free: 4.453 MB / 318.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.0004944/0.0911, allocations: 383.3 kB / 453.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.09114, allocations: 11.89 kB / 453.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.09118, allocations: 8.844 kB / 453.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.09131, allocations: 164.4 kB / 453.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.09133, allocations: 4.375 kB / 453.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.09137, allocations: 12.28 kB / 453.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.09151, allocations: 70.23 kB / 453.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.09152, allocations: 192 / 453.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.09154, allocations: 3.938 kB / 453.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.09155, allocations: 11.88 kB / 453.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.09164, allocations: 39.97 kB / 453.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.09211, allocations: 304.8 kB / 453.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.09241, allocations: 134.6 kB / 454 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.09249, allocations: 36.84 kB / 454 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.09251, allocations: 4 kB / 454 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.09254, allocations: 30.56 kB / 454.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.09254, allocations: 0 / 454.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.003544/0.09609, allocations: 0.9263 MB / 455 MB, free: 2.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.09615, allocations: 55.41 kB / 455.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.09624, allocations: 109.8 kB / 455.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.09627, allocations: 29.7 kB / 455.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.09632, allocations: 92.36 kB / 455.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.09637, allocations: 63.09 kB / 455.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.09645, allocations: 41.64 kB / 455.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.09656, allocations: 322.8 kB / 455.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.09665, allocations: 39.98 kB / 455.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.09676, allocations: 74.56 kB / 455.8 MB, free: 1.25 MB / 318.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/0.09963, allocations: 0.5585 MB / 456.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.09964, allocations: 0 / 456.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009821/0.1006, allocations: 284.5 kB / 456.6 MB, free: 392 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1007, allocations: 8 kB / 456.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1007, allocations: 320 / 456.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009252/0.1016, allocations: 164.6 kB / 456.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.1017, allocations: 19.94 kB / 456.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.1045, allocations: 1.982 MB / 458.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.762e-05/0.1046, allocations: 4 kB / 458.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1046, allocations: 8 kB / 458.8 MB, free: 14.06 MB / 334.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 = 1e5. 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.0001395/0.1047, allocations: 125.8 kB / 459 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1048, allocations: 11.91 kB / 459 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.1048, allocations: 16.84 kB / 459 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1048, allocations: 4 kB / 459 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1048, allocations: 0 / 459 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1049, allocations: 0 / 459 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1062, allocations: 0.5771 MB / 459.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1062, allocations: 4.031 kB / 459.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.1063, allocations: 8 kB / 459.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.1083, allocations: 292.3 kB / 459.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1083, allocations: 192 / 459.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.1111, allocations: 1.987 MB / 461.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1111, allocations: 0 / 461.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.1122, allocations: 432.7 kB / 462.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1123, allocations: 89.02 kB / 462.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1123, allocations: 0 / 462.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1124, allocations: 4 kB / 462.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1125, allocations: 23.95 kB / 462.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1125, allocations: 7.938 kB / 462.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.1126, allocations: 87.28 kB / 462.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1126, allocations: 0 / 462.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1129, allocations: 32 kB / 462.5 MB, free: 10.13 MB / 334.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.0001031/0.1131, allocations: 102.4 kB / 462.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.1138, allocations: 318.6 kB / 462.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1139, allocations: 0 / 462.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.1144, allocations: 258.6 kB / 463.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1147, allocations: 12 kB / 463.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.1152, allocations: 254.7 kB / 463.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1155, allocations: 0.7007 MB / 464.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.1155, allocations: 12.81 kB / 464.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1155, allocations: 11.44 kB / 464.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1155, allocations: 0 / 464.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of Templates: time 0.004335/0.1199, allocations: 1.765 MB / 465.9 MB, free: 6.676 MB / 334.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)