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.008653/0.008653, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001803/0.001803, allocations: 195.9 kB / 16.79 MB, free: 5.809 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.542/1.542, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.00469/0.00469, allocations: 0.5738 MB / 291.2 MB, free: 1.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 351.5 MB, free: 2.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1569, allocations: 49.59 MB / 401.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.9218/1.079, allocations: 177.6 MB / 0.5652 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006875/1.086, allocations: 3.347 MB / 0.5685 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/1.087, allocations: 29.12 kB / 0.5685 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/1.088, allocations: 359.2 kB / 0.5688 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/1.093, allocations: 1.443 MB / 0.5703 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/1.097, allocations: 0.9917 MB / 0.5712 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005169/1.102, allocations: 3.447 MB / 0.5746 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.103, allocations: 0.5189 MB / 0.5751 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/1.106, allocations: 0.8908 MB / 0.576 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.108, allocations: 0.7696 MB / 0.5767 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/1.108, allocations: 48.09 kB / 0.5768 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/1.111, allocations: 0.9093 MB / 0.5776 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003823/1.111, allocations: 291.4 kB / 0.5779 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000765/1.112, allocations: 466.4 kB / 0.5784 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/1.114, allocations: 1.273 MB / 0.5796 GB, free: 1.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.114, allocations: 0 / 0.5796 GB, free: 1.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/1.114, allocations: 0 / 0.5796 GB, free: 1.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/1.114, allocations: 1.203 kB / 0.5796 GB, free: 1.156 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.002835/1.117, allocations: 1.298 MB / 0.5809 GB, free: 16.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.117, allocations: 10.75 kB / 0.5809 GB, free: 16.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.118, allocations: 172.9 kB / 0.5811 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/1.119, allocations: 0.5589 MB / 0.5816 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.12, allocations: 178 kB / 0.5818 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/1.12, allocations: 73.12 kB / 0.5818 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/1.121, allocations: 1.101 MB / 0.5829 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.121, allocations: 6.047 kB / 0.5829 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.121, allocations: 41.16 kB / 0.583 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/1.122, allocations: 27.81 kB / 0.583 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/1.123, allocations: 0.7827 MB / 0.5838 GB, free: 15.72 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.00601/1.129, allocations: 5.726 MB / 0.5893 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/1.129, allocations: 382.6 kB / 0.5897 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/1.13, allocations: 221.9 kB / 0.5899 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/1.13, allocations: 260.2 kB / 0.5902 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.13, allocations: 42.16 kB / 0.5902 GB, free: 11.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 3.607e-06/1.13, allocations: 4 kB / 0.5902 GB, free: 11.36 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.01023/1.14, allocations: 2.99 MB / 0.5931 GB, free: 10.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.141, allocations: 110.8 kB / 0.5932 GB, free: 10.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/1.141, allocations: 0.6792 MB / 0.5939 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/1.141, allocations: 37.55 kB / 0.5939 GB, free: 10.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/1.142, allocations: 454.9 kB / 0.5944 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/1.142, allocations: 208.5 kB / 0.5946 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/1.142, allocations: 236.8 kB / 0.5948 GB, free: 9.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/1.142, allocations: 389 kB / 0.5952 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/1.143, allocations: 280.2 kB / 0.5954 GB, free: 9.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/1.144, allocations: 0.7636 MB / 0.5962 GB, free: 9.02 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.01612/1.16, allocations: 3.308 MB / 0.5994 GB, free: 8.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.16, allocations: 4.594 kB / 0.5994 GB, free: 8.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001924/1.162, allocations: 1.221 MB / 0.6006 GB, free: 8.145 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.162, allocations: 13.12 kB / 0.6006 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.162, allocations: 16.41 kB / 0.6006 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008695/1.163, allocations: 278.5 kB / 0.6009 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/1.163, allocations: 214.9 kB / 0.6011 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/1.164, allocations: 0.9046 MB / 0.602 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008011/1.165, allocations: 62.59 kB / 0.6021 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.165, allocations: 102 kB / 0.6021 GB, free: 7.586 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.0004709/1.166, allocations: 289.7 kB / 0.6024 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.166, allocations: 82.75 kB / 0.6025 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/1.168, allocations: 1.205 MB / 0.6037 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.168, allocations: 6.156 kB / 0.6037 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.168, allocations: 0.9062 kB / 0.6037 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.168, allocations: 3.922 kB / 0.6037 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/1.172, allocations: 1.99 MB / 0.6056 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.172, allocations: 3 kB / 0.6056 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/1.172, allocations: 93.34 kB / 0.6057 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/1.173, allocations: 282.5 kB / 0.606 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/1.173, allocations: 36.41 kB / 0.606 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000905/1.174, allocations: 0.833 MB / 0.6068 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.174, allocations: 2.906 kB / 0.6068 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.176, allocations: 1.134 MB / 0.608 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/1.177, allocations: 212.6 kB / 0.6082 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.177, allocations: 15.59 kB / 0.6082 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/1.177, allocations: 40.34 kB / 0.6082 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/1.177, allocations: 58.56 kB / 0.6083 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/1.177, allocations: 63.19 kB / 0.6083 GB, free: 5.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005431/1.178, allocations: 474.9 kB / 0.6088 GB, free: 5.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.178, allocations: 0 / 0.6088 GB, free: 5.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001284/1.179, allocations: 345.4 kB / 0.6091 GB, free: 5.465 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.001006/1.18, allocations: 406.1 kB / 0.6095 GB, free: 5.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/1.182, allocations: 0.7897 MB / 0.6103 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.182, allocations: 0 / 0.6103 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/1.183, allocations: 336.3 kB / 0.6106 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/1.185, allocations: 401.5 kB / 0.611 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/1.187, allocations: 1.94 MB / 0.6129 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/1.188, allocations: 0.984 MB / 0.6138 GB, free: 3.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/1.189, allocations: 160.2 kB / 0.614 GB, free: 2.98 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/1.189, allocations: 2.906 kB / 0.614 GB, free: 2.98 MB / 446.1 MB Notification: Performance of Templates: time 0.02857/1.217, allocations: 18.44 MB / 0.632 GB, free: 0.8789 MB / 462.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)