Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 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.001365/0.001365, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.002592/0.002591, allocations: 0.5697 MB / 290.9 MB, free: 1.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 351.5 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1251, allocations: 49.6 MB / 401.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.7558/0.881, allocations: 179.3 MB / 0.5669 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006522/0.8875, allocations: 3.181 MB / 0.57 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.8889, allocations: 22.59 kB / 0.57 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.8901, allocations: 399.2 kB / 0.5704 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.8954, allocations: 1.585 MB / 0.5719 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.8988, allocations: 1.107 MB / 0.573 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004342/0.9031, allocations: 2.424 MB / 0.5754 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.9044, allocations: 0.5944 MB / 0.5759 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.9071, allocations: 0.9901 MB / 0.5769 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.9085, allocations: 0.7438 MB / 0.5776 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.9087, allocations: 80.28 kB / 0.5777 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.912, allocations: 0.9727 MB / 0.5787 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.9123, allocations: 320.6 kB / 0.579 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.9132, allocations: 499.4 kB / 0.5795 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005115/0.9183, allocations: 1.726 MB / 0.5811 GB, free: 1.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9184, allocations: 0 / 0.5811 GB, free: 1.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.9184, allocations: 0 / 0.5811 GB, free: 1.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.9184, allocations: 0.8438 kB / 0.5811 GB, free: 1.219 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.003081/0.9215, allocations: 1.304 MB / 0.5824 GB, free: 16.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.9216, allocations: 11.67 kB / 0.5824 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.9228, allocations: 167.4 kB / 0.5826 GB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.9239, allocations: 0.5585 MB / 0.5831 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.9241, allocations: 178 kB / 0.5833 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.9243, allocations: 75.22 kB / 0.5834 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.9258, allocations: 1.099 MB / 0.5844 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.9258, allocations: 0.8125 kB / 0.5844 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.9259, allocations: 37.66 kB / 0.5845 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.926, allocations: 34.61 kB / 0.5845 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.9272, allocations: 0.7827 MB / 0.5853 GB, free: 15.8 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.006054/0.9332, allocations: 5.723 MB / 0.5909 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.9339, allocations: 401.9 kB / 0.5912 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.9342, allocations: 218.5 kB / 0.5915 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.9345, allocations: 263.9 kB / 0.5917 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.9345, allocations: 39.78 kB / 0.5917 GB, free: 11.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/0.9345, allocations: 0 / 0.5917 GB, free: 11.46 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.009948/0.9445, allocations: 2.996 MB / 0.5947 GB, free: 10.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.9446, allocations: 111.1 kB / 0.5948 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.9455, allocations: 0.6753 MB / 0.5954 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.9456, allocations: 39.73 kB / 0.5955 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.9459, allocations: 465.6 kB / 0.5959 GB, free: 10.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.9461, allocations: 209 kB / 0.5961 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.9464, allocations: 228.6 kB / 0.5963 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9466, allocations: 390.7 kB / 0.5967 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.947, allocations: 282 kB / 0.597 GB, free: 9.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.9478, allocations: 0.7661 MB / 0.5977 GB, free: 9.164 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.01538/0.9632, allocations: 3.309 MB / 0.601 GB, free: 8.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.9633, allocations: 7.719 kB / 0.601 GB, free: 8.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001992/0.9653, allocations: 1.225 MB / 0.6022 GB, free: 8.367 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.9653, allocations: 12.38 kB / 0.6022 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.9653, allocations: 17.19 kB / 0.6022 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/0.9662, allocations: 279.8 kB / 0.6025 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.9668, allocations: 204.8 kB / 0.6027 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009005/0.9677, allocations: 0.908 MB / 0.6035 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.9685, allocations: 40.89 kB / 0.6036 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.9686, allocations: 98.89 kB / 0.6037 GB, free: 7.828 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.0004973/0.9691, allocations: 295.5 kB / 0.604 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.9693, allocations: 84.41 kB / 0.604 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.9719, allocations: 1.206 MB / 0.6052 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.9719, allocations: 7.906 kB / 0.6052 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.972, allocations: 0 / 0.6052 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.972, allocations: 4.172 kB / 0.6052 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.9751, allocations: 1.98 MB / 0.6072 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9752, allocations: 6.906 kB / 0.6072 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.9755, allocations: 90.11 kB / 0.6072 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.9769, allocations: 285.6 kB / 0.6075 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.977, allocations: 29.02 kB / 0.6075 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008947/0.9779, allocations: 0.8319 MB / 0.6084 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9779, allocations: 2.5 kB / 0.6084 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.9799, allocations: 1.134 MB / 0.6095 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.9804, allocations: 223 kB / 0.6097 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.9806, allocations: 15.25 kB / 0.6097 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.981, allocations: 19.81 kB / 0.6097 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9812, allocations: 52.17 kB / 0.6098 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.393e-05/0.9813, allocations: 63.34 kB / 0.6098 GB, free: 5.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007346/0.982, allocations: 472.4 kB / 0.6103 GB, free: 5.766 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.268e-06/0.982, allocations: 2.531 kB / 0.6103 GB, free: 5.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001759/0.9838, allocations: 352.2 kB / 0.6106 GB, free: 5.738 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.001146/0.9849, allocations: 394.4 kB / 0.611 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.987, allocations: 0.8386 MB / 0.6118 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.987, allocations: 3.859 kB / 0.6118 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.9879, allocations: 346.9 kB / 0.6121 GB, free: 5.555 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.9898, allocations: 410.8 kB / 0.6125 GB, free: 5.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.9928, allocations: 1.631 MB / 0.6141 GB, free: 4.703 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.9934, allocations: 0.995 MB / 0.6151 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00166/0.995, allocations: 0.5776 MB / 0.6157 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.9954, allocations: 139.8 kB / 0.6158 GB, free: 3.281 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.9955, allocations: 0 / 0.6158 GB, free: 3.281 MB / 446.1 MB Notification: Performance of Templates: time 0.03491/1.03, allocations: 20.84 MB / 0.6361 GB, free: 14.77 MB / 478.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)