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.001074/0.001074, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001153/0.001153, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003019/0.003019, allocations: 0.5568 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09264, allocations: 49.59 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.3964/0.489, allocations: 179.3 MB / 0.6172 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00539/0.4945, allocations: 3.17 MB / 0.6203 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008126/0.4953, allocations: 19.88 kB / 0.6203 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.4966, allocations: 405.4 kB / 0.6207 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.501, allocations: 1.595 MB / 0.6223 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.5045, allocations: 1.107 MB / 0.6234 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003171/0.5076, allocations: 2.419 MB / 0.6257 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009642/0.5086, allocations: 0.5957 MB / 0.6263 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.5109, allocations: 1.008 MB / 0.6273 GB, free: 4.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.5122, allocations: 0.7355 MB / 0.628 GB, free: 3.871 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.5125, allocations: 80 kB / 0.6281 GB, free: 3.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.515, allocations: 1.014 MB / 0.6291 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.5154, allocations: 327.1 kB / 0.6294 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006669/0.5161, allocations: 493.8 kB / 0.6299 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.5187, allocations: 1.738 MB / 0.6316 GB, free: 236 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5187, allocations: 0 / 0.6316 GB, free: 236 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5187, allocations: 4 kB / 0.6316 GB, free: 232 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.5187, allocations: 0 / 0.6316 GB, free: 232 kB / 462.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.002454/0.5212, allocations: 1.302 MB / 0.6328 GB, free: 14.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5212, allocations: 8.031 kB / 0.6328 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5223, allocations: 170.8 kB / 0.633 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.5233, allocations: 0.5936 MB / 0.6336 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.5234, allocations: 176.8 kB / 0.6337 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.5235, allocations: 71.98 kB / 0.6338 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.5252, allocations: 1.079 MB / 0.6349 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.5252, allocations: 11.92 kB / 0.6349 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/0.5253, allocations: 35.98 kB / 0.6349 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.5254, allocations: 33.31 kB / 0.6349 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.5266, allocations: 0.7894 MB / 0.6357 GB, free: 11.75 MB / 478.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.005987/0.5326, allocations: 5.706 MB / 0.6413 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.5333, allocations: 404.6 kB / 0.6417 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.5337, allocations: 216.8 kB / 0.6419 GB, free: 5.031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.534, allocations: 263.3 kB / 0.6421 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.534, allocations: 38.66 kB / 0.6422 GB, free: 4.672 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.534, allocations: 3.938 kB / 0.6422 GB, free: 4.668 MB / 478.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.009726/0.5437, allocations: 2.994 MB / 0.6451 GB, free: 1.586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.5439, allocations: 115.4 kB / 0.6452 GB, free: 1.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.5447, allocations: 0.6875 MB / 0.6459 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.5448, allocations: 37.7 kB / 0.6459 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.5451, allocations: 450 kB / 0.6463 GB, free: 272 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.5453, allocations: 209.2 kB / 0.6465 GB, free: 60 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.5456, allocations: 226.8 kB / 0.6468 GB, free: 15.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.5458, allocations: 382.8 kB / 0.6471 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.5462, allocations: 286.5 kB / 0.6474 GB, free: 15.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007791/0.547, allocations: 0.763 MB / 0.6481 GB, free: 14.17 MB / 494.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.01478/0.5618, allocations: 3.32 MB / 0.6514 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.5619, allocations: 4 kB / 0.6514 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00195/0.5638, allocations: 1.221 MB / 0.6526 GB, free: 9.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5639, allocations: 12 kB / 0.6526 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.5639, allocations: 20 kB / 0.6526 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/0.5648, allocations: 269.1 kB / 0.6529 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.5654, allocations: 215.5 kB / 0.6531 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009346/0.5663, allocations: 0.9061 MB / 0.654 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.5669, allocations: 40.03 kB / 0.654 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.567, allocations: 99.92 kB / 0.6541 GB, free: 7.801 MB / 494.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.000443/0.5675, allocations: 289.4 kB / 0.6544 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.5677, allocations: 83 kB / 0.6544 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.5698, allocations: 1.205 MB / 0.6556 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5699, allocations: 15.88 kB / 0.6556 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5699, allocations: 0 / 0.6556 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5699, allocations: 3.984 kB / 0.6556 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.5729, allocations: 1.978 MB / 0.6576 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.573, allocations: 0 / 0.6576 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.5733, allocations: 99.83 kB / 0.6577 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.5746, allocations: 284.6 kB / 0.6579 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.5747, allocations: 31.98 kB / 0.658 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009036/0.5756, allocations: 0.8366 MB / 0.6588 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.5756, allocations: 7.938 kB / 0.6588 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.5775, allocations: 1.127 MB / 0.6599 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.5778, allocations: 216.1 kB / 0.6601 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5779, allocations: 12 kB / 0.6601 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.5784, allocations: 20 kB / 0.6601 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.5785, allocations: 56.5 kB / 0.6602 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/0.5786, allocations: 59.97 kB / 0.6602 GB, free: 1.246 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005631/0.5792, allocations: 475 kB / 0.6607 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5792, allocations: 0 / 0.6607 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00115/0.5803, allocations: 351.9 kB / 0.661 GB, free: 456 kB / 494.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.0009128/0.5812, allocations: 390.6 kB / 0.6614 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.5827, allocations: 0.7981 MB / 0.6622 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5827, allocations: 7.922 kB / 0.6622 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.5835, allocations: 335 kB / 0.6625 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.5853, allocations: 423.6 kB / 0.6629 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.5877, allocations: 1.637 MB / 0.6645 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.5883, allocations: 0.9908 MB / 0.6655 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/0.5887, allocations: 151.4 kB / 0.6656 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.5887, allocations: 4 kB / 0.6656 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.02561/0.6143, allocations: 18.66 MB / 0.6839 GB, free: 9.105 MB / 0.5137 GB 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)