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.005813/0.005814, allocations: 102.6 kB / 15.73 MB, free: 5.961 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.001157/0.001157, allocations: 194.9 kB / 16.68 MB, free: 5.883 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.252/1.252, allocations: 222.9 MB / 240.4 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.002548/0.002548, allocations: 0.5783 MB / 291.1 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 401.9 MB, free: 32.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08512, allocations: 49.58 MB / 451.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.3873/0.4725, allocations: 179.3 MB / 0.6161 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004914/0.4775, allocations: 3.173 MB / 0.6192 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.478, allocations: 23.81 kB / 0.6192 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.4789, allocations: 401.5 kB / 0.6196 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.4821, allocations: 1.589 MB / 0.6211 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.4845, allocations: 1.113 MB / 0.6222 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.4867, allocations: 2.396 MB / 0.6245 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007384/0.4875, allocations: 0.5918 MB / 0.6251 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.4889, allocations: 1.008 MB / 0.6261 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008458/0.4897, allocations: 0.7278 MB / 0.6268 GB, free: 4.191 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.4899, allocations: 80 kB / 0.6269 GB, free: 4.113 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.4917, allocations: 1.022 MB / 0.6279 GB, free: 3.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.4921, allocations: 319.1 kB / 0.6282 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.4926, allocations: 497.8 kB / 0.6287 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.4947, allocations: 1.734 MB / 0.6304 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4948, allocations: 0 / 0.6304 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4948, allocations: 3.938 kB / 0.6304 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4948, allocations: 0 / 0.6304 GB, free: 0.5469 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.00239/0.4972, allocations: 1.298 MB / 0.6316 GB, free: 15.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4972, allocations: 15.89 kB / 0.6317 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.4974, allocations: 130.5 kB / 0.6318 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.4984, allocations: 166.8 kB / 0.6319 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000877/0.4993, allocations: 0.5859 MB / 0.6325 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.4994, allocations: 184.8 kB / 0.6327 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4996, allocations: 68 kB / 0.6327 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.501, allocations: 1.092 MB / 0.6338 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.501, allocations: 3.938 kB / 0.6338 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.5011, allocations: 32 kB / 0.6338 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.5012, allocations: 37.3 kB / 0.6339 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.5023, allocations: 0.7854 MB / 0.6347 GB, free: 11.93 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.005257/0.5076, allocations: 5.702 MB / 0.6402 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.5082, allocations: 396.7 kB / 0.6406 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.5085, allocations: 220.4 kB / 0.6408 GB, free: 5.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.5087, allocations: 267.3 kB / 0.6411 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.5087, allocations: 42.56 kB / 0.6411 GB, free: 4.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.543e-06/0.5088, allocations: 0 / 0.6411 GB, free: 4.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=55): time 0.006315/0.5151, allocations: 2.261 MB / 0.6433 GB, free: 2.535 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.5151, allocations: 115.3 kB / 0.6434 GB, free: 2.398 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.5158, allocations: 0.6758 MB / 0.6441 GB, free: 1.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.5159, allocations: 37.7 kB / 0.6441 GB, free: 1.672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.5162, allocations: 466 kB / 0.6446 GB, free: 1.211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.5163, allocations: 209.1 kB / 0.6448 GB, free: 1.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.5166, allocations: 230.7 kB / 0.645 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5167, allocations: 386.8 kB / 0.6454 GB, free: 396 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.5172, allocations: 278.5 kB / 0.6456 GB, free: 116 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.5179, allocations: 0.7669 MB / 0.6464 GB, free: 15.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.5327, allocations: 3.106 MB / 0.6494 GB, free: 11.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.5328, allocations: 8 kB / 0.6494 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002039/0.5348, allocations: 1.268 MB / 0.6506 GB, free: 10.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5349, allocations: 12.62 kB / 0.6507 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.5349, allocations: 20.84 kB / 0.6507 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.5366, allocations: 464.5 kB / 0.6511 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.5371, allocations: 183.7 kB / 0.6513 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.5384, allocations: 1.108 MB / 0.6524 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.5391, allocations: 48.03 kB / 0.6524 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.5392, allocations: 99.92 kB / 0.6525 GB, free: 8.527 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.0004303/0.5396, allocations: 294.7 kB / 0.6528 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.5398, allocations: 79.06 kB / 0.6529 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.5419, allocations: 1.207 MB / 0.6541 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.542, allocations: 8 kB / 0.6541 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.542, allocations: 3.938 kB / 0.6541 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.542, allocations: 0 / 0.6541 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.5448, allocations: 1.989 MB / 0.656 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5448, allocations: 4 kB / 0.656 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.5451, allocations: 91.89 kB / 0.6561 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.5465, allocations: 288.4 kB / 0.6564 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.5466, allocations: 27.98 kB / 0.6564 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009573/0.5476, allocations: 0.8472 MB / 0.6572 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5476, allocations: 0 / 0.6572 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.5496, allocations: 1.135 MB / 0.6583 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.55, allocations: 216.1 kB / 0.6585 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.5502, allocations: 19.98 kB / 0.6586 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.5507, allocations: 16 kB / 0.6586 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.5508, allocations: 48.5 kB / 0.6586 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5509, allocations: 67.97 kB / 0.6587 GB, free: 1.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005657/0.5514, allocations: 471 kB / 0.6591 GB, free: 1.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5514, allocations: 0 / 0.6591 GB, free: 1.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001101/0.5526, allocations: 347.9 kB / 0.6595 GB, free: 1.168 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.003194/0.5558, allocations: 1.954 MB / 0.6614 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.5573, allocations: 0.7893 MB / 0.6621 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5573, allocations: 0 / 0.6621 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/0.558, allocations: 339.3 kB / 0.6625 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.5597, allocations: 420.6 kB / 0.6629 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.5703, allocations: 7.588 MB / 0.6703 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.5709, allocations: 0.9907 MB / 0.6713 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00119/0.5721, allocations: 0.5688 MB / 0.6718 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/0.5727, allocations: 343.3 kB / 0.6721 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of SimCode: time 1.493e-06/0.5728, allocations: 0 / 0.6721 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05657/0.6293, allocations: 30.17 MB / 0.7016 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.63, allocations: 10.08 kB / 0.7016 GB, free: 5.77 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)