Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",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.009851/0.009851, allocations: 103.1 kB / 15.73 MB, free: 6.008 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.001882/0.001882, allocations: 192.5 kB / 16.67 MB, free: 5.934 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.003105/0.003106, allocations: 0.5645 MB / 291.1 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 401.9 MB, free: 32.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08859, allocations: 49.59 MB / 451.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4247/0.5133, allocations: 179.3 MB / 0.6161 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.5187, allocations: 3.179 MB / 0.6192 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006836/0.5194, allocations: 23.88 kB / 0.6192 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.5206, allocations: 397.5 kB / 0.6196 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.5245, allocations: 1.585 MB / 0.6211 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.5276, allocations: 1.119 MB / 0.6222 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.5309, allocations: 2.388 MB / 0.6245 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00092/0.5318, allocations: 0.5918 MB / 0.6251 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.5339, allocations: 0.9928 MB / 0.6261 GB, free: 5.016 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.5351, allocations: 0.7356 MB / 0.6268 GB, free: 4.277 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.5353, allocations: 80 kB / 0.6269 GB, free: 4.199 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.5378, allocations: 1.018 MB / 0.6279 GB, free: 3.184 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.5382, allocations: 327.1 kB / 0.6282 GB, free: 2.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.5388, allocations: 485.8 kB / 0.6287 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.5413, allocations: 1.745 MB / 0.6304 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5413, allocations: 0 / 0.6304 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5414, allocations: 0 / 0.6304 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.5414, allocations: 0 / 0.6304 GB, free: 0.6367 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.002636/0.544, allocations: 1.302 MB / 0.6316 GB, free: 15.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5441, allocations: 11.89 kB / 0.6316 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.5443, allocations: 126.5 kB / 0.6318 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.5453, allocations: 170.8 kB / 0.6319 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.5465, allocations: 0.5898 MB / 0.6325 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.5466, allocations: 184.8 kB / 0.6327 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5468, allocations: 64 kB / 0.6327 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.5484, allocations: 1.091 MB / 0.6338 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.5484, allocations: 7.938 kB / 0.6338 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/0.5485, allocations: 28 kB / 0.6338 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.5485, allocations: 33.31 kB / 0.6339 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5498, allocations: 0.7971 MB / 0.6346 GB, free: 12.02 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.006184/0.556, allocations: 5.695 MB / 0.6402 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.5567, allocations: 400.7 kB / 0.6406 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.557, allocations: 216.8 kB / 0.6408 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.5573, allocations: 263.3 kB / 0.641 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5573, allocations: 38.56 kB / 0.6411 GB, free: 4.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.364e-06/0.5573, allocations: 0 / 0.6411 GB, free: 4.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=55): time 0.007104/0.5644, allocations: 2.266 MB / 0.6433 GB, free: 2.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.5645, allocations: 111.4 kB / 0.6434 GB, free: 2.492 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.5654, allocations: 0.6875 MB / 0.6441 GB, free: 1.797 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.5654, allocations: 37.7 kB / 0.6441 GB, free: 1.754 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.5657, allocations: 458 kB / 0.6445 GB, free: 1.301 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.5659, allocations: 209.1 kB / 0.6447 GB, free: 1.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.5662, allocations: 226.7 kB / 0.645 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5664, allocations: 386.8 kB / 0.6453 GB, free: 492 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.5668, allocations: 282.5 kB / 0.6456 GB, free: 208 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008223/0.5677, allocations: 0.7708 MB / 0.6464 GB, free: 15.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/0.583, allocations: 3.106 MB / 0.6494 GB, free: 11.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.5831, allocations: 4 kB / 0.6494 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002258/0.5853, allocations: 1.277 MB / 0.6506 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.5854, allocations: 16.62 kB / 0.6507 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.5854, allocations: 16 kB / 0.6507 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/0.5872, allocations: 452.5 kB / 0.6511 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.5878, allocations: 191.7 kB / 0.6513 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.5892, allocations: 1.116 MB / 0.6524 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.5899, allocations: 36 kB / 0.6524 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.59, allocations: 96.03 kB / 0.6525 GB, free: 8.621 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: $DER.V2.medium.p = 0.0. 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 (101): * Single equations (assignments): 100 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004717/0.5905, allocations: 302.7 kB / 0.6528 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.5907, allocations: 83.05 kB / 0.6529 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.5929, allocations: 1.208 MB / 0.654 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5929, allocations: 7.984 kB / 0.6541 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5929, allocations: 7.875 kB / 0.6541 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5929, allocations: 4 kB / 0.6541 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.5961, allocations: 1.978 MB / 0.656 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5962, allocations: 0 / 0.656 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.5965, allocations: 95.83 kB / 0.6561 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.5979, allocations: 288.6 kB / 0.6564 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.598, allocations: 31.98 kB / 0.6564 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009542/0.599, allocations: 0.8355 MB / 0.6572 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.599, allocations: 8.031 kB / 0.6572 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.601, allocations: 1.139 MB / 0.6583 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.6016, allocations: 212.1 kB / 0.6585 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.6018, allocations: 12 kB / 0.6585 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.6023, allocations: 27.98 kB / 0.6586 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.6024, allocations: 48.5 kB / 0.6586 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.6026, allocations: 67.97 kB / 0.6587 GB, free: 2.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006802/0.6033, allocations: 475 kB / 0.6591 GB, free: 1.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.6033, allocations: 0 / 0.6591 GB, free: 1.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001513/0.6048, allocations: 347.9 kB / 0.6595 GB, free: 1.246 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.003456/0.6083, allocations: 1.946 MB / 0.6614 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.61, allocations: 0.7932 MB / 0.6621 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.61, allocations: 3.859 kB / 0.6621 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.6108, allocations: 338.9 kB / 0.6625 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.6127, allocations: 415.8 kB / 0.6629 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.6242, allocations: 7.588 MB / 0.6703 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.6249, allocations: 0.9908 MB / 0.6712 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00127/0.6262, allocations: 0.5623 MB / 0.6718 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/0.6268, allocations: 343.3 kB / 0.6721 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.6268, allocations: 4 kB / 0.6721 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06033/0.6871, allocations: 29.46 MB / 0.7009 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.52, allocations: 16.8 kB / 0.7009 GB, free: 6.559 MB / 0.5294 GB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)