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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001151/0.001151, allocations: 191.3 kB / 16.14 MB, free: 6.734 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002346/0.002347, allocations: 0.566 MB / 290.5 MB, free: 1.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 351 MB, free: 2.656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07397/0.07521, allocations: 49.59 MB / 400.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4514/0.5267, allocations: 177.6 MB / 0.5647 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.5315, allocations: 3.364 MB / 0.5679 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009029/0.5325, allocations: 30.06 kB / 0.568 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.5334, allocations: 345.8 kB / 0.5683 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.5368, allocations: 1.447 MB / 0.5697 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.5391, allocations: 0.9972 MB / 0.5707 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.5423, allocations: 3.41 MB / 0.574 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.5431, allocations: 0.5197 MB / 0.5745 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.5447, allocations: 0.8766 MB / 0.5754 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/0.5455, allocations: 0.7746 MB / 0.5761 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.5457, allocations: 44.59 kB / 0.5762 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.5473, allocations: 0.9049 MB / 0.5771 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.5476, allocations: 294.3 kB / 0.5774 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.548, allocations: 469.2 kB / 0.5778 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.5494, allocations: 1.709 MB / 0.5795 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5494, allocations: 0 / 0.5795 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5494, allocations: 0 / 0.5795 GB, free: 1.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.5494, allocations: 2.906 kB / 0.5795 GB, free: 1.129 MB / 430.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.00198/0.5514, allocations: 1.295 MB / 0.5807 GB, free: 16.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.5514, allocations: 12.14 kB / 0.5807 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.5516, allocations: 126.3 kB / 0.5809 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009303/0.5525, allocations: 171.1 kB / 0.581 GB, free: 16.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.5531, allocations: 0.5578 MB / 0.5816 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.5533, allocations: 178 kB / 0.5817 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.5534, allocations: 77.3 kB / 0.5818 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5546, allocations: 1.099 MB / 0.5829 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.5546, allocations: 5.406 kB / 0.5829 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.5547, allocations: 31.62 kB / 0.5829 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.5547, allocations: 44 kB / 0.583 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.5557, allocations: 0.7799 MB / 0.5837 GB, free: 15.65 MB / 446.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.004406/0.5601, allocations: 5.708 MB / 0.5893 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.5607, allocations: 386.2 kB / 0.5897 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.561, allocations: 216.5 kB / 0.5899 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.5612, allocations: 268.5 kB / 0.5901 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.5612, allocations: 44.55 kB / 0.5902 GB, free: 11.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 1.864e-06/0.5612, allocations: 1.812 kB / 0.5902 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005918/0.5671, allocations: 2.254 MB / 0.5924 GB, free: 10.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.5672, allocations: 111.8 kB / 0.5925 GB, free: 10.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.5678, allocations: 0.6818 MB / 0.5932 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.5678, allocations: 38.8 kB / 0.5932 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.568, allocations: 459 kB / 0.5936 GB, free: 10.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.5682, allocations: 201.7 kB / 0.5938 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.5684, allocations: 232.8 kB / 0.594 GB, free: 10 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5685, allocations: 390.8 kB / 0.5944 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.5689, allocations: 279.2 kB / 0.5947 GB, free: 9.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.5695, allocations: 0.7681 MB / 0.5954 GB, free: 9.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01473/0.5843, allocations: 3.106 MB / 0.5985 GB, free: 8.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5843, allocations: 9.438 kB / 0.5985 GB, free: 8.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00162/0.5859, allocations: 1.264 MB / 0.5997 GB, free: 8.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.586, allocations: 17.81 kB / 0.5997 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.586, allocations: 15.78 kB / 0.5997 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.5876, allocations: 472.3 kB / 0.6002 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.5881, allocations: 187.1 kB / 0.6004 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.5892, allocations: 1.12 MB / 0.6015 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.5898, allocations: 61.5 kB / 0.6015 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/0.5899, allocations: 99.8 kB / 0.6016 GB, free: 7.621 MB / 446.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.0003321/0.5902, allocations: 291.6 kB / 0.6019 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5903, allocations: 78.66 kB / 0.602 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.5924, allocations: 1.212 MB / 0.6032 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5924, allocations: 10.72 kB / 0.6032 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5924, allocations: 0 / 0.6032 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5924, allocations: 4.375 kB / 0.6032 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.595, allocations: 1.978 MB / 0.6051 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.595, allocations: 5.203 kB / 0.6051 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.5953, allocations: 96.44 kB / 0.6052 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.5966, allocations: 286.8 kB / 0.6055 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.5966, allocations: 26.23 kB / 0.6055 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007495/0.5974, allocations: 0.8417 MB / 0.6063 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5974, allocations: 2.906 kB / 0.6063 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.599, allocations: 1.129 MB / 0.6074 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.5993, allocations: 218.4 kB / 0.6076 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.5994, allocations: 15.27 kB / 0.6076 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.5998, allocations: 40.66 kB / 0.6077 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.5999, allocations: 59.48 kB / 0.6077 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.6, allocations: 61.91 kB / 0.6078 GB, free: 5.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004072/0.6004, allocations: 473 kB / 0.6083 GB, free: 5.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6004, allocations: 0 / 0.6083 GB, free: 5.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009292/0.6014, allocations: 356.3 kB / 0.6086 GB, free: 5.484 MB / 446.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.002544/0.6039, allocations: 1.969 MB / 0.6105 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.6051, allocations: 0.7749 MB / 0.6113 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6051, allocations: 0 / 0.6113 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.6057, allocations: 340.5 kB / 0.6116 GB, free: 4.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.6074, allocations: 391.7 kB / 0.612 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.6159, allocations: 8.145 MB / 0.6199 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.6164, allocations: 0.9886 MB / 0.6209 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001284/0.6177, allocations: 0.5598 MB / 0.6214 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.6182, allocations: 349.5 kB / 0.6218 GB, free: 11.72 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6182, allocations: 1.203 kB / 0.6218 GB, free: 11.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.97/6.588, allocations: 28.58 MB / 0.6497 GB, free: 15.57 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/6.588, allocations: 361.9 kB / 0.65 GB, free: 15.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/9.226, allocations: 7.859 kB / 0.65 GB, free: 15.18 MB / 494.1 MB (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)