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.000847/0.000847, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.006132/0.006132, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.00229/0.00229, allocations: 0.5624 MB / 292 MB, free: 1.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12 kB / 353.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3386, allocations: 50.57 MB / 403.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.6105/0.9492, allocations: 175.3 MB / 0.5656 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.9626, allocations: 3.321 MB / 0.5688 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.966, allocations: 27.69 kB / 0.5689 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.9686, allocations: 349.3 kB / 0.5692 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.9788, allocations: 1.448 MB / 0.5706 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005867/0.9847, allocations: 0.9965 MB / 0.5716 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009764/0.9945, allocations: 3.438 MB / 0.5749 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.9969, allocations: 0.519 MB / 0.5755 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004947/1.002, allocations: 0.8791 MB / 0.5763 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004288/1.006, allocations: 0.771 MB / 0.5771 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007012/1.007, allocations: 42.66 kB / 0.5771 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005923/1.013, allocations: 0.9053 MB / 0.578 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/1.014, allocations: 288.2 kB / 0.5783 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002787/1.017, allocations: 491.9 kB / 0.5787 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007504/1.024, allocations: 1.685 MB / 0.5804 GB, free: 1.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/1.024, allocations: 7.281 kB / 0.5804 GB, free: 1.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.038e-06/1.024, allocations: 1.859 kB / 0.5804 GB, free: 1.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/1.025, allocations: 0 / 0.5804 GB, free: 1.363 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.003782/1.028, allocations: 1.101 MB / 0.5815 GB, free: 16.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.025e-05/1.028, allocations: 13.38 kB / 0.5815 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.03, allocations: 162.8 kB / 0.5816 GB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/1.031, allocations: 0.563 MB / 0.5822 GB, free: 16.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/1.031, allocations: 180.8 kB / 0.5823 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/1.032, allocations: 69.92 kB / 0.5824 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/1.034, allocations: 1.093 MB / 0.5835 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/1.034, allocations: 18.28 kB / 0.5835 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.034, allocations: 34 kB / 0.5835 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/1.034, allocations: 30.62 kB / 0.5836 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.035, allocations: 0.7813 MB / 0.5843 GB, free: 15.94 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.008092/1.043, allocations: 5.724 MB / 0.5899 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/1.044, allocations: 395.5 kB / 0.5903 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/1.045, allocations: 220.8 kB / 0.5905 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/1.045, allocations: 261.7 kB / 0.5908 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/1.045, allocations: 44.12 kB / 0.5908 GB, free: 11.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 4.128e-06/1.045, allocations: 0 / 0.5908 GB, free: 11.57 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.01247/1.058, allocations: 3.028 MB / 0.5938 GB, free: 10.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.058, allocations: 115.3 kB / 0.5939 GB, free: 10.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.06, allocations: 0.6809 MB / 0.5945 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/1.06, allocations: 42.88 kB / 0.5946 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/1.061, allocations: 451.4 kB / 0.595 GB, free: 10.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/1.061, allocations: 209.3 kB / 0.5952 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.061, allocations: 94.36 kB / 0.5953 GB, free: 10.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002526/1.062, allocations: 386.9 kB / 0.5957 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/1.062, allocations: 287.2 kB / 0.5959 GB, free: 9.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/1.063, allocations: 0.763 MB / 0.5967 GB, free: 9.234 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.01789/1.081, allocations: 3.631 MB / 0.6002 GB, free: 8.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/1.081, allocations: 5.094 kB / 0.6002 GB, free: 8.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002902/1.084, allocations: 1.222 MB / 0.6014 GB, free: 8.324 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/1.084, allocations: 16.12 kB / 0.6014 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/1.084, allocations: 17.34 kB / 0.6015 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/1.085, allocations: 279.4 kB / 0.6017 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/1.086, allocations: 208.8 kB / 0.6019 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/1.087, allocations: 0.9212 MB / 0.6028 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.088, allocations: 67.3 kB / 0.6029 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.089, allocations: 95.34 kB / 0.603 GB, free: 7.773 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 sytem: 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.0007715/1.089, allocations: 301.5 kB / 0.6033 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/1.09, allocations: 79.12 kB / 0.6033 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/1.093, allocations: 1.205 MB / 0.6045 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/1.093, allocations: 6 kB / 0.6045 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.093, allocations: 0 / 0.6045 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.093, allocations: 7.203 kB / 0.6045 GB, free: 7.441 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.003928/1.097, allocations: 1.985 MB / 0.6065 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.097, allocations: 2.875 kB / 0.6065 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/1.097, allocations: 94.42 kB / 0.6066 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/1.099, allocations: 299.2 kB / 0.6068 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/1.099, allocations: 33.52 kB / 0.6069 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/1.1, allocations: 0.8512 MB / 0.6077 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.1, allocations: 0 / 0.6077 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.102, allocations: 1.137 MB / 0.6088 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/1.103, allocations: 224.8 kB / 0.609 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/1.103, allocations: 20.14 kB / 0.609 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/1.104, allocations: 35.98 kB / 0.6091 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.104, allocations: 57.81 kB / 0.6091 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.104, allocations: 60.88 kB / 0.6092 GB, free: 5.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009363/1.105, allocations: 476.4 kB / 0.6097 GB, free: 5.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.105, allocations: 2.906 kB / 0.6097 GB, free: 5.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002111/1.107, allocations: 341.1 kB / 0.61 GB, free: 5.145 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 {(4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/1.109, allocations: 394 kB / 0.6104 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/1.111, allocations: 0.7789 MB / 0.6111 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.111, allocations: 0 / 0.6111 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008425/1.112, allocations: 345.6 kB / 0.6114 GB, free: 4.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/1.114, allocations: 394.7 kB / 0.6118 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/1.119, allocations: 2 MB / 0.6138 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/1.119, allocations: 0.9923 MB / 0.6147 GB, free: 2.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002008/1.121, allocations: 0.584 MB / 0.6153 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/1.122, allocations: 130.9 kB / 0.6154 GB, free: 2.309 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/1.122, allocations: 2.344 kB / 0.6154 GB, free: 2.309 MB / 446.1 MB Notification: Performance of Templates: time 0.041/1.163, allocations: 19.96 MB / 0.6349 GB, free: 428 kB / 462.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)