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.001183/0.001183, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.002807/0.002807, allocations: 0.562 MB / 290.9 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 59.89 kB / 351.5 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1412, allocations: 49.6 MB / 401.1 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.7319/0.8731, allocations: 179.3 MB / 0.5669 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005074/0.8782, allocations: 3.179 MB / 0.57 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.8794, allocations: 23.06 kB / 0.57 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.8808, allocations: 396.8 kB / 0.5704 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.8864, allocations: 1.583 MB / 0.5719 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.89, allocations: 1.117 MB / 0.573 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003833/0.8939, allocations: 2.42 MB / 0.5754 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.895, allocations: 0.6007 MB / 0.576 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.8978, allocations: 0.9865 MB / 0.5769 GB, free: 1.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.8995, allocations: 0.7408 MB / 0.5777 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.8998, allocations: 80.5 kB / 0.5777 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.9029, allocations: 0.9795 MB / 0.5787 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.9032, allocations: 321.5 kB / 0.579 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006564/0.9039, allocations: 494 kB / 0.5795 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.9066, allocations: 1.725 MB / 0.5811 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.9066, allocations: 0 / 0.5811 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9066, allocations: 1.094 kB / 0.5811 GB, free: 1.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.9066, allocations: 1.938 kB / 0.5811 GB, free: 1.215 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.002466/0.9091, allocations: 1.308 MB / 0.5824 GB, free: 16.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.9091, allocations: 14.11 kB / 0.5824 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.9102, allocations: 162 kB / 0.5826 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/0.911, allocations: 0.5633 MB / 0.5831 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.9112, allocations: 178.6 kB / 0.5833 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.9113, allocations: 73.14 kB / 0.5834 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.9127, allocations: 1.095 MB / 0.5845 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.9127, allocations: 5.812 kB / 0.5845 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.9128, allocations: 32.59 kB / 0.5845 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.9129, allocations: 36.28 kB / 0.5845 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.914, allocations: 0.7835 MB / 0.5853 GB, free: 15.79 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.005252/0.9192, allocations: 5.725 MB / 0.5909 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.9198, allocations: 397.6 kB / 0.5913 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.9201, allocations: 224.2 kB / 0.5915 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.9204, allocations: 263.9 kB / 0.5917 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.9204, allocations: 39.92 kB / 0.5918 GB, free: 11.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 3.015e-06/0.9204, allocations: 0 / 0.5918 GB, free: 11.45 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.009287/0.9297, allocations: 2.996 MB / 0.5947 GB, free: 10.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.9298, allocations: 111.1 kB / 0.5948 GB, free: 10.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.9304, allocations: 0.6751 MB / 0.5955 GB, free: 10.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.9305, allocations: 39.36 kB / 0.5955 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.9307, allocations: 464.5 kB / 0.5959 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.9309, allocations: 205.1 kB / 0.5961 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.9311, allocations: 232.4 kB / 0.5964 GB, free: 10.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9313, allocations: 390.4 kB / 0.5967 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.9317, allocations: 279.6 kB / 0.597 GB, free: 9.758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.9324, allocations: 0.7684 MB / 0.5977 GB, free: 9.152 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.01535/0.9478, allocations: 3.313 MB / 0.601 GB, free: 8.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.9478, allocations: 5.125 kB / 0.601 GB, free: 8.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001858/0.9497, allocations: 1.216 MB / 0.6022 GB, free: 8.359 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.9497, allocations: 13.41 kB / 0.6022 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.9497, allocations: 19.47 kB / 0.6022 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.9506, allocations: 279.5 kB / 0.6025 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.9512, allocations: 215 kB / 0.6027 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/0.952, allocations: 0.8975 MB / 0.6035 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.9527, allocations: 40.83 kB / 0.6036 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.9528, allocations: 98.66 kB / 0.6037 GB, free: 7.816 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.0004528/0.9533, allocations: 294.6 kB / 0.604 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.9535, allocations: 86.03 kB / 0.604 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.9559, allocations: 1.206 MB / 0.6052 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.956, allocations: 5.344 kB / 0.6052 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.956, allocations: 1.344 kB / 0.6052 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.956, allocations: 2.906 kB / 0.6052 GB, free: 7.523 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.00331/0.9593, allocations: 1.989 MB / 0.6072 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.9593, allocations: 3.625 kB / 0.6072 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.9596, allocations: 89.14 kB / 0.6073 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.961, allocations: 291.5 kB / 0.6075 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.9611, allocations: 30.95 kB / 0.6076 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.9621, allocations: 0.8291 MB / 0.6084 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9621, allocations: 2.469 kB / 0.6084 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.9643, allocations: 1.14 MB / 0.6095 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.9647, allocations: 216.8 kB / 0.6097 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.9648, allocations: 19.94 kB / 0.6097 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.9653, allocations: 20.84 kB / 0.6097 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.9654, allocations: 52.95 kB / 0.6098 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/0.9655, allocations: 67.98 kB / 0.6099 GB, free: 5.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006606/0.9661, allocations: 475.1 kB / 0.6103 GB, free: 5.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9661, allocations: 0 / 0.6103 GB, free: 5.742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001525/0.9677, allocations: 349.8 kB / 0.6106 GB, free: 5.719 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.0009565/0.9686, allocations: 371 kB / 0.611 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.9705, allocations: 0.8413 MB / 0.6118 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.9706, allocations: 10.27 kB / 0.6118 GB, free: 5.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.9713, allocations: 342 kB / 0.6122 GB, free: 5.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.9732, allocations: 411 kB / 0.6125 GB, free: 5.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.9759, allocations: 1.641 MB / 0.6142 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.9764, allocations: 0.9895 MB / 0.6151 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001542/0.978, allocations: 0.5792 MB / 0.6157 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.9783, allocations: 133.4 kB / 0.6158 GB, free: 3.25 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.9784, allocations: 0 / 0.6158 GB, free: 3.25 MB / 446.1 MB Notification: Performance of Templates: time 0.0333/1.012, allocations: 20.87 MB / 0.6362 GB, free: 14.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)