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.001352/0.001352, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.001285/0.001285, allocations: 187 kB / 17.34 MB, free: 5.742 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.15 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.003002/0.003003, allocations: 0.5736 MB / 291.8 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 71.88 kB / 403.1 MB, free: 32.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08397, allocations: 49.59 MB / 452.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001654/0.08567, allocations: 0.5972 MB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002168/0.08591, allocations: 47.86 kB / 453.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.08596, allocations: 3.938 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.08598, allocations: 0 / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.08608, allocations: 3.938 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.756e-05/0.08619, allocations: 15.92 kB / 453.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.08628, allocations: 47.83 kB / 453.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.08634, allocations: 8 kB / 453.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.08639, allocations: 23.92 kB / 453.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.08647, allocations: 23.89 kB / 453.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.08649, allocations: 4 kB / 453.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.08651, allocations: 7.938 kB / 453.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.08654, allocations: 15.98 kB / 453.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.08658, allocations: 27.86 kB / 453.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.443e-05/0.08667, allocations: 35.81 kB / 453.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.08668, allocations: 0 / 453.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08669, allocations: 0 / 453.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.0867, allocations: 0 / 453.6 MB, free: 13.62 MB / 334.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.0006078/0.08732, allocations: 375.3 kB / 453.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.08737, allocations: 15.89 kB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.08742, allocations: 8.844 kB / 454 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.08756, allocations: 168.3 kB / 454.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.08758, allocations: 8.375 kB / 454.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.08761, allocations: 8.281 kB / 454.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.08775, allocations: 66.23 kB / 454.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.08776, allocations: 192 / 454.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.08778, allocations: 7.938 kB / 454.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.0878, allocations: 3.984 kB / 454.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.08788, allocations: 35.98 kB / 454.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.08838, allocations: 316.8 kB / 454.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.08868, allocations: 114.7 kB / 454.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.08876, allocations: 41.06 kB / 454.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.08878, allocations: 7.938 kB / 454.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.08881, allocations: 42.5 kB / 454.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.08882, allocations: 0 / 454.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003463/0.09228, allocations: 0.9221 MB / 455.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.09234, allocations: 55.41 kB / 455.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.09243, allocations: 109.8 kB / 455.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.09246, allocations: 29.7 kB / 455.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.09251, allocations: 96.3 kB / 456 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.09257, allocations: 67.09 kB / 456 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.09263, allocations: 41.64 kB / 456.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.09274, allocations: 318.8 kB / 456.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.09281, allocations: 39.98 kB / 456.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.216e-05/0.09291, allocations: 71.56 kB / 456.5 MB, free: 10.41 MB / 334.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.09571, allocations: 0.5673 MB / 457.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.09572, allocations: 0 / 457.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009965/0.09672, allocations: 278 kB / 457.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.09675, allocations: 4 kB / 457.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.09677, allocations: 4 kB / 457.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009112/0.09768, allocations: 156.7 kB / 457.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.09778, allocations: 16 kB / 457.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.1005, allocations: 1.971 MB / 459.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.1006, allocations: 8 kB / 459.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1006, allocations: 4.094 kB / 459.5 MB, free: 7.238 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.0001327/0.1007, allocations: 134.5 kB / 459.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.1008, allocations: 7.906 kB / 459.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.1008, allocations: 17.03 kB / 459.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1008, allocations: 4 kB / 459.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1009, allocations: 3.938 kB / 459.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1009, allocations: 0 / 459.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.1022, allocations: 0.5739 MB / 460.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1022, allocations: 0 / 460.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.1023, allocations: 20 kB / 460.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/0.1043, allocations: 292.4 kB / 460.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1043, allocations: 4 kB / 460.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.107, allocations: 1.977 MB / 462.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.107, allocations: 4 kB / 462.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1081, allocations: 432.7 kB / 462.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.1082, allocations: 81.02 kB / 463 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1082, allocations: 4 kB / 463 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1083, allocations: 4 kB / 463 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.1084, allocations: 23.89 kB / 463 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1084, allocations: 8 kB / 463.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.1085, allocations: 79.28 kB / 463.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1085, allocations: 4 kB / 463.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.1088, allocations: 36 kB / 463.2 MB, free: 3.305 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.0001052/0.109, allocations: 106.2 kB / 463.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008072/0.1098, allocations: 316.1 kB / 463.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1098, allocations: 0 / 463.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005667/0.1104, allocations: 270.4 kB / 463.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1106, allocations: 4 kB / 463.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.1111, allocations: 290.1 kB / 464.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1114, allocations: 0.7046 MB / 464.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1115, allocations: 11.44 kB / 464.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1115, allocations: 0 / 464.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of Templates: time 0.003894/0.1154, allocations: 1.631 MB / 466.5 MB, free: 15.91 MB / 350.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)