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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 196.5 kB / 16.79 MB, free: 6.809 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.439/1.439, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.002846/0.002846, allocations: 0.5737 MB / 291.2 MB, free: 1.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 55.91 kB / 351.5 MB, free: 2.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 49.6 MB / 401.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.6735/0.7789, allocations: 177.6 MB / 0.5652 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006274/0.7853, allocations: 3.357 MB / 0.5685 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.7867, allocations: 28.69 kB / 0.5685 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.7881, allocations: 351.7 kB / 0.5688 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.7935, allocations: 1.451 MB / 0.5703 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.7972, allocations: 0.9848 MB / 0.5712 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004895/0.8021, allocations: 3.416 MB / 0.5746 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.8033, allocations: 0.5208 MB / 0.5751 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.8063, allocations: 0.8769 MB / 0.5759 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.8087, allocations: 0.7735 MB / 0.5767 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.809, allocations: 44 kB / 0.5767 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.8125, allocations: 0.9141 MB / 0.5776 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.813, allocations: 291 kB / 0.5779 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009102/0.8139, allocations: 469.4 kB / 0.5783 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.8161, allocations: 1.272 MB / 0.5796 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8161, allocations: 0 / 0.5796 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.8162, allocations: 2.125 kB / 0.5796 GB, free: 1.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.8162, allocations: 0 / 0.5796 GB, free: 1.141 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.002996/0.8192, allocations: 1.291 MB / 0.5808 GB, free: 16.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8192, allocations: 14.16 kB / 0.5809 GB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.8203, allocations: 171.4 kB / 0.581 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009141/0.8213, allocations: 0.5607 MB / 0.5816 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.8214, allocations: 174.5 kB / 0.5817 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.8216, allocations: 81.38 kB / 0.5818 GB, free: 16.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.8231, allocations: 1.101 MB / 0.5829 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.8232, allocations: 2.906 kB / 0.5829 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-05/0.8233, allocations: 39.84 kB / 0.5829 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.8233, allocations: 33.73 kB / 0.583 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.8245, allocations: 0.7844 MB / 0.5837 GB, free: 15.7 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.006537/0.8311, allocations: 5.705 MB / 0.5893 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.8318, allocations: 396.3 kB / 0.5897 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.8322, allocations: 219.5 kB / 0.5899 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.8325, allocations: 262.7 kB / 0.5901 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.8325, allocations: 45.02 kB / 0.5902 GB, free: 11.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/0.8325, allocations: 2.906 kB / 0.5902 GB, free: 11.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.007681/0.8402, allocations: 2.246 MB / 0.5924 GB, free: 10.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.8404, allocations: 112 kB / 0.5925 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.8413, allocations: 0.6788 MB / 0.5931 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.124e-05/0.8414, allocations: 37.14 kB / 0.5932 GB, free: 10.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.8417, allocations: 463.2 kB / 0.5936 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.8419, allocations: 203.1 kB / 0.5938 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.8422, allocations: 229.2 kB / 0.594 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.8424, allocations: 389.5 kB / 0.5944 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.8429, allocations: 284.7 kB / 0.5947 GB, free: 9.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.8437, allocations: 0.7659 MB / 0.5954 GB, free: 9.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/0.8602, allocations: 3.116 MB / 0.5985 GB, free: 8.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.8602, allocations: 5.406 kB / 0.5985 GB, free: 8.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002121/0.8624, allocations: 1.263 MB / 0.5997 GB, free: 8.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.8624, allocations: 13.44 kB / 0.5997 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.8624, allocations: 15.25 kB / 0.5997 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.8644, allocations: 476 kB / 0.6002 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.8649, allocations: 186.2 kB / 0.6004 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.8663, allocations: 1.117 MB / 0.6015 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/0.8672, allocations: 64.81 kB / 0.6015 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.8673, allocations: 95.53 kB / 0.6016 GB, free: 7.668 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.0004987/0.8678, allocations: 291.8 kB / 0.6019 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.868, allocations: 80.86 kB / 0.602 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.8703, allocations: 1.213 MB / 0.6031 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.8703, allocations: 4.375 kB / 0.6032 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.8703, allocations: 2.969 kB / 0.6032 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8703, allocations: 6.047 kB / 0.6032 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.8738, allocations: 1.981 MB / 0.6051 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.8738, allocations: 0 / 0.6051 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.8742, allocations: 91.47 kB / 0.6052 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.8757, allocations: 287.9 kB / 0.6055 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.126e-05/0.8758, allocations: 30.77 kB / 0.6055 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009881/0.8768, allocations: 0.8467 MB / 0.6063 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8769, allocations: 2.906 kB / 0.6063 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.879, allocations: 1.126 MB / 0.6074 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.8795, allocations: 218.6 kB / 0.6076 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.8797, allocations: 22.81 kB / 0.6076 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.8803, allocations: 38.59 kB / 0.6077 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8804, allocations: 50.25 kB / 0.6077 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.8805, allocations: 68.42 kB / 0.6078 GB, free: 5.645 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006269/0.8812, allocations: 474.1 kB / 0.6082 GB, free: 5.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8812, allocations: 0 / 0.6082 GB, free: 5.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001454/0.8826, allocations: 342.8 kB / 0.6086 GB, free: 5.531 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.001107/0.8837, allocations: 407.6 kB / 0.609 GB, free: 5.379 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.8855, allocations: 0.7763 MB / 0.6097 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8855, allocations: 2.906 kB / 0.6097 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007867/0.8863, allocations: 338.3 kB / 0.61 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.8884, allocations: 397.7 kB / 0.6104 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.8914, allocations: 1.951 MB / 0.6123 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.892, allocations: 0.9807 MB / 0.6133 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.8925, allocations: 149.4 kB / 0.6134 GB, free: 3.156 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8925, allocations: 0 / 0.6134 GB, free: 3.156 MB / 446.1 MB Notification: Performance of Templates: time 0.02765/0.9202, allocations: 18.34 MB / 0.6313 GB, free: 1.453 MB / 462.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)