Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.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.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001177/0.001177, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.003054/0.003053, allocations: 0.5769 MB / 290.7 MB, free: 1.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 59.91 kB / 351.1 MB, free: 2.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1441, allocations: 49.59 MB / 400.6 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.7796/0.9237, allocations: 177.6 MB / 0.5647 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008493/0.9323, allocations: 3.299 MB / 0.568 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.934, allocations: 30.47 kB / 0.568 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.9353, allocations: 356.1 kB / 0.5683 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.9416, allocations: 1.473 MB / 0.5698 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.9453, allocations: 1.026 MB / 0.5708 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.9492, allocations: 2.429 MB / 0.5731 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.9503, allocations: 0.5936 MB / 0.5737 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.9533, allocations: 1.001 MB / 0.5747 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.955, allocations: 0.7835 MB / 0.5755 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.9552, allocations: 80.62 kB / 0.5755 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.9583, allocations: 1.002 MB / 0.5765 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.9587, allocations: 324.8 kB / 0.5768 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008675/0.9596, allocations: 0.4961 MB / 0.5773 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.9628, allocations: 1.741 MB / 0.579 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.9629, allocations: 0.75 kB / 0.579 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.9629, allocations: 0 / 0.579 GB, free: 1.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.9629, allocations: 1.031 kB / 0.579 GB, free: 1.254 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002797/0.9657, allocations: 1.297 MB / 0.5803 GB, free: 16.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.9658, allocations: 14.36 kB / 0.5803 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.9668, allocations: 170.3 kB / 0.5805 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.9677, allocations: 0.553 MB / 0.581 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.9679, allocations: 184.9 kB / 0.5812 GB, free: 16.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.968, allocations: 73.64 kB / 0.5812 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.9696, allocations: 1.1 MB / 0.5823 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.9697, allocations: 5.812 kB / 0.5823 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/0.9698, allocations: 38.73 kB / 0.5824 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.9698, allocations: 35.03 kB / 0.5824 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.971, allocations: 0.7851 MB / 0.5832 GB, free: 15.83 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.9771, allocations: 5.713 MB / 0.5887 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.9778, allocations: 381.9 kB / 0.5891 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.9781, allocations: 227.5 kB / 0.5893 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.9784, allocations: 262.8 kB / 0.5896 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.9785, allocations: 43.53 kB / 0.5896 GB, free: 11.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.565e-06/0.9785, allocations: 1.062 kB / 0.5896 GB, free: 11.5 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.01012/0.9886, allocations: 2.996 MB / 0.5925 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.9887, allocations: 110.3 kB / 0.5926 GB, free: 10.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/0.9895, allocations: 0.6811 MB / 0.5933 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.9895, allocations: 41.73 kB / 0.5933 GB, free: 10.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.9898, allocations: 456.8 kB / 0.5938 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.99, allocations: 206.5 kB / 0.594 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.9903, allocations: 226.6 kB / 0.5942 GB, free: 10.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9904, allocations: 394.7 kB / 0.5946 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.9908, allocations: 284.7 kB / 0.5948 GB, free: 9.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.9917, allocations: 0.7626 MB / 0.5956 GB, free: 9.191 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/1.007, allocations: 3.308 MB / 0.5988 GB, free: 8.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.007, allocations: 3.719 kB / 0.5988 GB, free: 8.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001871/1.009, allocations: 1.219 MB / 0.6 GB, free: 8.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.009, allocations: 13.03 kB / 0.6 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/1.009, allocations: 17.28 kB / 0.6 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008686/1.01, allocations: 266.4 kB / 0.6003 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/1.01, allocations: 218.1 kB / 0.6005 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/1.011, allocations: 0.9092 MB / 0.6014 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/1.012, allocations: 66.27 kB / 0.6015 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.012, allocations: 99.45 kB / 0.6016 GB, free: 7.855 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004585/1.013, allocations: 289 kB / 0.6018 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.013, allocations: 83.56 kB / 0.6019 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/1.015, allocations: 1.206 MB / 0.6031 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.015, allocations: 6.219 kB / 0.6031 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.016, allocations: 4 kB / 0.6031 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.016, allocations: 6.859 kB / 0.6031 GB, free: 7.578 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/1.019, allocations: 1.991 MB / 0.605 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.019, allocations: 1.406 kB / 0.605 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/1.02, allocations: 95.58 kB / 0.6051 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/1.021, allocations: 282 kB / 0.6054 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/1.021, allocations: 32.48 kB / 0.6054 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009597/1.022, allocations: 0.8411 MB / 0.6063 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.022, allocations: 2.156 kB / 0.6063 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/1.024, allocations: 1.13 MB / 0.6074 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/1.025, allocations: 220.3 kB / 0.6076 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/1.025, allocations: 12.78 kB / 0.6076 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/1.026, allocations: 41.28 kB / 0.6076 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.026, allocations: 61.2 kB / 0.6077 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.774e-05/1.026, allocations: 61.23 kB / 0.6077 GB, free: 5.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006712/1.026, allocations: 473.9 kB / 0.6082 GB, free: 5.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.026, allocations: 0 / 0.6082 GB, free: 5.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001746/1.028, allocations: 350.5 kB / 0.6085 GB, free: 5.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/1.029, allocations: 396.7 kB / 0.6089 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001918/1.031, allocations: 0.8351 MB / 0.6097 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.031, allocations: 2.812 kB / 0.6097 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008717/1.032, allocations: 344.7 kB / 0.6101 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.034, allocations: 417.1 kB / 0.6105 GB, free: 5.527 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/1.038, allocations: 1.901 MB / 0.6123 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/1.038, allocations: 0.9854 MB / 0.6133 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0016/1.04, allocations: 0.5832 MB / 0.6138 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/1.04, allocations: 131 kB / 0.614 GB, free: 3.695 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/1.04, allocations: 1.203 kB / 0.614 GB, free: 3.695 MB / 446.1 MB Notification: Performance of Templates: time 0.03182/1.072, allocations: 20.81 MB / 0.6343 GB, free: 15.72 MB / 478.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)