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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005895/0.005895, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001203/0.001203, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.002544/0.002545, allocations: 0.5595 MB / 291.1 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001132, allocations: 59.91 kB / 401.9 MB, free: 32.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07874/0.07988, allocations: 49.6 MB / 451.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.3756/0.4555, allocations: 179.3 MB / 0.6161 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.4611, allocations: 3.179 MB / 0.6192 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.462, allocations: 19.88 kB / 0.6192 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4631, allocations: 405.5 kB / 0.6196 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.4674, allocations: 1.585 MB / 0.6211 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.4702, allocations: 1.114 MB / 0.6222 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002778/0.473, allocations: 2.408 MB / 0.6246 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000957/0.474, allocations: 0.6042 MB / 0.6251 GB, free: 5.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.4759, allocations: 1.008 MB / 0.6261 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.4771, allocations: 0.7395 MB / 0.6269 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.4773, allocations: 80 kB / 0.6269 GB, free: 4.098 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.4796, allocations: 1.018 MB / 0.6279 GB, free: 3.078 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.48, allocations: 319.2 kB / 0.6282 GB, free: 2.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007601/0.4808, allocations: 0.4901 MB / 0.6287 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.484, allocations: 1.738 MB / 0.6304 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.484, allocations: 0 / 0.6304 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.484, allocations: 0 / 0.6304 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.118e-05/0.4841, allocations: 0 / 0.6304 GB, free: 0.5312 MB / 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.003219/0.4873, allocations: 1.302 MB / 0.6317 GB, free: 15.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4873, allocations: 11.97 kB / 0.6317 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.4875, allocations: 126.5 kB / 0.6318 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.4886, allocations: 166.8 kB / 0.632 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.4896, allocations: 0.5898 MB / 0.6325 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.4897, allocations: 184.8 kB / 0.6327 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.4898, allocations: 64 kB / 0.6328 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4913, allocations: 1.087 MB / 0.6338 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.4914, allocations: 7.938 kB / 0.6339 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.4915, allocations: 32 kB / 0.6339 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.4915, allocations: 37.3 kB / 0.6339 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.4927, allocations: 0.7893 MB / 0.6347 GB, free: 11.92 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.005471/0.4982, allocations: 5.702 MB / 0.6403 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.4988, allocations: 404.6 kB / 0.6406 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.4992, allocations: 224.4 kB / 0.6409 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.4994, allocations: 263.3 kB / 0.6411 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.4994, allocations: 42.55 kB / 0.6411 GB, free: 4.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.983e-06/0.4995, allocations: 0 / 0.6411 GB, free: 4.84 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.00944/0.5089, allocations: 3.003 MB / 0.6441 GB, free: 1.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.509, allocations: 115.4 kB / 0.6442 GB, free: 1.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.5097, allocations: 0.6758 MB / 0.6449 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.5098, allocations: 41.7 kB / 0.6449 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.5101, allocations: 466 kB / 0.6453 GB, free: 432 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.5103, allocations: 201.1 kB / 0.6455 GB, free: 228 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.5105, allocations: 234.7 kB / 0.6458 GB, free: 15.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5107, allocations: 382.8 kB / 0.6461 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.5112, allocations: 282.5 kB / 0.6464 GB, free: 15.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/0.5119, allocations: 0.7669 MB / 0.6471 GB, free: 14.32 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.01574/0.5277, allocations: 3.3 MB / 0.6504 GB, free: 10.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5277, allocations: 8 kB / 0.6504 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002036/0.5298, allocations: 1.226 MB / 0.6516 GB, free: 9.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5298, allocations: 12 kB / 0.6516 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.5298, allocations: 19.98 kB / 0.6516 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008945/0.5307, allocations: 267.6 kB / 0.6518 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.5313, allocations: 211.7 kB / 0.652 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008772/0.5322, allocations: 0.8957 MB / 0.6529 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.5328, allocations: 43.94 kB / 0.653 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.533, allocations: 100 kB / 0.6531 GB, free: 7.973 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.0004973/0.5335, allocations: 300.9 kB / 0.6533 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.5336, allocations: 86.98 kB / 0.6534 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.5358, allocations: 1.194 MB / 0.6546 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5358, allocations: 11.94 kB / 0.6546 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5358, allocations: 4 kB / 0.6546 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5358, allocations: 3.984 kB / 0.6546 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.5386, allocations: 1.989 MB / 0.6566 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5387, allocations: 8 kB / 0.6566 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.539, allocations: 91.89 kB / 0.6567 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.5404, allocations: 284.6 kB / 0.6569 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.5404, allocations: 27.98 kB / 0.657 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009458/0.5414, allocations: 0.8371 MB / 0.6578 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5414, allocations: 0 / 0.6578 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.5433, allocations: 1.139 MB / 0.6589 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.5437, allocations: 212.1 kB / 0.6591 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5438, allocations: 19.91 kB / 0.6591 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.5443, allocations: 19.98 kB / 0.6591 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.5444, allocations: 52.44 kB / 0.6592 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5445, allocations: 71.91 kB / 0.6592 GB, free: 1.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006159/0.5451, allocations: 475 kB / 0.6597 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5452, allocations: 0 / 0.6597 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001409/0.5466, allocations: 343.9 kB / 0.66 GB, free: 0.5977 MB / 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.003162/0.5497, allocations: 1.955 MB / 0.6619 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.5513, allocations: 0.7903 MB / 0.6627 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.5514, allocations: 7.984 kB / 0.6627 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008026/0.5522, allocations: 339 kB / 0.663 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.5539, allocations: 420.1 kB / 0.6634 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.5644, allocations: 7.479 MB / 0.6707 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.565, allocations: 0.9907 MB / 0.6717 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001297/0.5663, allocations: 0.579 MB / 0.6723 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/0.5669, allocations: 351.3 kB / 0.6726 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.5669, allocations: 0 / 0.6726 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05865/0.6255, allocations: 29.33 MB / 0.7012 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.51, allocations: 16.2 kB / 0.7013 GB, free: 6.098 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)