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.008679/0.008679, allocations: 98.86 kB / 15.73 MB, free: 5.988 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.001972/0.001973, allocations: 195.2 kB / 16.68 MB, free: 5.91 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.00273/0.00273, allocations: 0.5502 MB / 291.1 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 401.9 MB, free: 32.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07451/0.07583, allocations: 49.59 MB / 451.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.3733/0.4491, allocations: 179.3 MB / 0.6161 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005438/0.4546, allocations: 3.17 MB / 0.6192 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.4555, allocations: 19.88 kB / 0.6192 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.4568, allocations: 409.4 kB / 0.6196 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.4611, allocations: 1.585 MB / 0.6211 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.4638, allocations: 1.107 MB / 0.6222 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.4665, allocations: 2.419 MB / 0.6246 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009098/0.4674, allocations: 0.6035 MB / 0.6252 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.4693, allocations: 1.005 MB / 0.6261 GB, free: 4.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.4705, allocations: 0.7395 MB / 0.6269 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.4708, allocations: 80 kB / 0.6269 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.473, allocations: 1.018 MB / 0.6279 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.4735, allocations: 319.2 kB / 0.6282 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007026/0.4742, allocations: 0.4901 MB / 0.6287 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.4767, allocations: 1.734 MB / 0.6304 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4768, allocations: 0 / 0.6304 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4768, allocations: 0 / 0.6304 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.02e-05/0.4768, allocations: 0 / 0.6304 GB, free: 0.6094 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.002792/0.4796, allocations: 1.302 MB / 0.6317 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4797, allocations: 12.03 kB / 0.6317 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.4799, allocations: 131 kB / 0.6318 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.481, allocations: 166.8 kB / 0.632 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.4821, allocations: 0.582 MB / 0.6325 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.4822, allocations: 188.8 kB / 0.6327 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.4824, allocations: 70.88 kB / 0.6328 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4841, allocations: 1.087 MB / 0.6339 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.4841, allocations: 3.938 kB / 0.6339 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4842, allocations: 36 kB / 0.6339 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.4843, allocations: 37.25 kB / 0.6339 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.4856, allocations: 0.7816 MB / 0.6347 GB, free: 12 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.005837/0.4914, allocations: 5.706 MB / 0.6403 GB, free: 5.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.4922, allocations: 408.4 kB / 0.6407 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.4925, allocations: 220.8 kB / 0.6409 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.4927, allocations: 259.3 kB / 0.6411 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4928, allocations: 42.56 kB / 0.6412 GB, free: 4.918 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 3.206e-06/0.4928, allocations: 0 / 0.6412 GB, free: 4.918 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.009745/0.5026, allocations: 3.004 MB / 0.6441 GB, free: 1.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.5026, allocations: 107.4 kB / 0.6442 GB, free: 1.699 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.5034, allocations: 0.6836 MB / 0.6449 GB, free: 1.008 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.5035, allocations: 37.7 kB / 0.6449 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.5038, allocations: 466 kB / 0.6453 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.504, allocations: 205.1 kB / 0.6455 GB, free: 308 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.5043, allocations: 226.7 kB / 0.6457 GB, free: 76 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5044, allocations: 390.7 kB / 0.6461 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.5049, allocations: 278.5 kB / 0.6464 GB, free: 15.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.5056, allocations: 0.7708 MB / 0.6471 GB, free: 14.41 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.01536/0.521, allocations: 3.3 MB / 0.6504 GB, free: 10.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.521, allocations: 8 kB / 0.6504 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002076/0.5231, allocations: 1.226 MB / 0.6516 GB, free: 9.617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.5232, allocations: 12 kB / 0.6516 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.5232, allocations: 16 kB / 0.6516 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009164/0.5241, allocations: 272.9 kB / 0.6519 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.5247, allocations: 207.7 kB / 0.6521 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008934/0.5256, allocations: 0.9081 MB / 0.6529 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.5263, allocations: 43.94 kB / 0.653 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.5264, allocations: 95.98 kB / 0.6531 GB, free: 8.051 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.0004645/0.5269, allocations: 289.4 kB / 0.6533 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.5271, allocations: 83.14 kB / 0.6534 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.5293, allocations: 1.2 MB / 0.6546 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5293, allocations: 7.938 kB / 0.6546 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5294, allocations: 0 / 0.6546 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5294, allocations: 11.92 kB / 0.6546 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.5324, allocations: 1.985 MB / 0.6566 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5324, allocations: 0 / 0.6566 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.5327, allocations: 91.89 kB / 0.6566 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.5342, allocations: 290.9 kB / 0.6569 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/0.5342, allocations: 31.98 kB / 0.657 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008665/0.5351, allocations: 0.8332 MB / 0.6578 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5351, allocations: 4 kB / 0.6578 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.537, allocations: 1.139 MB / 0.6589 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.5374, allocations: 216.1 kB / 0.6591 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.5376, allocations: 15.91 kB / 0.6591 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.5381, allocations: 23.98 kB / 0.6591 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.5382, allocations: 56.44 kB / 0.6592 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-05/0.5383, allocations: 59.98 kB / 0.6592 GB, free: 1.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005771/0.5388, allocations: 478.9 kB / 0.6597 GB, free: 1.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5388, allocations: 0 / 0.6597 GB, free: 1.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001215/0.5401, allocations: 347.9 kB / 0.66 GB, free: 0.6797 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.003029/0.5431, allocations: 1.959 MB / 0.6619 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.5447, allocations: 0.7983 MB / 0.6627 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.5447, allocations: 3.859 kB / 0.6627 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.5455, allocations: 331 kB / 0.663 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.5474, allocations: 413 kB / 0.6634 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.5577, allocations: 7.492 MB / 0.6707 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.5583, allocations: 0.9985 MB / 0.6717 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001348/0.5597, allocations: 0.5713 MB / 0.6723 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.5602, allocations: 347.3 kB / 0.6726 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.5603, allocations: 0 / 0.6726 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05319/0.6135, allocations: 29.33 MB / 0.7013 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.8, allocations: 16.14 kB / 0.7013 GB, free: 6.164 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)